initialize method

  1. @override
Future<void> initialize({
  1. String appId = '',
  2. bool debug = false,
  3. bool swizzle = true,
})
override

Initializes the native SDK. appId is kept only for source compatibility — the app ID is read from native platform configuration. debug is a deprecated shortcut for verbose logging. swizzle is iOS-only.

Implementation

@override
Future<void> initialize({
  String appId = '',
  bool debug = false,
  bool swizzle = true,
}) {
  return methodChannel.invokeMethod('initialize', {
    'debug': debug,
    'swizzle': swizzle,
  });
}