my problem cordova sendjavascript deprecated , not working.
if (gecb != null && gwebview != null) { //gwebview.loadurl("alert('nmk');"); //gwebview.sendjavascript(_d); //gwebview.loadurl(_d); // pluginresult dataresult = new // pluginresult(pluginresult.status.ok, _d); // callbackcontext.sendpluginresult(dataresult); // gwebview.sendpluginresult(dataresult, _d); gwebview.sendjavascript("javascript:callbackfunction()"); gwebview.sendjavascript("alert('nmk');"); } function callbackfunction(){ alert(); }
its show alert "nmk",not working callbackfunction().
and cordovawebview.loadurl not working me. don't know happening other way do. please me.
Comments
Post a Comment