What you can do with ReactNative SDK
Capture user events that highlight customer's unique behavioral traits or event-specific traits, including unique User ID, and other optional traits such as email or name
Record user screens whenever a customer uses your mobile app, along with relevant information about the page being viewed
Control the amount of log you want to see from the SDK along with the minimum waiting time to flush the events to the server
How to set up ReactNative SDK Integration?
It's quite simple! Refer to our step-by-step guide and start using the ReactNative SDK in no time!
Get more out of RudderStack's ReactNative SDK
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.
How can we help you?
No, you don't need to link the SDK as it is auto-linked. If you have linked it using react-native link and are facing issues, use react-native unlink rudder-sdk-react-native to unlink it.
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.
Try using Android Studio to build your application. This should fix most of the errors.