Portal
A class representing a Portal that contains information about the web content to load and any associated plugins used by the Portal. It is discouraged to use this class directly to create a Portal and instead use PortalBuilder or PortalManager to construct a new instance.
Example usage (kotlin):
val name: String = "Hello World"
val portal: Portal = Portal(name)Example usage (java):
String name = "Hello World";
Portal portal = new Portal(name);Properties
The initial context to pass to the web view.
A LiveUpdate config, if live updates is being used.
Whether to run a live update sync when the portal is added to the manager.
The PortalFragment type used by a PortalView when using Portals directly in Android layouts/XML.
Functions
Add multiple AssetMap instances to be loaded with this Portal.
Add a Capacitor Plugin instance to be loaded with this Portal.
Add multiple Capacitor Plugin instances to be loaded with this Portal.
Add multiple Capacitor Plugin to be loaded with this Portal.
Sets the initial context to pass to the web view.