{ "id": "174718", "key": "MOD-2583", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10034", "key": "MOD", "name": "Appcelerator Modules", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-05-05T14:50:02.000+0000", "created": "2020-02-11T11:49:01.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "2020-Q2" ], "versions": [ { "id": "20952", "name": "Release 9.0.0", "archived": false, "released": false } ], "issuelinks": [ { "id": "58303", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "174890", "key": "MOD-2594", "fields": { "summary": "iOS: \"ti.crypto\" Example needs updating", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "58346", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "174974", "key": "MOD-2615", "fields": { "summary": "ti.crypto: Example UI need to be updated for android ", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "aajain", "key": "aajain", "displayName": "Aakash Jain", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-05-05T14:50:02.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "ti.crypto includes {{ti.include}} which has now been removed in titanium and replaced with {{.require}}.\r\n{code:java}\r\n[ERROR] TiExceptionHandler: (main) [1540,1540] /app.js:23\r\n[INFO] I/ti.crypto.app: Waiting for a blocking GC ProfileSaver\r\n[ERROR] TiExceptionHandler: Ti.include('ui.js');\r\n[ERROR] TiExceptionHandler: ^\r\n[ERROR] TiExceptionHandler: TypeError: Ti.include is not a function\r\n[ERROR] TiExceptionHandler: at /app.js:23:4\r\n[ERROR] TiExceptionHandler: at Module._runScript (ti:/module.js:587:9)\r\n[ERROR] TiExceptionHandler: at Module.load (ti:/module.js:106:7)\r\n[ERROR] TiExceptionHandler: at Module.loadJavascriptText (ti:/module.js:436:9)\r\n[ERROR] TiExceptionHandler: at Module.loadAsFile (ti:/module.js:488:15)\r\n[ERROR] TiExceptionHandler: at Module.loadAsFileOrDirectory (ti:/module.js:410:20)\r\n[ERROR] TiExceptionHandler: at Module.require (ti:/module.js:239:23)\r\n{code}\r\n\r\n*+Test Steps:+*\r\n# Download module from (https://github.com/appcelerator-modules/ti.crypto/pull/11)\r\n# Build module\r\n# Copy the the code from the example\r\n# Paste the code into a Titanium application\r\n# Add module to app\r\n# Run Titanium application\r\n\r\n*Expected result*\r\nApplication should not crash and run without issues.\r\n\r\n*Actual result*\r\nApplication throws above error\r\n\r\n*To be done:*\r\nUpdate the example code here...\r\nhttps://github.com/appcelerator-modules/ti.crypto/tree/master/android/example\r\n\r\nOr better yet, see if the iOS example code (link below can be used on Android. If so, then move iOS' example code folder to the module's root folder and delete the Android example folder. (It's always best to have cross-platform example code.)\r\nhttps://github.com/appcelerator-modules/ti.crypto/tree/master/ios/example\r\n", "attachment": [], "flagged": false, "summary": "ti.crypto: Examples need to be updated", "creator": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "MacOS Catalina: 10.15.1 beta\r\nXcode: 11.3\r\nJava Version: 1.8.0_131\r\nAndroid NDK: 18.1.5063045\r\nNode.js: 10.16.3\r\n\"NPM\":\"4.2.15-1\",\"CLI\":\"7.1.2-7\"\r\nPixel xl (7.1.1) Emulator\r\nSDK Version: 9.0.0.v20200207114311", "closedSprints": [ { "id": 1190, "state": "closed", "name": "2020 Sprint 7", "startDate": "2020-03-27T16:30:21.583Z", "endDate": "2020-04-10T16:30:00.000Z", "completeDate": "2020-04-10T17:43:27.544Z", "originBoardId": 114 }, { "id": 1192, "state": "closed", "name": "2020 Sprint 8", "startDate": "2020-04-10T18:08:36.092Z", "endDate": "2020-04-24T18:08:00.000Z", "completeDate": "2020-04-24T16:23:30.466Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "454745", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*NOTE:** iOS example will also need to be updated as it also uses {{ti.includes}}", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-03-18T14:33:51.000+0000", "updated": "2020-03-18T14:33:51.000+0000" }, { "id": "454978", "author": { "name": "aajain", "key": "aajain", "displayName": "Aakash Jain", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator-modules/ti.crypto/pull/13", "updateAuthor": { "name": "aajain", "key": "aajain", "displayName": "Aakash Jain", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-06T11:19:00.000+0000", "updated": "2020-04-06T11:19:00.000+0000" }, { "id": "455166", "author": { "name": "aajain", "key": "aajain", "displayName": "Aakash Jain", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~jvennemann] : can you kindly review this PR: https://github.com/appcelerator-modules/ti.crypto/pull/13", "updateAuthor": { "name": "aajain", "key": "aajain", "displayName": "Aakash Jain", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-17T08:14:40.000+0000", "updated": "2020-04-17T08:14:40.000+0000" }, { "id": "455324", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-05-01T11:53:49.000+0000", "updated": "2020-05-01T11:53:49.000+0000" }, { "id": "455325", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-05-01T11:55:22.000+0000", "updated": "2020-05-01T11:55:22.000+0000" }, { "id": "455367", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Closing ticket* Verified using the build from https://github.com/appcelerator-modules/ti.crypto/releases/tag/v5.0.0-android. ", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-05-05T14:49:55.000+0000", "updated": "2020-05-05T14:49:55.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }