From 43057bd9a745cd763e69ed87c0165bcc8f709482 Mon Sep 17 00:00:00 2001 From: Amit kremer Date: Sun, 23 Jul 2023 12:33:27 +0300 Subject: [PATCH 1/7] DELIVERY-39469: update native version --- .travis.yml | 27 --------------------------- README.md | 4 ++-- android/build.gradle | 2 +- react-native-appsflyer.podspec | 4 ++-- 4 files changed, 5 insertions(+), 32 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 6f22f042..00000000 --- a/.travis.yml +++ /dev/null @@ -1,27 +0,0 @@ -language: node_js -node_js: 8 -os: osx -matrix: - include: - - language: objective-c - osx_image: xcode12.4 - before_script: - - export WORK_BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi) - - PLUGIN_INSTALL_CMD='npm install git://github.com/AppsFlyerSDK/appsflyer-react-native-plugin.git#${WORK_BRANCH} --save' - - CONFIG_PLUGIN_INSTALL='npm install react-native-config --save --force' - before_install: - - gem install cocoapods - - gem update concurrent-ruby - install: - - brew tap wix/brew - - brew install applesimutils - - npm install -g detox-cli - script: - - cd SampleApps/DetoxApp - - echo ‘DEV_KEY=$DEV_KEY’ >> .env - - npm install --force - - eval $PLUGIN_INSTALL_CMD - - eval $CONFIG_PLUGIN_INSTALL - - detox build --configuration ios - - detox test --configuration ios --cleanup - diff --git a/README.md b/README.md index 967d8806..31ec5011 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,8 @@ ### This plugin is built for -- Android AppsFlyer SDK **v6.10.3** -- iOS AppsFlyer SDK **v6.10.1** +- Android AppsFlyer SDK **v6.12.1** +- iOS AppsFlyer SDK **v6.12.0** ## ❗❗ Breaking changes when updating to v6.x.x❗❗ diff --git a/android/build.gradle b/android/build.gradle index 6679629a..e3407838 100755 --- a/android/build.gradle +++ b/android/build.gradle @@ -54,5 +54,5 @@ repositories { dependencies { implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}" implementation "com.android.installreferrer:installreferrer:${safeExtGet('installReferrerVersion', '2.1')}" - api "com.appsflyer:af-android-sdk:${safeExtGet('appsflyerVersion', '6.10.3')}" + api "com.appsflyer:af-android-sdk:${safeExtGet('appsflyerVersion', '6.12.1')}" } diff --git a/react-native-appsflyer.podspec b/react-native-appsflyer.podspec index d2f6642c..b742ca7e 100644 --- a/react-native-appsflyer.podspec +++ b/react-native-appsflyer.podspec @@ -18,13 +18,13 @@ Pod::Spec.new do |s| # AppsFlyerFramework if defined?($RNAppsFlyerStrictMode) && ($RNAppsFlyerStrictMode == true) Pod::UI.puts "#{s.name}: Using AppsFlyerFramework/Strict mode" - s.dependency 'AppsFlyerFramework/Strict', '6.10.1' + s.dependency 'AppsFlyerFramework/Strict', '6.12.0' s.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) AFSDK_NO_IDFA=1' } else if !defined?($RNAppsFlyerStrictMode) Pod::UI.puts "#{s.name}: Using default AppsFlyerFramework. You may require App Tracking Transparency. Not allowed for Kids apps." Pod::UI.puts "#{s.name}: You may set variable `$RNAppsFlyerStrictMode=true` in Podfile to use strict mode for kids apps." end - s.dependency 'AppsFlyerFramework', '6.10.1' + s.dependency 'AppsFlyerFramework', '6.12.0' end end From 5d69624729b9f5730a7d001066e68300e4c4fc29 Mon Sep 17 00:00:00 2001 From: Amit kremer Date: Sun, 23 Jul 2023 14:20:37 +0300 Subject: [PATCH 2/7] DELIVERY-39469: add link property to the deeplink object interface --- index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/index.d.ts b/index.d.ts index 6608d35f..bddce131 100644 --- a/index.d.ts +++ b/index.d.ts @@ -58,6 +58,7 @@ declare module "react-native-appsflyer" { deep_link_sub1?: string; media_source: string; pid?: string; + link: string, af_sub1?: string; af_sub2?: string; af_sub3?: string; From d6269ed816d7bd21eea6d8195150a1612341023a Mon Sep 17 00:00:00 2001 From: Amit kremer Date: Mon, 24 Jul 2023 15:11:54 +0300 Subject: [PATCH 3/7] DELIVERY-39469: update platform extension version --- .../java/com/appsflyer/reactnative/RNAppsFlyerConstants.java | 2 +- ios/RNAppsFlyer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/android/src/main/java/com/appsflyer/reactnative/RNAppsFlyerConstants.java b/android/src/main/java/com/appsflyer/reactnative/RNAppsFlyerConstants.java index da837e4c..cd027c83 100755 --- a/android/src/main/java/com/appsflyer/reactnative/RNAppsFlyerConstants.java +++ b/android/src/main/java/com/appsflyer/reactnative/RNAppsFlyerConstants.java @@ -6,7 +6,7 @@ public class RNAppsFlyerConstants { - final static String PLUGIN_VERSION = "6.10.3"; + final static String PLUGIN_VERSION = "6.12.1"; final static String NO_DEVKEY_FOUND = "No 'devKey' found or its empty"; final static String UNKNOWN_ERROR = "AF Unknown Error"; final static String SUCCESS = "Success"; diff --git a/ios/RNAppsFlyer.h b/ios/RNAppsFlyer.h index 1cabe861..29e0a3ad 100755 --- a/ios/RNAppsFlyer.h +++ b/ios/RNAppsFlyer.h @@ -22,7 +22,7 @@ @end -static NSString *const kAppsFlyerPluginVersion = @"6.10.3"; +static NSString *const kAppsFlyerPluginVersion = @"6.12.1"; static NSString *const NO_DEVKEY_FOUND = @"No 'devKey' found or its empty"; static NSString *const NO_APPID_FOUND = @"No 'appId' found or its empty"; static NSString *const NO_EVENT_NAME_FOUND = @"No 'eventName' found or its empty"; From 84234fab059b79f9bc97953f1b2a46b0532cad94 Mon Sep 17 00:00:00 2001 From: "Amit.kremer" Date: Mon, 24 Jul 2023 12:23:41 +0000 Subject: [PATCH 4/7] 6.12.1-rc2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 411e8f10..76495f6b 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-appsflyer", - "version": "6.10.3", + "version": "6.12.1-rc2", "description": "React Native Appsflyer plugin", "main": "index.js", "types": "index.d.ts", From 4360fc64a06b9864a73c8b8d7b1cb010a2e0bb18 Mon Sep 17 00:00:00 2001 From: "Amit.kremer" Date: Mon, 24 Jul 2023 12:42:00 +0000 Subject: [PATCH 5/7] 6.12.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 76495f6b..c981facb 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-appsflyer", - "version": "6.12.1-rc2", + "version": "6.12.1", "description": "React Native Appsflyer plugin", "main": "index.js", "types": "index.d.ts", From b606034921ac96a5540c92d6485368087671d091 Mon Sep 17 00:00:00 2001 From: "Amit.kremer" Date: Mon, 24 Jul 2023 12:42:02 +0000 Subject: [PATCH 6/7] Update CHANGELOG.md --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 450f1549..d0c59334 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## 6.12.1 + Release date: *2023-07-24* + +- Add 'link' property for onDeepLink object +- Update Android sdk v6.12.1 +- Update iOS sdk v6.12.0 + ## 6.10.3 Release date: *2023-05-02* From f13758b7cf47cf3d4fa84eedd4ec039ffe7bcefc Mon Sep 17 00:00:00 2001 From: Amit kremer Date: Wed, 26 Jul 2023 15:43:38 +0300 Subject: [PATCH 7/7] typo --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d0c59334..1ca4c0f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ ## 6.12.1 - Release date: *2023-07-24* + Release date: *2023-07-26* -- Add 'link' property for onDeepLink object +- Add 'link' property to onDeepLink object - Update Android sdk v6.12.1 - Update iOS sdk v6.12.0