android - Can't get appView after Update to cordova 5.1 from 3.4 -
i updated app cordova 5.1 , unable make web request js.
the problem during compiling inside oncreate function of class extends cordovaactivity
i used this
super.appview.getsettings().setappcacheenabled(false) now says cast it... tried (webview)super.appview app crashed illegal cast
i read this link , tried same (webview)super.appview.getengine().getview() still not able make web request.... on ios/desktop chrome works fine nothing wrong in js code
you have webview cordova engine.
webview webview = (webview) appview.getengine().getview();
Comments
Post a Comment