{ "id": "172352", "key": "TIMOB-26610", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2021-07-29T21:05:25.000+0000", "created": "2018-09-26T15:03:33.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [ { "id": "59309", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "174230", "key": "TIMOB-28514", "fields": { "summary": " iOS: Ti.App.getArguments() crashes app on cold start when launched via universal link", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-07-29T21:05:25.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": "Titanium.App.getArguments(); at SDK 7.4.1 appears to have the following bug:", "attachment": [ { "id": "65650", "filename": "Simulator Screen Shot - iPhone XS - 2018-09-26 at 16.46.20.png", "author": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-09-26T15:01:47.000+0000", "size": 307875, "mimeType": "image/png" } ], "flagged": false, "summary": "Titanium.App.getArguments(); at SDK 7.4.1 appears to have the following bug:", "creator": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "442078", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~miniman42] May this be related to your push changes? I remember the payload is also stored in the launch-options, which may be the bug. [~andreas.pingas] See TIMOB-26399 for details. Can you confirm this does not happen in 7.4.0?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-09-26T17:54:17.000+0000", "updated": "2018-09-26T17:54:17.000+0000" }, { "id": "442081", "author": { "name": "miniman42", "key": "miniman42", "displayName": "Greg", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'll check the code and see, not sure this is related as I have not experienced similar issues in my quite extensive testing, but perhaps it's down to a difference in payloads.", "updateAuthor": { "name": "miniman42", "key": "miniman42", "displayName": "Greg", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-09-26T18:06:03.000+0000", "updated": "2018-09-26T18:06:03.000+0000" }, { "id": "442118", "author": { "name": "miniman42", "key": "miniman42", "displayName": "Greg", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Can't see how its related tbh. I do have an enhancement coming for TIMOB-26399 though.", "updateAuthor": { "name": "miniman42", "key": "miniman42", "displayName": "Greg", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-09-27T15:19:07.000+0000", "updated": "2018-09-27T15:19:07.000+0000" }, { "id": "442238", "author": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Appearing since 7.4.0 +", "updateAuthor": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-10-03T05:59:06.000+0000", "updated": "2018-10-03T06:00:29.000+0000" }, { "id": "444055", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~miniman42] [~andreas.pingas] Could you provide the full stack trace?", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-29T18:15:16.000+0000", "updated": "2018-11-29T18:15:16.000+0000" }, { "id": "444089", "author": { "name": "miniman42", "key": "miniman42", "displayName": "Greg", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Never had the issue Gary. Don't think it was related to my PR.", "updateAuthor": { "name": "miniman42", "key": "miniman42", "displayName": "Greg", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-30T10:31:41.000+0000", "updated": "2018-11-30T10:31:41.000+0000" }, { "id": "444098", "author": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "body": "\r\n{code:java}\r\n[ERROR] : Script Error {\r\n[ERROR] : column = 38;\r\n[ERROR] : line = 83;\r\n[ERROR] : message = \"-[NSUserActivity boundBridge:withKrollObject:]: unrecognized selector sent to instance 0x28375bfc0\";\r\n[ERROR] : nativeStack = \"3 CoreFoundation 0x000000018d3c17b8 + 1412\\n4 CoreFoundation 0x000000018d3c345c _CF_forwarding_prep_0 + 92\\n5 MY 0x00000001027e09e0 MY + 84448\\n6 MY 0x00000001027e0b44 MY + 84804\\n7 MY 0x00000001029eee94 MY + 2240148\\n8 MY 0x00000001029eed20 MY + 2239776\\n9 MY 0x00000001029edf88 MY + 2236296\\n10 MY 0x00000001029ee590 MY + 2237840\\n11 MY 0x00000001029edf88 MY + 2236296\\n12 MY 0x00000001029ee590 MY + 2237840\\n13 MY 0x00000001027edbe4 MY + 138212\\n14 MY 0x00000001027efba4 MY + 146340\\n15 MY 0x00000001027eb2c4 MY + 127684\\n16 JavaScriptCore 0x0000000194724af8 + 348\\n17 JavaScriptCore 0x0000000194e0ec44 + 352\\n18 JavaScriptCore 0x00000001946fbd78 + 29992\\n19 JavaScriptCore 0x00000001946fbd8c + 30012\";\r\n[ERROR] : sourceURL = \"file:///var/containers/Bundle/Application/597B15D5-294F-4BCB-898B-9E011212D558/MY.app/src/modules/handleurl.js\";\r\n[ERROR] : stack = \" at [native code]\\n at createHandleURL(/src/modules/handleurl.js:83:38)\\n at (/app.js:466:60)\\n at global code(/app.js:483:70)\\n at require@[native code]\\n at (/ti.main.js:27:8)\\n at loadAsync(/ti.internal/bootstrap.loader.js:148:186)\\n at global code(/ti.main.js:24:52)\";\r\n[ERROR] : toJSON = \"\";\r\n[ERROR] : }\r\n[ERROR] : Script Error Module \"app.js\" failed to leave a valid exports object\r\n[ERROR] : ErrorController is up. ABORTING open\r\n{code}\r\n", "updateAuthor": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-30T13:12:32.000+0000", "updated": "2018-11-30T13:12:55.000+0000" }, { "id": "444099", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Looks like an issue when the app is launched from a user activity (Ti.App.iOS.UserActivity) that needs to be removed from the launch options or be mapped to a serializable type.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-11-30T13:28:26.000+0000", "updated": "2018-11-30T13:28:26.000+0000" }, { "id": "444100", "author": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{code:java}\r\nvar searchableIndex = Ti.App.iOS.createSearchableIndex();\r\n\r\nif (searchableIndex.isSupported()) {\r\n\t\r\n\tvar searchItems = [];\r\n\t\t\r\n\tvar itemAttr = Ti.App.iOS.createSearchableItemAttributeSet({\r\n\t itemContentType:Ti.App.iOS.UTTYPE_IMAGE,\r\n\t\ttitle:'Title',\r\n\t\tcontentDescription:'Description',\r\n\t\tkeywords:['test']\r\n\t});\r\n\t\t\t\t\r\n\tvar item = Ti.App.iOS.createSearchableItem({\r\n\t uniqueIdentifier:'test',\r\n\t domainIdentifier:'com.test',\t\r\n\t\tattributeSet:itemAttr\r\n\t});\r\n\t\r\n\tsearchItems.push(item);\r\n\r\n\tsearchableIndex.addToDefaultSearchableIndex(searchItems, function(e) {\r\n\t\t\r\n\t});\r\n\t\t\t\t\t\r\n}\r\n\r\nTi.API.info(Titanium.App.getArguments());\r\n{code}\r\n\r\n\r\n{code:java}\r\n[ERROR] : Script Error {\r\n[ERROR] : column = 38;\r\n[ERROR] : line = 28;\r\n[ERROR] : message = \"-[NSUserActivity boundBridge:withKrollObject:]: unrecognized selector sent to instance 0x2810c4da0\";\r\n[ERROR] : nativeStack = \"3 CoreFoundation 0x000000018d3c17b8 + 1412\\n4 CoreFoundation 0x000000018d3c345c _CF_forwarding_prep_0 + 92\\n5 MY 0x000000010067c9e0 MY + 84448\\n6 MY 0x000000010067cb44 MY + 84804\\n7 MY 0x000000010088ae94 MY + 2240148\\n8 MY 0x000000010088ad20 MY + 2239776\\n9 MY 0x0000000100889f88 MY + 2236296\\n10 MY 0x000000010088a590 MY + 2237840\\n11 MY 0x0000000100889f88 MY + 2236296\\n12 MY 0x000000010088a590 MY + 2237840\\n13 MY 0x0000000100689be4 MY + 138212\\n14 MY 0x000000010068bba4 MY + 146340\\n15 MY 0x00000001006872c4 MY + 127684\\n16 JavaScriptCore 0x0000000194724af8 + 348\\n17 JavaScriptCore 0x0000000194e0ec44 + 352\\n18 JavaScriptCore 0x00000001946fbd78 + 29992\\n19 JavaScriptCore 0x00000001946fbd8c + 30012\";\r\n[ERROR] : sourceURL = \"file:///var/containers/Bundle/Application/95A1F3DD-1BFA-4155-8CBD-25EC816AB24B/MY.app/app.js\";\r\n[ERROR] : stack = \" at [native code]\\n at (/app.js:28:38)\\n at global code(/app.js:29:70)\\n at require@[native code]\\n at (/ti.main.js:27:8)\\n at loadAsync(/ti.internal/bootstrap.loader.js:148:186)\\n at global code(/ti.main.js:24:52)\";\r\n[ERROR] : toJSON = \"\";\r\n[ERROR] : }\r\n[ERROR] : Script Error Module \"app.js\" failed to leave a valid exports object\r\n{code}\r\n\r\n", "updateAuthor": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-30T13:29:17.000+0000", "updated": "2018-11-30T13:35:08.000+0000" }, { "id": "444476", "author": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Are there any news on this? Basically if this is not solved then searchableIndez. will work only when the app runs. When it starts from the beginning then you cannot have the parameters.", "updateAuthor": { "name": "andreas.pingas", "key": "andreas.pingas", "displayName": "Andreas Pingas", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-12-11T12:38:56.000+0000", "updated": "2018-12-11T12:38:56.000+0000" }, { "id": "449498", "author": { "name": "gmst", "key": "gmst", "displayName": "Gabriel S.", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I was able to reproduce this bug (iOS, SDK 7.4.1) and found out another detail.\r\n\r\nIt happens when\r\n\r\n{code:xml}\r\ntrue\r\n{code}\r\n\r\nWhen the app is not running on main thread, everything works fine.\r\n\r\nDoes anyone know whether this got fixed in another version? IMO, it's a critical bug because prevents apps using Hyperloop to fetch URLs when opening up.", "updateAuthor": { "name": "gmst", "key": "gmst", "displayName": "Gabriel S.", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-06-30T20:10:16.000+0000", "updated": "2019-06-30T20:10:16.000+0000" }, { "id": "449617", "author": { "name": "gmst", "key": "gmst", "displayName": "Gabriel S.", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Does anyone know how to use Hyperloop for getting what Titanium.App.getArguments() returns?\r\n\r\nIf there is not any plan to fix this in the foreseeable future, it would be good to have a workaround given that it's a critical bug for apps using Hyperloop along with deep/universal links.\r\n\r\nThanks", "updateAuthor": { "name": "gmst", "key": "gmst", "displayName": "Gabriel S.", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-07-05T11:43:55.000+0000", "updated": "2019-07-05T11:43:55.000+0000" }, { "id": "454015", "author": { "name": "jonesdhtx", "key": "jonesdhtx", "displayName": "David Jones", "active": true, "timeZone": "America/Chicago" }, "body": "We encountered the same issue for iOS when we added universal link support (eg https://ourdomain.com/xyz). The solution for us was to support universal links only and remove support for launching via app links (eg. ourdomain://launch-something/xyz).\r\n\r\nWe would have preferred to be able to support both universal links and the deep link app links so that we could have more direct inter-app launching capabilities. We'll continue to watch this ticket.", "updateAuthor": { "name": "jonesdhtx", "key": "jonesdhtx", "displayName": "David Jones", "active": true, "timeZone": "America/Chicago" }, "created": "2020-02-03T16:16:51.000+0000", "updated": "2020-02-03T16:18:08.000+0000" } ], "maxResults": 13, "total": 13, "startAt": 0 } } }