initialize static method
- String? appAuthorization,
- bool allowInternetConnection = true,
- AutoUpdateSettings autoUpdateSettings = const AutoUpdateSettings(),
Initialize GEM SDK.
All GEM SDK objects must be used only after a successful call to this function
Parameters
-
IN appAuthorization Application token that enables the SDK. Required for evaluation SDKs. The map will have a watermark and some features might not work as expected without this parameter.
-
IN autoUpdateSettings Auto update settings
Implementation
static Future<void> initialize({
final String? appAuthorization,
final bool allowInternetConnection = true,
final AutoUpdateSettings autoUpdateSettings = const AutoUpdateSettings(),
}) =>
GemKitPlatform.instance.loadNative(
appAuthorization: appAuthorization,
autoUpdateSettings: autoUpdateSettings,
allowInternetConnection: allowInternetConnection);