react-native-appsflyer
Advanced tools
Comparing version 6.2.31 to 6.2.40
# Versions | ||
## 6.2.40 | ||
- iOS SDK 6.2.4 | ||
- Validate initSdk `isDebug` and `appId` | ||
## 6.2.31 | ||
@@ -3,0 +7,0 @@ - Update readme for iOS 14.5 |
12
index.js
@@ -10,2 +10,8 @@ import {NativeEventEmitter, NativeModules} from "react-native"; | ||
function initSdkCallback(options, successC, errorC) { | ||
if (typeof options.appId !== 'string') { | ||
return errorC('appId should be a string!'); | ||
} | ||
if (typeof options.isDebug !== 'boolean') { | ||
return errorC('isDebug should be a boolean!'); | ||
} | ||
return RNAppsFlyer.initSdkWithCallBack(options, successC, errorC); | ||
@@ -15,2 +21,8 @@ } | ||
function initSdkPromise(options): Promise<string> { | ||
if (typeof options.appId !== 'string') { | ||
return Promise.reject('appId should be a string!'); | ||
} | ||
if (typeof options.isDebug !== 'boolean') { | ||
return Promise.reject('isDebug should be a boolean!'); | ||
} | ||
return RNAppsFlyer.initSdkWithPromise(options); | ||
@@ -17,0 +29,0 @@ } |
{ | ||
"name": "react-native-appsflyer", | ||
"version": "6.2.31", | ||
"version": "6.2.40", | ||
"description": "React Native Appsflyer plugin", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -17,3 +17,3 @@ require 'json' | ||
s.dependency 'React' | ||
s.dependency 'AppsFlyerFramework', '6.2.3' | ||
s.dependency 'AppsFlyerFramework', '6.2.4' | ||
end |
@@ -17,4 +17,4 @@ require 'json' | ||
s.dependency 'React' | ||
s.dependency 'AppsFlyerFramework/Strict', '6.2.3' | ||
s.dependency 'AppsFlyerFramework/Strict', '6.2.4' | ||
s.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) AFSDK_NO_IDFA=1' } | ||
end |
@@ -25,3 +25,3 @@ | ||
- iOS AppsFlyerSDK **v6.2.3** | ||
- iOS AppsFlyerSDK **v6.2.4** | ||
- Android AppsFlyerSDK **v6.2.0** | ||
@@ -28,0 +28,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1481873
1621