[TIMOB-26610] Titanium.App.getArguments(); at SDK 7.4.1 appears to have the following bug:
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2021-07-29T21:05:25.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Andreas Pingas |
Assignee | Joshua Quick |
Created | 2018-09-26T15:03:33.000+0000 |
Updated | 2021-07-29T21:05:25.000+0000 |
Description
Titanium.App.getArguments(); at SDK 7.4.1 appears to have the following bug:
Attachments
File | Date | Size |
---|---|---|
Simulator Screen Shot - iPhone XS - 2018-09-26 at 16.46.20.png | 2018-09-26T15:01:47.000+0000 | 307875 |
[~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?
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.
Can't see how its related tbh. I do have an enhancement coming for TIMOB-26399 though.
Appearing since 7.4.0 +
[~miniman42] [~andreas.pingas] Could you provide the full stack trace?
Never had the issue Gary. Don't think it was related to my PR.
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.
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.
I was able to reproduce this bug (iOS, SDK 7.4.1) and found out another detail. It happens when
When the app is not running on main thread, everything works fine. Does 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.
Does anyone know how to use Hyperloop for getting what Titanium.App.getArguments() returns? If 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. Thanks
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). We 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.