Skip to content

Commit

Permalink
Merge pull request #320 from AppsFlyerSDK/dev/bump-version-v6.14.3
Browse files Browse the repository at this point in the history
v6.14.3
  • Loading branch information
al-af authored May 2, 2024
2 parents 3a63227 + 14898ae commit 5638336
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 82 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Versions
## 6.14.3
- Fixed mapOptions issue with manualStart
- Inherit Privacy Manifest from the native iOS SDK via Cocoapods
- Bump iOS version to 6.14.3
## 6.14.2
- Bump version to iOS v6.14.2 and Android v6.14.0
- Added Privacy Manifest to support Apple latest changes: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
### <a id="plugin-build-for"> This plugin is built for

- Android AppsFlyer SDK **v6.14.0**
- iOS AppsFlyer SDK **v6.14.2**
- iOS AppsFlyer SDK **v6.14.3**

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

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.appsflyer.appsflyersdk;

public class AppsFlyerConstants {
final static String PLUGIN_VERSION = "6.14.2";
final static String PLUGIN_VERSION = "6.14.3";
final static String AF_APP_INVITE_ONE_LINK = "appInviteOneLink";
final static String AF_HOST_PREFIX = "hostPrefix";
final static String AF_HOST_NAME = "hostName";
Expand Down
4 changes: 4 additions & 0 deletions doc/Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ flutter pub add appsflyer_sdk

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

---
## Huawei Referrer
Huawei Referrer is supported in SDK v6.14.0 and above.
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).
---

## <a id="strictMode">👨‍👩‍👧‍👦 Strict mode for Kids Apps
Expand Down
10 changes: 10 additions & 0 deletions example/lib/main_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,16 @@ class MainPageState extends State<MainPage> {
showDebug: true,
timeToWaitForATTUserAuthorization: 15,
manualStart: true);
/*
final Map? map = {
'afDevKey': dotenv.env["DEV_KEY"]!,
'appId': dotenv.env["APP_ID"]!,
'isDebug': true,
'timeToWaitForATTUserAuthorization': 15.0//,
//'manualStart': false
};
_appsflyerSdk = AppsflyerSdk(map);
*/
_appsflyerSdk = AppsflyerSdk(options);

/*
Expand Down
2 changes: 1 addition & 1 deletion ios/Classes/AppsflyerSdkPlugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
@end

// Appsflyer JS objects
#define kAppsFlyerPluginVersion @"6.14.2"
#define kAppsFlyerPluginVersion @"6.14.3"
#define afDevKey @"afDevKey"
#define afAppId @"afAppId"
#define afIsDebug @"isDebug"
Expand Down
73 changes: 0 additions & 73 deletions ios/Resources/PrivacyInfo.xcprivacy

This file was deleted.

7 changes: 3 additions & 4 deletions ios/appsflyer_sdk.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
Pod::Spec.new do |s|
s.name = 'appsflyer_sdk'
s.version = '6.14.2'
s.version = '6.14.3'
s.summary = 'AppsFlyer Integration for Flutter'
s.description = <<-DESC
AppsFlyer is the market leader in mobile advertising attribution & analytics, helping marketers to pinpoint their targeting, optimize their ad spend and boost their ROI.
Expand All @@ -14,13 +14,12 @@ AppsFlyer is the market leader in mobile advertising attribution & analytics, he
s.source = { :git => "https://github.com/AppsFlyerSDK/flutter_appsflyer_sdk.git", :tag => s.version.to_s }


s.ios.deployment_target = '9.0'
s.ios.deployment_target = '12.0'
s.requires_arc = true
s.static_framework = true

s.source_files = 'Classes/**/*'
s.public_header_files = 'Classes/**/*.h'
s.dependency 'Flutter'
s.ios.dependency 'AppsFlyerFramework','6.14.2'
s.resource_bundles = {'flutter_appsflyer_sdk_privacy' => ['Resources/PrivacyInfo.xcprivacy']}
s.ios.dependency 'AppsFlyerFramework','6.14.3'
end
8 changes: 7 additions & 1 deletion lib/src/appsflyer_sdk.dart
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@ class AppsflyerSdk {
assert(appInviteOneLink is String);
}

if (options[AppsflyerConstants.AF_MANUAL_START] != null) {
afOptions[AppsflyerConstants.AF_MANUAL_START] = options[AppsflyerConstants.AF_MANUAL_START];
}else{
afOptions[AppsflyerConstants.AF_MANUAL_START] = false;
}

afOptions[AppsflyerConstants.APP_INVITE_ONE_LINK] = appInviteOneLink;

if (options[AppsflyerConstants.DISABLE_COLLECT_ASA] != null) {
Expand Down Expand Up @@ -174,7 +180,7 @@ class AppsflyerSdk {
validatedOptions?[AppsflyerConstants.AF_UDL] =
registerOnDeepLinkingCallback;
//Means that we automatically starting the SDK
if (afOptions!.manualStart! == false) {
if (validatedOptions?[AppsflyerConstants.AF_MANUAL_START] == false) {
_isSdkStarted = true;
}
return _methodChannel.invokeMethod("initSdk", validatedOptions);
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: appsflyer_sdk
description: A Flutter plugin for AppsFlyer SDK. Supports iOS and Android.
version: 6.14.2
version: 6.14.3

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

Expand Down

0 comments on commit 5638336

Please sign in to comment.