Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
react-native-appsflyer
Advanced tools
🛠 In order for us to provide optimal support, we would kindly ask you to submit any issues to support@appsflyer.com
When submitting an issue please specify your AppsFlyer sign-up (account) email , your app ID , production steps, logs, code snippets and any additional relevant information.
We have renamed the following APIs:
Old API | New API |
---|---|
trackEvent | logEvent |
trackLocation | logLocation |
stopTracking | stop |
trackCrossPromotionImpression | logCrossPromotionImpression |
trackAndOpenStore | logCrossPromotionAndOpenStore |
setDeviceTrackingDisabled | anonymizeUser |
And removed the following ones:
If you have used 1 of the removed APIs, please check the integration guide for the updated instructions
Production version from npm:
$ npm install react-native-appsflyer --save
Then run the following:
iOS
$ cd ios && pod install
$ react-native run-ios
Android
$ react-native run-android
Starting from RN v0.60, and react-native-appsflyer
v1.4.7
the plugin uses autolinking.
If your app does not support autolinking, check out the Installation Guide here.
Initialize the SDK to enable AppsFlyer to detect installations, sessions (app opens) and updates.
import React, {Component} from 'react';
import {Platform, StyleSheet, Text, View} from 'react-native';
import appsFlyer from 'react-native-appsflyer';
appsFlyer.initSdk(
{
devKey: 'K2***********99',
isDebug: false,
appId: '41*****44',
onInstallConversionDataListener: true,
},
(result) => {
console.log(result);
},
(error) => {
console.error(error);
}
);
Setting | Description |
---|---|
devKey | Your application devKey provided by AppsFlyer (required) |
appId | Your iTunes application ID (iOS only) |
isDebug | Debug mode - set to true for testing only |
onInstallConversionDataListener | Set listener for SDK init response (Optional. default=true) |
Great installation and setup guides can be viewed here.
See the full API available for this plugin.
FAQs
React Native Appsflyer plugin
We found that react-native-appsflyer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.