Skip to content

Commit

Permalink
(Android) Add plugin entry constructor exposing onLoad
Browse files Browse the repository at this point in the history
  • Loading branch information
jblejder committed Feb 22, 2021
1 parent 3081e5e commit f2a0f06
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions framework/src/org/apache/cordova/PluginEntry.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ public PluginEntry(String service, CordovaPlugin plugin) {
this(service, plugin.getClass().getName(), true, plugin);
}

public PluginEntry(String service, CordovaPlugin plugin, boolean onload) {
this(service, plugin.getClass().getName(), onload, plugin);
}

/**
* @param service The name of the service
* @param pluginClass The plugin class name
Expand Down

0 comments on commit f2a0f06

Please sign in to comment.