set Config
Set a Capacitor CapConfig to be used to configure the instance of Capacitor used in the Portal.
Example usage (kotlin):
val config = CapConfig.Builder(context).setLoggingEnabled(true).create()
portalFragment.setConfig(config)
Content copied to clipboard
Example usage (java):
CapConfig config = new CapConfig.Builder(getContext()).setLoggingEnabled(true).create();
portalFragment.setConfig(config);
Content copied to clipboard
Parameters
config
the Capacitor config to use