by Marc Rominger.
finally I figured out what was the Problem, all that you have to do is:
Quick fix is to modify the block starting at LocalNotification:492 with the 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);
}
}
});
I also got problems with multiple dex files, fixed this by adding this to /moodlemobiledirectory/platforms/android
configurations { all*.exclude group: 'com.android.support', module: 'support-v4' }
by the way, I have to correct myself, the plugin attribute mentioned above should be
nl.x-services.plugins.launchmyapp --variable URL_SCHEME=moodlemobilelike it is described here
https://docs.moodle.org/dev/Setting_up_your_development_environment_for_Moodle_Mobile_2
I hope this helps