Skip to content

Commit 4c3485b

Browse files
committed
Update iOS & Android to 6.17.0
6.17.0 Update and typescript clean up inside index.js
1 parent 1966ef1 commit 4c3485b

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ repositories {
7070
dependencies {
7171
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.7.10" // Add Kotlin standard library
7272
implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
73-
api "com.appsflyer:af-android-sdk:${safeExtGet('appsflyerVersion', '6.16.2')}"
73+
api "com.appsflyer:af-android-sdk:${safeExtGet('appsflyerVersion', '6.17.0')}"
7474
implementation "com.android.installreferrer:installreferrer:${safeExtGet('installReferrerVersion', '2.2')}"
7575
if (includeConnector){
7676
implementation 'com.appsflyer:purchase-connector:2.1.1'

android/src/main/java/com/appsflyer/reactnative/RNAppsFlyerConstants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
public class RNAppsFlyerConstants {
88

9-
final static String PLUGIN_VERSION = "6.16.2";
9+
final static String PLUGIN_VERSION = "6.17.0";
1010
final static String NO_DEVKEY_FOUND = "No 'devKey' found or its empty";
1111
final static String UNKNOWN_ERROR = "AF Unknown Error";
1212
final static String SUCCESS = "Success";

index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ function initSdkCallback(options, successC, errorC) {
277277
return RNAppsFlyer.initSdkWithCallBack(options, successC, errorC);
278278
}
279279

280-
function initSdkPromise(options): Promise<string> {
280+
function initSdkPromise(options) {
281281
if (
282282
typeof options.appId !== "string" &&
283283
typeof options.appId !== "undefined"
@@ -293,7 +293,7 @@ function initSdkPromise(options): Promise<string> {
293293
return RNAppsFlyer.initSdkWithPromise(options);
294294
}
295295

296-
function initSdk(options, success, error): Promise<string> {
296+
function initSdk(options, success, error) {
297297
if (success && error) {
298298
//initSdk is a callback function
299299
initSdkCallback(options, success, error);
@@ -309,11 +309,11 @@ function logEventCallback(eventName, eventValues, successC, errorC) {
309309
return RNAppsFlyer.logEvent(eventName, eventValues, successC, errorC);
310310
}
311311

312-
function logEventPromise(eventName, eventValues): Promise<string> {
312+
function logEventPromise(eventName, eventValues) {
313313
return RNAppsFlyer.logEventWithPromise(eventName, eventValues);
314314
}
315315

316-
function logEvent(eventName, eventValues, success, error): Promise<string> {
316+
function logEvent(eventName, eventValues, success, error) {
317317
if (success && error) {
318318
//logEvent is a callback function
319319
logEventCallback(eventName, eventValues, success, error);
@@ -437,7 +437,7 @@ appsFlyer.updateServerUninstallToken = (token, successC) => {
437437
};
438438

439439
/**
440-
* Setting your own customer ID enables you to cross-reference your own unique ID with AppsFlyers unique ID and the other devices IDs.
440+
* Setting your own customer ID enables you to cross-reference your own unique ID with AppsFlyer's unique ID and the other devices' IDs.
441441
* This ID is available in AppsFlyer CSV reports along with Postback APIs for cross-referencing with your internal IDs.
442442
*
443443
* @param {string} userId Customer ID for client.

ios/RNAppsFlyer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
@end
2323

2424

25-
static NSString *const kAppsFlyerPluginVersion = @"6.16.2";
25+
static NSString *const kAppsFlyerPluginVersion = @"6.17.0";
2626
static NSString *const NO_DEVKEY_FOUND = @"No 'devKey' found or its empty";
2727
static NSString *const NO_APPID_FOUND = @"No 'appId' found or its empty";
2828
static NSString *const NO_EVENT_NAME_FOUND = @"No 'eventName' found or its empty";

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-appsflyer",
3-
"version": "6.16.2",
3+
"version": "6.17.0",
44
"description": "React Native Appsflyer plugin",
55
"main": "index.js",
66
"types": "index.d.ts",

react-native-appsflyer.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Pod::Spec.new do |s|
1919
# AppsFlyerPurchaseConnector
2020
if defined?($AppsFlyerPurchaseConnector) && ($AppsFlyerPurchaseConnector == true)
2121
Pod::UI.puts "#{s.name}: Including PurchaseConnector."
22-
s.dependency 'PurchaseConnector', '6.16.2'
22+
s.dependency 'PurchaseConnector', '6.17.0'
2323
s.exclude_files = [
2424
"ios/AFAdRevenueData.h",
2525
"ios/AppsFlyerConsent.h",
@@ -37,13 +37,13 @@ Pod::Spec.new do |s|
3737
# AppsFlyerFramework
3838
if defined?($RNAppsFlyerStrictMode) && ($RNAppsFlyerStrictMode == true)
3939
Pod::UI.puts "#{s.name}: Using AppsFlyerFramework/Strict mode"
40-
s.dependency 'AppsFlyerFramework/Strict', '6.16.2'
40+
s.dependency 'AppsFlyerFramework/Strict', '6.17.0'
4141
s.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) AFSDK_NO_IDFA=1' }
4242
else
4343
if !defined?($RNAppsFlyerStrictMode)
4444
Pod::UI.puts "#{s.name}: Using default AppsFlyerFramework. You may require App Tracking Transparency. Not allowed for Kids apps."
4545
Pod::UI.puts "#{s.name}: You may set variable `$RNAppsFlyerStrictMode=true` in Podfile to use strict mode for kids apps."
4646
end
47-
s.dependency 'AppsFlyerFramework', '6.16.2'
47+
s.dependency 'AppsFlyerFramework', '6.17.0'
4848
end
4949
end

0 commit comments

Comments
 (0)