Handling Inbound APP Link Titanium Studio Iphone

I am using the Titanium facebook module to show the apprequests dialog. I could send an application request, and when I get to the facebook application and delete the notification, I can enter my application.

But how to handle the incoming URL? I looked at the link Deep link with requests

which shows how to do this with Objective C. Any help on how to implement it with Titanium Studio will be greatly appreciated. Thanks.

+4
source share
1 answer

You can get the arguments using this snippet:

var cmd = Ti.App.getArguments(); if ( (getTypeOf(cmd) == 'object') && cmd.hasOwnProperty('url') ) { Ti.App.launchURL = cmd.url; Ti.API.info( 'Launched with url = ' + Ti.App.launchURL ); } 

this is called URLScheme if you are looking for online documents!

Source: http://developer.appcelerator.com/question/120393/custom-url-scheme---iphone--android

+1
source

Source: https://habr.com/ru/post/1489846/


All Articles