[TIMOB-19135] Windows: Building to device with ti.cloud errors on launch if encryption is enabled
| GitHub Issue | n/a |
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2015-07-09T23:02:28.000+0000 |
| Affected Version/s | Release 4.1.0 |
| Fix Version/s | Release 4.1.0 |
| Components | Windows |
| Labels | qe-4.1.0 |
| Reporter | Ewan Harris |
| Assignee | Gary Mathews |
| Created | 2015-07-01T22:47:47.000+0000 |
| Updated | 2015-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
| File | Date | Size |
| i8MFQMo.png | 2015-07-01T22:02:44.000+0000 | 85220 |
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...?
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