CB-11292 fix broken MessageChannel after plugins are recreated

This closes #307
This commit is contained in:
Tony Homer
2016-05-20 16:13:46 -04:00
committed by Joe Bowser
parent 9738079c42
commit ecb99c963d
2 changed files with 111 additions and 0 deletions
@@ -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;