add Plugin Instances
Add multiple Capacitor Plugin instances to be loaded with this Portal.
Example usage (kotlin):
val list: List<Plugin> = listOf(
MyCapacitorPlugin(),
MySecondCapacitorPlugin(),
MyThirdCapacitorPlugin()
)
portal.addPluginInstances(list)
Content copied to clipboard
Example usage (java):
List<Plugin> list = Arrays.asList(
new MyCapacitorPlugin(),
new MySecondCapacitorPlugin(),
new MyThirdCapacitorPlugin()
);
portal.addPluginInstances(list);
Content copied to clipboard
Parameters
plugins
a list of Plugin instances to be used with the Portal