forked from github/cordova-android
Call the initial onResume() on a plugin when it is created. This corrects the lifecycle behavior for plugins.
This commit is contained in:
parent
0f988717d0
commit
a4d66c63a4
@ -217,6 +217,7 @@ public final class PluginManager {
|
||||
this.plugins.put(className, plugin);
|
||||
plugin.setContext(this.ctx);
|
||||
plugin.setView(this.app);
|
||||
plugin.onResume(true);
|
||||
return plugin;
|
||||
}
|
||||
} catch (Exception e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user