react-native-appsflyer
Advanced tools
Comparing version 1.0.6 to 1.0.8
@@ -44,6 +44,8 @@ | ||
appsFlyer.setCustomerUserId = (userId, successC,) => { | ||
return RNAppsFlyer.setCustomerUserId(userId, successC); | ||
}; | ||
/** | ||
@@ -50,0 +52,0 @@ * Accessing AppsFlyer Attribution / Conversion Data from the SDK (Deferred Deeplinking) |
{ | ||
"name": "react-native-appsflyer", | ||
"version": "1.0.6", | ||
"version": "1.0.8", | ||
"description": "React Native Appsflyer plugin", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -17,2 +17,3 @@ | ||
- [initSdk](#initSdk) | ||
- [setCustomerUserId](#setCustomerUserId) | ||
- [trackEvent](#trackEvent) | ||
@@ -30,4 +31,4 @@ - [Track App Uninstalls](#track-app-uninstalls) | ||
- iOS AppsFlyerSDK **v4.5.9** | ||
- Android AppsFlyerSDK **v4.6.0** | ||
- iOS AppsFlyerSDK **v4.5.12** | ||
- Android AppsFlyerSDK **v4.6.1** | ||
@@ -163,2 +164,28 @@ ## <a id="installation"> Installation | ||
##### <a id="setCustomerUserId"> **`setCustomerUserId(customerUserId,callback): void`** | ||
Setting your own Custom ID enables you to cross-reference your own unique ID with AppsFlyer’s user ID and the other devices’ IDs. This ID is available in AppsFlyer CSV reports along with postbacks APIs for cross-referencing with you internal IDs. | ||
**Note:** The ID must be set during the first launch of the app at the SDK initialization. The best practice is to call this API during the `deviceready` event, where possible. | ||
| parameter | type | description | | ||
| ----------- |-----------------------------|--------------| | ||
| `customerUserId` | `String` | | | ||
*Example:* | ||
```javascript | ||
const userId = "some_user_id"; | ||
appsFlyer.setCustomerUserId(userId, | ||
(response) => { | ||
//.. | ||
}) | ||
``` | ||
--- | ||
#####<a id="trackEvent"> **`appsFlyer.trackEvent(eventName, eventValues, callback): void`** | ||
@@ -165,0 +192,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
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
166252
73
401