https://github.com/appsflyersdk/appsflyer-react-native-plugin
AppsFlyer plugin for React Native
https://github.com/appsflyersdk/appsflyer-react-native-plugin
appsflyer react-native sdk
Last synced: about 1 month ago
JSON representation
AppsFlyer plugin for React Native
- Host: GitHub
- URL: https://github.com/appsflyersdk/appsflyer-react-native-plugin
- Owner: AppsFlyerSDK
- License: mit
- Created: 2016-11-13T16:10:51.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-03-24T07:52:45.000Z (about 2 months ago)
- Last Synced: 2025-03-31T19:07:49.557Z (about 1 month ago)
- Topics: appsflyer, react-native, sdk
- Language: Objective-C
- Homepage:
- Size: 63.3 MB
- Stars: 290
- Watchers: 12
- Forks: 207
- Open Issues: 37
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# appsflyer-react-native-plugin
[](https://opensource.org/licenses/MIT)
[](https://badge.fury.io/js/react-native-appsflyer)
[](https://www.npmjs.com/package/react-native-appsflyer)๐ In order for us to provide optimal support, we would kindly ask you to submit any issues to [email protected]
> _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._
- Android AppsFlyer SDK **v6.16.2**
- iOS AppsFlyer SDK **v6.16.2**
- Tested with React-Native **v0.62.0** (older versions might be supported)- From version `6.15.1`, upgraded to targetSDKVersion 34, Java 17, and Gradle 8.7 in [AppsFlyer Android SDK v6.15.1](https://support.appsflyer.com/hc/en-us/articles/115001256006-AppsFlyer-Android-SDK-release-notes).
- From version `6.15.1`, iOS Minimum deployment target is set to 12.0.
- From version `6.3.0`, we use `xcframework` for iOS platform. Then you need to use cocoapods version >= 1.10
- From version `6.2.30`, `logCrossPromotionAndOpenStore` api will register as `af_cross_promotion` instead of `af_app_invites` in your dashboard.
Click on a link that was generated using `generateInviteLink` api will be register as `af_app_invites`.- From version `6.0.0` we have renamed the following APIs:
| Old API | New API |
| ----------------------------- | ----------------------------- |
| trackEvent | logEvent |
| trackLocation | logLocation |
| stopTracking | stop |
| trackCrossPromotionImpression | logCrossPromotionImpression |
| trackAndOpenStore | logCrossPromotionAndOpenStore |
| setDeviceTrackingDisabled | anonymizeUser |
| AppsFlyerTracker | AppsFlyerLib |And removed the following ones:
- trackAppLaunch -> no longer needed. See new init guide
- sendDeepLinkData -> no longer needed. See new init guide
- enableUninstallTracking -> no longer needed. See new uninstall measurement guideIf you have used 1 of the removed APIs, please check the integration guide for the updated instructions.
---
## ๐ Getting Started
- [Installation](/Docs/RN_Installation.md)
- [**_Expo_** Installation](/Docs/RN_ExpoInstallation.md)
- [Integration](/Docs/RN_Integration.md)
- [Test integration](/Docs/RN_Testing.md)
- [In-app events](/Docs/RN_InAppEvents.md)
- [Uninstall measurement](/Docs/RN_UninstallMeasurement.md)
- [Send consent for DMA compliance](/Docs/RN_CMP.md)## ๐ Deep Linking
- [Integration](/Docs/RN_DeepLinkIntegrate.md)
- [**_Expo_** Integration](/Docs/RN_ExpoDeepLinkIntegration.md)
- [Unified Deep Link (UDL)](/Docs/RN_UnifiedDeepLink.md)
- [User Invite](/Docs/RN_UserInvite.md)## ๐งช Sample Apps
- [React-Native Sample App](/demos/appsflyer-react-native-app)
- [๐ Expo Sample App](https://github.com/AppsFlyerSDK/appsflyer-expo-sample-app)### [API reference](/Docs/RN_API.md)