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:42:12 UTC
[jira] [Commented] (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=13551500#comment-13551500 ]
Shazron Abdullah commented on CB-2159:
--------------------------------------
The problem here is of timing.
The sequence of events is:
1. Called: (BOOL)application:(UIApplication*)application handleOpenURL:(NSURL*)url
2. Called: (void)webViewDidFinishLoad:(UIWebView*)theWebView
We need to "queue up" the JavaScript write until later. The easy way is to just use a block that is run after a delay for (1), but ideally we want to only run the JavaScript after (2)
> 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