diff --git a/CHANGELOG.md b/CHANGELOG.md index d801e703..a15eb426 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 6.17.9 + Release date: *2026-03-31* + + + ## 6.17.8 Release date: *2025-12-17* diff --git a/README.md b/README.md index c1685296..b11facb5 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,8 @@ To do so, please follow [this article](https://support.appsflyer.com/hc/en-us/ar ### This plugin is built for -- Android AppsFlyer SDK **v6.17.5** -- iOS AppsFlyer SDK **v6.17.8** +- Android AppsFlyer SDK **v6.17.6** +- iOS AppsFlyer SDK **v6.17.9** - Minimum tested with React-Native **v0.62.0** (older versions might be supported) ## Release Updates diff --git a/android/build.gradle b/android/build.gradle index 4ca9edeb..b767abec 100755 --- a/android/build.gradle +++ b/android/build.gradle @@ -70,7 +70,7 @@ repositories { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib:1.7.10" // Add Kotlin standard library implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}" - api "com.appsflyer:af-android-sdk:${safeExtGet('appsflyerVersion', '6.17.5')}" + api "com.appsflyer:af-android-sdk:${safeExtGet('appsflyerVersion', '6.17.6')}" implementation "com.android.installreferrer:installreferrer:${safeExtGet('installReferrerVersion', '2.2')}" if (includeConnector){ implementation 'com.appsflyer:purchase-connector:2.1.1' diff --git a/android/src/main/java/com/appsflyer/reactnative/RNAppsFlyerConstants.java b/android/src/main/java/com/appsflyer/reactnative/RNAppsFlyerConstants.java index 11a6fda8..d39fdc7f 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.17.8"; + final static String PLUGIN_VERSION = "6.17.9"; 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 c62d4689..3850d005 100644 --- a/index.d.ts +++ b/index.d.ts @@ -415,14 +415,3 @@ declare module "react-native-appsflyer" { export default appsFlyer; } - -// Explicit ambient declarations for ESLint compatibility -// ESLint's import resolver doesn't recognize exports inside 'declare module' blocks. -// These top-level declarations allow ESLint to detect the exports. -declare const StoreKitVersion: { readonly SK1: "SK1"; readonly SK2: "SK2" }; -declare const AppsFlyerPurchaseConnector: any; // Type is defined in declare module above -declare const AppsFlyerPurchaseConnectorConfig: any; // Type is defined in declare module above -declare const appsFlyer: any; // Type is defined in declare module above - -export { StoreKitVersion, AppsFlyerPurchaseConnector, AppsFlyerPurchaseConnectorConfig }; -export { appsFlyer as default }; diff --git a/ios/RNAppsFlyer.h b/ios/RNAppsFlyer.h index 09210601..e16136a5 100755 --- a/ios/RNAppsFlyer.h +++ b/ios/RNAppsFlyer.h @@ -22,7 +22,7 @@ @end -static NSString *const kAppsFlyerPluginVersion = @"6.17.8"; +static NSString *const kAppsFlyerPluginVersion = @"6.17.9"; 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 bf691d36..7d7016e7 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-appsflyer", - "version": "6.17.8", + "version": "6.17.9", "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 5e35665b..572ff89f 100644 --- a/react-native-appsflyer.podspec +++ b/react-native-appsflyer.podspec @@ -30,19 +30,19 @@ Pod::Spec.new do |s| # AppsFlyerPurchaseConnector if defined?($AppsFlyerPurchaseConnector) && ($AppsFlyerPurchaseConnector == true) Pod::UI.puts "#{s.name}: Including PurchaseConnector." - s.dependency 'PurchaseConnector', '6.17.8' + s.dependency 'PurchaseConnector', '6.17.9' end # AppsFlyerFramework if defined?($RNAppsFlyerStrictMode) && ($RNAppsFlyerStrictMode == true) Pod::UI.puts "#{s.name}: Using AppsFlyerFramework/Strict mode" - s.dependency 'AppsFlyerFramework/Strict', '6.17.8' + s.dependency 'AppsFlyerFramework/Strict', '6.17.9' 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.17.8' + s.dependency 'AppsFlyerFramework', '6.17.9' end end diff --git a/react-native.config.js b/react-native.config.js index 0f30744a..df1031f6 100644 --- a/react-native.config.js +++ b/react-native.config.js @@ -4,13 +4,10 @@ module.exports = { dependency: { platforms: { android: { - packageImportPath: [ - 'import com.appsflyer.reactnative.RNAppsFlyerPackage;', - 'import com.appsflyer.reactnative.PCAppsFlyerPackage;', - ].join('\n'), + packageImportPath: 'import com.appsflyer.reactnative.RNAppsFlyerPackage;', packageInstance: [ 'new RNAppsFlyerPackage()', - 'new PCAppsFlyerPackage()', + 'new com.appsflyer.reactnative.PCAppsFlyerPackage()', ].join(',\n'), }, },