Reputation: 3236
I am getting "deviceready has not fired after 5 seconds.", source: file:///android_asset/www/cordova.js (1185)
while running my cordova android app on genymotion android emulator.
What i have tried so far?
I have installed cordova plugin add org.apache.cordova.file
from CLI
And added <preference name="AndroidPersistentFileLocation" value="Compatibility" />
to my config.xml
file still no luck,I am getting any proper solution for google.
I am new to cordova
What i have learned so far deviceReady
is a function used fired after after booting
of application
.
Upvotes: 0
Views: 2015
Reputation: 306
what is version cordova are you using?
<script>
document.addEventListener("deviceready", onDeviceReady, false);function onDeviceReady(){//alert("ondeviceready");}
</script>
Upvotes: 1