initializeDimxSdk method
Initialises the native SDK. Call it once, before any screen; a second call is a no-op.
Keys of config, all optional:
qrCodeEnabled,sharePhotoEnabled,shareVideoEnabled(bool)webVersionUrl(String): where the SDK reads the web app versiondefaultAppUrl(String, Android)appScreenActivity(String, Android): the activity the SDK returns to when its own screens close - the app'sMainActivity, fully qualified.
On Android the camera and location permissions the AR screen needs are
requested here, before the SDK starts; a refusal fails the future with
code PERMISSION_DENIED. On iOS the SDK asks for them itself when the AR
screen opens.
Implementation
Future<void> initializeDimxSdk(Map<String, dynamic> config) {
return DimxPluginPlatform.instance.initializeDimxSdk(config);
}