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

Damian Hagge commented on CB-2812:
----------------------------------

I've isolated this issue to our upgrade from phonegap 2.1 to phonegap 2.3 - the 
same code worked previous to our upgrade and was broken after the upgrade.  I 
suspect that some change in the way in which the UIWebView is being 
launched/rendered is causing this issue to occur.

Also if you see the post on 
https://groups.google.com/forum/?fromgroups=#!msg/phonegap/oDOAwKjmpRQ/QfcWp9B3h5sJ
 others are seeing this same behavior with that upgrade.

As a side note: interestingly if you do a jsfiddle on iPhone safari and 
alert(window.navigator.javaEnabled()) it returns false (i.e. does not return 
TypeError).

                
> navigator.javaEnabled() raises TypeError on iOS
> -----------------------------------------------
>
>                 Key: CB-2812
>                 URL: https://issues.apache.org/jira/browse/CB-2812
>             Project: Apache Cordova
>          Issue Type: Bug
>            Reporter: Damian Hagge
>            Priority: Critical
>         Attachments: javaEnabled.png
>
>
> After upgrading to cordova 2.5.0 calls to navigator.javaEnabled() raise 
> TypeError on iOS.  I specifically tested on iOS 6.0 both device and simulator.
> It's possible that this issue may exist in previous versions back to 2.2.0 
> (https://groups.google.com/forum/?fromgroups=#!msg/phonegap/oDOAwKjmpRQ/QfcWp9B3h5sJ)
>  however it definitely does exist in 2.5.0.
> Raised with priority critical since it's a straight up API break.

--
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

Reply via email to