Project: titanium
Issue TIMOB-20502: Using Android shortcut to start new activity fails to detect Alloy.
h6.Issue Description We have created a sample app that has a button which creates a shortcut. That shortcut is supposed to open "test.js" controller. Two scenarios are possible here - an app is already running when the shortcut is pressed or app is being started via shortcut. The first scenario works exactly the way we desire. In the second scenario, it seems that Alloy that is being loaded is not the same as the one we define. To showcase it we have put a label in test.js controller which is supposed to have a value of "TEST STRING" in the successful scenario. h6.Steps to Reproduce: # Run attached sample code. # Press "Hello World" button to create a shortcut. # Pause the app via home button # Click shortcut. Test controller should load and a string with a value of "TEST STRING" is present. # Kill the app # Restart the app via shortcut # Observe empty string h6.Expected Behavior* - Being able to open different controllers from sample.js and being able to load proper Alloy instance
Story points: 5