Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6355] iOS: Support handleOpenURL

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2013-07-02T23:40:58.000+0000
Affected Version/sRelease 1.7.5, Release 1.8.0.1
Fix Version/s2013 Sprint 14, 2013 Sprint 14 API
ComponentsiOS
Labelsexalture
ReporterKarol Pomaski
AssigneeIngo Muschenetz
Created2011-11-29T11:28:31.000+0000
Updated2017-03-28T22:54:44.000+0000

Description

New Feature Request

Please add the handleOpenURL functionality so that it would allow you to register the specific url path. Please also add the support for properties for URL Scheme / URL from info.plist so that will be able to register the custom URL schemes. Native iOS tutorial of how it could be accomplished: http://mobile.tutsplus.com/tutorials/iphone/ios-sdk-working-with-url-schemes The final result should be that while inside some .html file we put test it would open the myapp and we will get the input ("test"). That should also work when we are inside the application and using the webview (should trigger the internal event). The Titanium code should look like:
Ti.App.addEventListener("handleOpenURL",function(e){
           alert(e.input);   //would return the input list/array
});

Associated HelpDesk Ticket

http://appc.me/c/APP-228477

Comments

  1. Sabil Rahim 2013-07-02

    This feature is already available through: Ti.APP.getArguments Read documentation for more information. http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.App-method-getArguments If there are questions about using that functionality, please let us know and we'll be happy to assist.
  2. Lee Morris 2017-03-28

    Closing ticket as invalid.

JSON Source