Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Master, 3.1.0
-
None
Description
repo cordova-blackberry master#3.1.x has an old cordova.js #3.0.0-0-ge670de9
The problem is that webworksready never gets register and nativeready fires
Also a typo on the compare for "webworksready"
The fix is to update platform.js:
From
if (event.toLowerCase() === 'webworksready') {
needs to be:
if (type.toLowerCase() === 'webworksready') {
Then add the listener
channel.onDOMContentLoaded.subscribe(function () {
document.addEventListener("webworksready", function ()
);
});
will submit pull request