public void run() {
                cordovaWebView.loadUrl("javascript:" + js);
            }
Use this instead of deprecated sendJavascript

@param js JS code snippet as string.
src/android/LocalNotification.java