🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

react-native-appsflyer

Package Overview
Dependencies
Maintainers
1
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-appsflyer - npm Package Compare versions

Comparing version

to
1.0.8

4

index.js

@@ -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