add Plugin Instance
Add a Capacitor Plugin instance to be loaded with the Portal.
Example usage (kotlin):
val myPlugin = MyCapacitorPlugin()
portalFragment.addPluginInstance(myPlugin)
Content copied to clipboard
Example usage (java):
val myPlugin = new MyCapacitorPlugin();
portalFragment.addPluginInstance(myPlugin);
Content copied to clipboard
Parameters
plugin
a plugin instance to load with the Portal