[MOD-2583] ti.crypto: Examples need to be updated
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2020-05-05T14:50:02.000+0000 |
Affected Version/s | Release 9.0.0 |
Fix Version/s | n/a |
Components | n/a |
Labels | 2020-Q2 |
Reporter | Samir Mohammed |
Assignee | Aakash Jain |
Created | 2020-02-11T11:49:01.000+0000 |
Updated | 2020-05-05T14:50:02.000+0000 |
Description
ti.crypto includes
ti.include
which has now been removed in titanium and replaced with .require
.
[ERROR] TiExceptionHandler: (main) [1540,1540] /app.js:23
[INFO] I/ti.crypto.app: Waiting for a blocking GC ProfileSaver
[ERROR] TiExceptionHandler: Ti.include('ui.js');
[ERROR] TiExceptionHandler: ^
[ERROR] TiExceptionHandler: TypeError: Ti.include is not a function
[ERROR] TiExceptionHandler: at /app.js:23:4
[ERROR] TiExceptionHandler: at Module._runScript (ti:/module.js:587:9)
[ERROR] TiExceptionHandler: at Module.load (ti:/module.js:106:7)
[ERROR] TiExceptionHandler: at Module.loadJavascriptText (ti:/module.js:436:9)
[ERROR] TiExceptionHandler: at Module.loadAsFile (ti:/module.js:488:15)
[ERROR] TiExceptionHandler: at Module.loadAsFileOrDirectory (ti:/module.js:410:20)
[ERROR] TiExceptionHandler: at Module.require (ti:/module.js:239:23)
*+Test Steps:+*
*NOTE:** iOS example will also need to be updated as it also uses
ti.includes
PR: https://github.com/appcelerator-modules/ti.crypto/pull/13
[~jvennemann] : can you kindly review this PR: https://github.com/appcelerator-modules/ti.crypto/pull/13
*Closing ticket* Verified using the build from https://github.com/appcelerator-modules/ti.crypto/releases/tag/v5.0.0-android.