ReactNative SDK Integration
The RudderStack ReactNative SDK also enables you to collect the advertising IDs. You can use the setAdvertisingId method to pass your Android and iOS AAID (Android Advertising ID) and IDFA (iOS Advertising Id), respectively.
The ReactNative SDK also lets you use an anonymous Id instead of the device Id in order to better integrate with other systems in your deployment.
Frequently Asked Questions
What is React Native?
What is the need to use the await keyword?
The await keyword ensures that the functions are synchronous. We highly recommend using the await keyword with the setup call to make sure that the SDK has been properly set up before any further calls are made.
Does Android build fail after adding the SDK to your Application?
Try using Android Studio to build your application. This should fix most of the errors.
What is React?
Use the ReactNative SDK integration with popular destinations
About ReactNative SDK
RudderStack’s open source React Native SDK enables you to start sending event data to any analytics, marketing, sales, and product tools. You can send event data to destinations such as Amplitude, Google Analytics, and more, without having to test or implement a new API every single time.
When using device mode, the React Native SDK wraps the Android and iOS libraries and loads the suitable library depending on the user’s mobile platform.