You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2014/03/03 23:47:23 UTC

[jira] [Commented] (CB-6149) AppDelegate uses deprecated handleOpenURL

    [ https://issues.apache.org/jira/browse/CB-6149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13918686#comment-13918686 ] 

Shazron Abdullah commented on CB-6149:
--------------------------------------

There are no timelines specified in the doc or header for when this will be removed, in the header it says "/ Will be deprecated at some point, please replace with application:openURL:sourceApplication:annotation:" but its a good idea to upgrade.

The new delegate function has been there since iOS 4.2 so its safe to use for all OS versions we support.

Note when this is fixed we need to document a way for existing projects to "upgrade".

> AppDelegate uses deprecated handleOpenURL
> -----------------------------------------
>
>                 Key: CB-6149
>                 URL: https://issues.apache.org/jira/browse/CB-6149
>             Project: Apache Cordova
>          Issue Type: Task
>          Components: App Hello World, iOS
>    Affects Versions: 3.4.0
>         Environment: iOS
>            Reporter: Angela Fowler
>            Priority: Trivial
>              Labels: core
>
> AppDelegate implements method handleOpenURL which is deprecated.
> https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplicationDelegate_Protocol/Reference/Reference.html#//apple_ref/doc/uid/TP40006786-CH3-SW15
> Will this be replaced with openURL as suggested in iOS docs?
> - (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation
> Also affects CDVViewController and CDVPlugin addObserver for CDVPluginHandleOpenURLNotification?



--
This message was sent by Atlassian JIRA
(v6.2#6252)