Search code examples
androidandroid-webviewcordova-3

deviceready is not called in Samsung S2 GT I9100


I've installed my app on Samsung S2 GT I9100, but its not working. The problem I figured out is, deviceready of cordova is not been called.

I read some articles, many people faced this problem. But no solution worked for me.

I tried the same app on other devices also it worked (like Moto, Samsung other devices, Asus etc).


Solution

  • The problem is Cordova doesn't support android versions which goes below 5% distribution according to Cordova-Platform-Guide. So you need atleast 4.1+ to continue to use Cordova in your app. Other wise you can switch back to older version of Cordova.

    You can see latest survey of Google's distribution dashboard.