File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 11# Versions
2+ ## 6.13.2+1
3+ - Hotfix for manualStart on iOS
24## 6.13.2
35- Added new APIs such as ` anonymizeUser ` , ` performOnDeepLinking `
46- Added to the ` startSDK ` API, ` onSuccess ` and ` onError ` callbacks
Original file line number Diff line number Diff line change @@ -597,12 +597,18 @@ - (void)initSdkWithCall:(FlutterMethodCall*)call result:(FlutterResult)result{
597597 id isUDPValue = nil ;
598598 id isDisableCollectASA = nil ;
599599 id isDisableAdvertisingIdentifier = nil ;
600+ id isManualStart = nil ;
600601
601602 devKey = call.arguments [afDevKey];
602603 appId = call.arguments [afAppId];
603604 timeToWaitForATTUserAuthorization = [(id )call.arguments[afTimeToWaitForATTUserAuthorization] doubleValue ];
604- manualStart = call.arguments [afManualStart];
605- [self setIsManualStart: manualStart];
605+
606+ isManualStart = call.arguments [afManualStart];
607+ if ([isManualStart isKindOfClass: [NSNumber class ]]){
608+ manualStart = [(NSNumber *)isManualStart boolValue ];
609+ [self setIsManualStart: manualStart];
610+ }
611+
606612
607613 isDebugValue = call.arguments [afIsDebug];
608614 if ([isDebugValue isKindOfClass: [NSNumber class ]]) {
@@ -669,7 +675,7 @@ - (void)initSdkWithCall:(FlutterMethodCall*)call result:(FlutterResult)result{
669675 [[AppsFlyerLib shared ] waitForATTUserAuthorizationWithTimeoutInterval: timeToWaitForATTUserAuthorization];
670676 }
671677
672- if (! manualStart){
678+ if (manualStart == NO ){
673679 [[NSNotificationCenter defaultCenter ] addObserver: self selector: @selector (appDidBecomeActive ) name: UIApplicationDidBecomeActiveNotification object: nil ];
674680 [[AppsFlyerLib shared ] start ];
675681 }
Original file line number Diff line number Diff line change 11name : appsflyer_sdk
22description : A Flutter plugin for AppsFlyer SDK. Supports iOS and Android.
3- version : 6.13.2
3+ version : 6.13.2+1
44
55homepage : https://github.com/AppsFlyerSDK/flutter_appsflyer_sdk
66
You can’t perform that action at this time.
0 commit comments