Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Falling back on PROMPT mode since _cordovaNative is missing" error in older Android SDK versions

I am Developing an Android Application using Cordova-2.2.0, Android sdk I'm using is 4.1 and my application working Fine.

when I tried to test this Application on Android 2.2 and 2.3.3 I'm getting some log indicating like below and and my application page is not opening.

LOG is:

01-02 15:42:08.166: D/CordovaLog(486): Falling back on PROMPT mode since _cordovaNative is missing.
01-02 15:42:08.166: D/CordovaLog(486): file:///android_asset/www/js/ext/cordova-2.2.0.js: Line 1032 : Falling back on PROMPT mode since _cordovaNative is missing.
01-02 15:42:08.166: I/Web Console(486): Falling back on PROMPT mode since _cordovaNative is missing. at file:///android_asset/www/js/ext/cordova-2.2.0.js:1032

I don't know why it is appearing and how to solve it.

like image 830
Theja Avatar asked Jan 02 '13 10:01

Theja


1 Answers

There is nothing to fix. When the PhoneGap framework detects that you are running on a version of Android that does not support the regular way of passing information between the Java and JavaScript code it reverts back to the safer PROMPT mode.

like image 192
Simon MacDonald Avatar answered Oct 13 '22 16:10

Simon MacDonald