onActivityResult loadUrl("javascript:xx") by WebView restore.
Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
Add the following dependency to your build.gradle
file:
dependencies {
compile 'com.github.2tu:webview-restore:0.2.0'
}
Activity WebView restore
WebView restore not finished,so onActivityResult invoke loadUrl not work.