File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -834,6 +834,11 @@ - (void)initSdkWithCall:(FlutterMethodCall*)call result:(FlutterResult)result{
834834 // isDebug is a boolean that will come through as an NSNumber
835835 isDebug = [(NSNumber *)isDebugValue boolValue ];
836836 }
837+
838+ [AppsFlyerLib shared ].appleAppID = appId;
839+ [AppsFlyerLib shared ].appsFlyerDevKey = devKey;
840+ [AppsFlyerLib shared ].isDebug = isDebug;
841+
837842 isConversionDataValue = call.arguments [afConversionData];
838843 if ([isConversionDataValue isKindOfClass: [NSNumber class ]]) {
839844 isConversionData = [(NSNumber *)isConversionDataValue boolValue ];
@@ -878,10 +883,6 @@ - (void)initSdkWithCall:(FlutterMethodCall*)call result:(FlutterResult)result{
878883
879884 [[AppsFlyerLib shared ] setPluginInfoWith: AFSDKPluginFlutter pluginVersion: kAppsFlyerPluginVersion additionalParams: nil ];
880885
881- [AppsFlyerLib shared ].appleAppID = appId;
882- [AppsFlyerLib shared ].appsFlyerDevKey = devKey;
883- [AppsFlyerLib shared ].isDebug = isDebug;
884-
885886
886887 // SEL WaitForATTSel = NSSelectorFromString(@"waitForATTUserAuthorizationWithTimeoutInterval:");
887888
You can’t perform that action at this time.
0 commit comments