[AC-3845] opening app via external link - index / alloy competing
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2016-06-18T09:39:56.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Alloy |
Labels | n/a |
Reporter | Andy H |
Assignee | Shak Hossain |
Created | 2016-06-13T22:19:12.000+0000 |
Updated | 2016-06-18T09:39:56.000+0000 |
Description
When I tap a link to open the app from notes (external resource) on android, it doesn't open the views I have in index.js based on variables I have in Alloy.js. if I override those alloy.js variables in index.js it works.
For example :
My App has a Alloy.Globals.url = Ti.Android.currentActivity.intent.data; in alloy.js in index.js, my app doesn't work, however, in index.js if I over ride that url with a new one like Alloy.Globals.url = "http://myapp.com/newurl"; it works.
Again, this is only when I click a link to open the app via an external resource (notes, email, browser, etc)
Hello [~arg_java], Thanks for reaching out. However the problem your mentionanint is not entirely clear to us. We would request to add more details and test code and step to reproudce the issue. When we are able to reproduce the issue we will be able to give you workaround. You can have a look at this blog also. [Blog Link](http://fokkezb.nl/2013/08/26/url-schemes-for-ios-and-android-1/) Thanks in advance