Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3845] opening app via external link - index / alloy competing

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2016-06-18T09:39:56.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAlloy
Labelsn/a
ReporterAndy H
AssigneeShak Hossain
Created2016-06-13T22:19:12.000+0000
Updated2016-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)

Comments

  1. Nazmus Salahin 2016-06-14

    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

JSON Source