syncProvider

fun syncProvider(callback: LiveUpdateProviderSyncCallback? = null)

Sync the external live update provider configured for this Portal.

This only applies to Portals configured with LiveUpdateProvider.Provider. Portals configured with LiveUpdateProvider.Ionic should continue to use Ionic Live Updates APIs, such as LiveUpdateManager.sync.

Example usage (kotlin):

portal.syncProvider(callback)

Example usage (java):

portal.syncProvider(callback);

Parameters

callback

optional callback invoked with the provider sync result or failure.