I am testing out the new support for Application Shortcuts as described here:
I have the shortcuts showing when I press on the app icon - perfect.
However as soon as the app launches it crashes. And the reason is that when the app is launched or resumed I perform some checks for incoming parameters using the Ti.App.getArguments().
And it seems that whenever the app is launched using a App Shortcut, then any subsequent call to Ti.App.getArguments() crashes the app.
The crash error message is:
I will attach a sample project which has a App Shortcut set in the tiapp.xml file as follows:
And a very simple app.js using native code:
Make sure the app is force closed. Then launch the app via the App Shortcut (not the app icon). It will crash with the above error.
Tested on my iPhone 6S Plus.