Online Playground
Deprecated
DittoIdentity.OnlinePlayground is removed in SDK 5.0. Use DittoConfig with Ditto.open(config) or Ditto.openSync(config) instead.
Test a Ditto Cloud app with weak shared token authentication ("Playground mode"). This mode is not secure and must only be used for development.
Phased out in 4.x — replaced by Ditto.open and Ditto.openSync factory methods. This API will be replaced by the new factory methods in v5.
Parameters
the dependencies required by the SDK to be initialised.
a UUID identifying this app registration on the Ditto portal, which can be found at https://portal.ditto.live
a shared token used to set up the OnlinePlayground session. This token is provided by the Ditto portal when setting up the application.
if true, auto-configure sync with Ditto Cloud.
if specified, use a custom authentication service instead of Ditto Cloud.