Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-appsflyer

Package Overview
Dependencies
Maintainers
2
Versions
120
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 1.1.3 to 1.1.4

4

index.js

@@ -41,2 +41,6 @@

appsFlyer.sendDeepLinkData = (callback) => {
return RNAppsFlyer.sendDeepLinkData(callback);
};
/**

@@ -43,0 +47,0 @@ Deprecated

2

package.json
{
"name": "react-native-appsflyer",
"version": "1.1.3",
"version": "1.1.4",
"description": "React Native Appsflyer plugin",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -34,2 +34,3 @@

- [trackLocation (ios only)](#appsflyertracklocationlongitude-latitude-callbackerror-coords-void-ios-only)
- [sendDeepLinkData (Android only)](#senddeeplinkdata-android-only)
- [Demo](#demo)

@@ -281,3 +282,3 @@

`setGCMProjectID(GCMProjectID): void`
`enableUninstallTracking(GCMProjectID): void`

@@ -294,10 +295,7 @@ Set the GCM API key. AppsFlyer requires a Google Project Number and GCM API Key to enable uninstall tracking.

setGCMProjectID(){
const gcmProjectId = "987186475229";
appsFlyer.setGCMProjectID(gcmProjectId,
(gcmProjectID) => {
enableUninstallTracking(){
const gcmProjectNum = "987186475229";
appsFlyer.enableUninstallTracking(gcmProjectNum,
(success) => {
//...
},
(error) => {
console.error(error);
})

@@ -421,2 +419,24 @@ }

#### <a id="senddeeplinkdata-android-only"> **`appsFlyer.sendDeepLinkData(String url): void`**
Report Deep Links for Re-Targeting Attribution (Android).
This method should be called when an app is opened using a deep link.
*Example:*
```javascript
componentDidMount() {
Linking.getInitialURL().then((url) => {
if (appsFlyer) {
appsFlyer.sendDeepLinkData(url); // Report Deep Link to AppsFlyer
// Additional Deep Link Logic Here ...
}
}).catch(err => console.error('An error occurred', err));
}
```
More about Deep Links in React-Native: [React-Native Linking](https://facebook.github.io/react-native/docs/linking.html)
More about Deep Links in Android: [Android Deep Linking , Adding Filters](https://developer.android.com/training/app-indexing/deep-linking.html#adding-filters)
---
##### <a id="setUserEmails"> **`appsFlyer.setUserEmails(options, errorC, successC): void`**

@@ -423,0 +443,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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc