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/CHANGELOG.md b/CHANGELOG.md index 450f1549..1ca4c0f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## 6.12.1 + Release date: *2023-07-26* + +- Add 'link' property to onDeepLink object +- Update Android sdk v6.12.1 +- Update iOS sdk v6.12.0 + ## 6.10.3 Release date: *2023-05-02* 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/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/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; 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"; diff --git a/package.json b/package.json index 411e8f10..c981facb 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-appsflyer", - "version": "6.10.3", + "version": "6.12.1", "description": "React Native Appsflyer plugin", "main": "index.js", "types": "index.d.ts", 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