cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boris Fersing (JIRA)" <>
Subject [jira] [Commented] (CB-7868) Cordova Android@3.6.4 is broken for some Android versions (Javascript)
Date Wed, 12 Nov 2014 17:41:34 GMT


Boris Fersing commented on CB-7868:


1. I built the app using the vanilla cordova.js and I tried to launch it on one of my 2.3.7
devices => the app didn't load properly
2. I applied the patch provided by [~agrieve], rebuilt the app and tried it again on the same
2.3.7 device. The app loaded properly this time

There is also something I didn't notice the first time: Without the patch, I get an error
in the logcat output:
bq. D/CordovaLog( 3770): file:///android_asset/www/cordova.js: Line 512 : Uncaught TypeError:
Cannot set property connection of #<a Navigator> which has only a getter

And I'm not getting that error anymore with the patch.

> Cordova Android@3.6.4 is broken for some Android versions (Javascript)
> ----------------------------------------------------------------------
>                 Key: CB-7868
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, CordovaJS
>    Affects Versions: 4.0.0
>         Environment: Android >= 2.3.6 && <= 4.0.3 
>            Reporter: Boris Fersing
> Cordova 3.6.4 breaks the compatibility with some versions of Android. The app won't load
> I've been able to reproduce the bug on my 2.3.6 and 2.3.7 devices, and according to some
bug reports I found, this might also affect other Android versions <= 4.0.3 but I did not
have the opportunity to test those platforms.
> The bug has been introduced in this commit:
> And the culprit is the Object.defineProperty method that is broken on the platforms I
mentioned above. (see )

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message