Skip to content

Commit 5638336

Browse files
authored
Merge pull request #320 from AppsFlyerSDK/dev/bump-version-v6.14.3
v6.14.3
2 parents 3a63227 + 14898ae commit 5638336

File tree

10 files changed

+32
-82
lines changed

10 files changed

+32
-82
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# Versions
2+
## 6.14.3
3+
- Fixed mapOptions issue with manualStart
4+
- Inherit Privacy Manifest from the native iOS SDK via Cocoapods
5+
- Bump iOS version to 6.14.3
26
## 6.14.2
37
- Bump version to iOS v6.14.2 and Android v6.14.0
48
- Added Privacy Manifest to support Apple latest changes: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
### <a id="plugin-build-for"> This plugin is built for
1414

1515
- Android AppsFlyer SDK **v6.14.0**
16-
- iOS AppsFlyer SDK **v6.14.2**
16+
- iOS AppsFlyer SDK **v6.14.3**
1717

1818
## <a id="breaking-changes"> ❗❗ Breaking changes when updating to v6.x.x❗❗
1919

android/src/main/java/com/appsflyer/appsflyersdk/AppsFlyerConstants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package com.appsflyer.appsflyersdk;
22

33
public class AppsFlyerConstants {
4-
final static String PLUGIN_VERSION = "6.14.2";
4+
final static String PLUGIN_VERSION = "6.14.3";
55
final static String AF_APP_INVITE_ONE_LINK = "appInviteOneLink";
66
final static String AF_HOST_PREFIX = "hostPrefix";
77
final static String AF_HOST_NAME = "hostName";

doc/Installation.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ flutter pub add appsflyer_sdk
1010

1111
This will download the AppsFlyer flutter plugin to your project, you may observe the changes in your `pubspec.yaml` file.
1212

13+
---
14+
## Huawei Referrer
15+
Huawei Referrer is supported in SDK v6.14.0 and above.
16+
Due to changes in the Huawei AppGallery store, previous versions of the AppsFlyer SDK are not able to fetch the referrer from the store. [Learn more](https://dev.appsflyer.com/hc/docs/install-android-sdk#huawei-install-referrer).
1317
---
1418

1519
## <a id="strictMode">👨‍👩‍👧‍👦 Strict mode for Kids Apps

example/lib/main_page.dart

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,16 @@ class MainPageState extends State<MainPage> {
3232
showDebug: true,
3333
timeToWaitForATTUserAuthorization: 15,
3434
manualStart: true);
35+
/*
36+
final Map? map = {
37+
'afDevKey': dotenv.env["DEV_KEY"]!,
38+
'appId': dotenv.env["APP_ID"]!,
39+
'isDebug': true,
40+
'timeToWaitForATTUserAuthorization': 15.0//,
41+
//'manualStart': false
42+
};
43+
_appsflyerSdk = AppsflyerSdk(map);
44+
*/
3545
_appsflyerSdk = AppsflyerSdk(options);
3646

3747
/*

ios/Classes/AppsflyerSdkPlugin.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
@end
1919

2020
// Appsflyer JS objects
21-
#define kAppsFlyerPluginVersion @"6.14.2"
21+
#define kAppsFlyerPluginVersion @"6.14.3"
2222
#define afDevKey @"afDevKey"
2323
#define afAppId @"afAppId"
2424
#define afIsDebug @"isDebug"

ios/Resources/PrivacyInfo.xcprivacy

Lines changed: 0 additions & 73 deletions
This file was deleted.

ios/appsflyer_sdk.podspec

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
Pod::Spec.new do |s|
55
s.name = 'appsflyer_sdk'
6-
s.version = '6.14.2'
6+
s.version = '6.14.3'
77
s.summary = 'AppsFlyer Integration for Flutter'
88
s.description = <<-DESC
99
AppsFlyer is the market leader in mobile advertising attribution & analytics, helping marketers to pinpoint their targeting, optimize their ad spend and boost their ROI.
@@ -14,13 +14,12 @@ AppsFlyer is the market leader in mobile advertising attribution & analytics, he
1414
s.source = { :git => "https://github.com/AppsFlyerSDK/flutter_appsflyer_sdk.git", :tag => s.version.to_s }
1515

1616

17-
s.ios.deployment_target = '9.0'
17+
s.ios.deployment_target = '12.0'
1818
s.requires_arc = true
1919
s.static_framework = true
2020

2121
s.source_files = 'Classes/**/*'
2222
s.public_header_files = 'Classes/**/*.h'
2323
s.dependency 'Flutter'
24-
s.ios.dependency 'AppsFlyerFramework','6.14.2'
25-
s.resource_bundles = {'flutter_appsflyer_sdk_privacy' => ['Resources/PrivacyInfo.xcprivacy']}
24+
s.ios.dependency 'AppsFlyerFramework','6.14.3'
2625
end

lib/src/appsflyer_sdk.dart

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,12 @@ class AppsflyerSdk {
112112
assert(appInviteOneLink is String);
113113
}
114114

115+
if (options[AppsflyerConstants.AF_MANUAL_START] != null) {
116+
afOptions[AppsflyerConstants.AF_MANUAL_START] = options[AppsflyerConstants.AF_MANUAL_START];
117+
}else{
118+
afOptions[AppsflyerConstants.AF_MANUAL_START] = false;
119+
}
120+
115121
afOptions[AppsflyerConstants.APP_INVITE_ONE_LINK] = appInviteOneLink;
116122

117123
if (options[AppsflyerConstants.DISABLE_COLLECT_ASA] != null) {
@@ -174,7 +180,7 @@ class AppsflyerSdk {
174180
validatedOptions?[AppsflyerConstants.AF_UDL] =
175181
registerOnDeepLinkingCallback;
176182
//Means that we automatically starting the SDK
177-
if (afOptions!.manualStart! == false) {
183+
if (validatedOptions?[AppsflyerConstants.AF_MANUAL_START] == false) {
178184
_isSdkStarted = true;
179185
}
180186
return _methodChannel.invokeMethod("initSdk", validatedOptions);

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: appsflyer_sdk
22
description: A Flutter plugin for AppsFlyer SDK. Supports iOS and Android.
3-
version: 6.14.2
3+
version: 6.14.3
44

55
homepage: https://github.com/AppsFlyerSDK/flutter_appsflyer_sdk
66

0 commit comments

Comments
 (0)