From 43057bd9a745cd763e69ed87c0165bcc8f709482 Mon Sep 17 00:00:00 2001 From: Amit kremer Date: Sun, 23 Jul 2023 12:33:27 +0300 Subject: [PATCH 1/2] 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/2] 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;