android - Local notification plugin broken after cordova upgrade -
i using this plugin cordova local notification. since cordova 5.0.0 android@4.0.0
released not work anymore. found bug here.
is there way temporarily solve it?
thanks
quick fix modify block starting @ localnotification:492 following: webview.getview().post(new runnable(){ public void run(){ if (build.version.sdk_int >= build.version_codes.kitkat) { webview.sendjavascript(js); } else { webview.loadurl("javascript:" + js); } } });
Comments
Post a Comment