I tried adding the event listener in every possible place, inline javascript, $(document).ready
and onDevideReady
function for Cordova, the 'init'
event never seems to fire in this version of Android. The funny thing is that the 'show'
fires just fine...
here's code:
onDeviceReady: function () {
document.addEventListener('show', myOnsen.onShowEvent);
document.addEventListener('init', myOnsen.onInitEvent);
}
The event listeners are identical, and the init still dont fire. I've looked through their documentations, but there is nothing regarding older Android version.
Anyone else who had such problems? How can I solve this?