You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2013/01/11 21:56:13 UTC

[jira] [Comment Edited] (CB-2159) handleOpenURL not called on iOS

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

Shazron Abdullah edited comment on CB-2159 at 1/11/13 8:56 PM:
---------------------------------------------------------------

One way is for CDVViewController to handle the notification CDVPluginHandleOpenURLNotification itself and queue the writing of the JS up for after webViewDidFinishLoad. 

This avoids messy upgrade issues for users, and we can leave existing (BOOL)application:(UIApplication*)application handleOpenURL:(NSURL*)url code in AppDelegate.m as is.
                
      was (Author: shazron):
    One way is for CDVViewController to handle the notification CDVPluginHandleOpenURLNotification itself and queue the writing of the JS up for after webViewDidFinishLoad. 

This avoids messy upgrade issues for users, and we can leave existing BOOL)application:(UIApplication*)application handleOpenURL:(NSURL*)url code in AppDelegate.m as is.
                  
> handleOpenURL not called on iOS
> -------------------------------
>
>                 Key: CB-2159
>                 URL: https://issues.apache.org/jira/browse/CB-2159
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>             Fix For: 2.4.0
>
>
> Idan Gozlan from the ML:
> Ive noticed that handleOpenURL function not called when app is closed and launched by the custom url.
> the function works alright when the app is in background.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira