add Plugin Instance
Add a plugin instance to be loaded with the Portal.
Example usage (kotlin):
val myPlugin = MyCapacitorPlugin()
builder = builder.addPluginInstance(myPlugin)
Content copied to clipboard
Example usage (java):
val myPlugin = new MyCapacitorPlugin();
builder = builder.addPluginInstance(myPlugin);
Content copied to clipboard
Return
the instance of the PortalBuilder with the plugin instances added
Parameters
plugin
the plugin instance to add to the portal