Portals Plugin
A special Capacitor Plugin within the Portals library that allows for bi-directional communication between Android and web code. It is loaded with every Portal automatically and does not need to be added like other plugins if the default behavior is desired.
If events should be scoped to a specific Portal or group of Portals, this should be initialized with an instance of PortalsPubSub and added to a Portal via Portal.addPluginInstance or PortalBuilder.addPluginInstance.
Constructors
Functions
Link copied to clipboard
Allows the web to subscribe to messages from native.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Publishes a message from the web app to the native app.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard