Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19135] Windows: Building to device with ti.cloud errors on launch if encryption is enabled

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-07-09T23:02:28.000+0000
Affected Version/sRelease 4.1.0
Fix Version/sRelease 4.1.0
ComponentsWindows
Labelsqe-4.1.0
ReporterEwan Harris
AssigneeGary Mathews
Created2015-07-01T22:47:47.000+0000
Updated2015-07-09T23:09:34.000+0000

Description

Description

When building a project to device that includes a module and the assets have been encrypted when the app requires the module the app will throw the error as shown in the attached screenshot. When I try this on emulator with a deploy type of production the app crashes on launch, I believe this issue is the root cause too

Steps to reproduce

1. Create a project, add ti.cloud and require it in 2. Build the project for using appc run -p windows -T wp-device -D development 2. Build the project for using appc run -p windows -T wp-emulator

Actual result

When launching the app, an error will be thrown on startup

Expected result

The app should launch successfully

Attachments

FileDateSize
i8MFQMo.png2015-07-01T22:02:44.000+000085220

Comments

  1. Christopher Williams 2015-07-01

    I'm guessing ti.cloud's json/JS files are unencrypted, and we're trying to decrypt them on load/require? How can we tell if a file is encrypted or not to know...?
  2. Gary Mathews 2015-07-09

  3. Ewan Harris 2015-07-09

    Verified using: Windows 8.1 Appc CLI (NPM): 4.1.0 Appc CLI (Registry): 4.1.0 Ti SDK: 4.1.0.GA When building to device with ti.cloud the app now loads with no issues Closing ticket

JSON Source