mirror of
https://github.com/apache/cordova-android.git
synced 2026-05-11 00:00:05 +08:00
CB-11292 fix broken MessageChannel after plugins are recreated
This closes #307
This commit is contained in:
@@ -135,6 +135,7 @@ public class CordovaWebViewImpl implements CordovaWebView {
|
||||
if (recreatePlugins) {
|
||||
// Don't re-initialize on first load.
|
||||
if (loadedUrl != null) {
|
||||
appPlugin = null;
|
||||
pluginManager.init();
|
||||
}
|
||||
loadedUrl = url;
|
||||
|
||||
Reference in New Issue
Block a user