setOfflineOnlyLicenseToken

fun setOfflineOnlyLicenseToken(licenseToken: String)

Activate an offline Ditto instance by setting a license token. You cannot sync with Ditto before you have activated it. The offline license token is only valid for manual, offlinePlayground, and sharedKey identities.

Parameters

licenseToken

the license token to activate the Ditto instance with, which you can find on the Ditto portal (https://portal.ditto.live).

Throws

Thrown if the provided licenseToken is expired or invalid.