Native Bindings for the amplitude Library for both IOS and Android.
- Install platform specific SDK according to instructions
npm install --save react-native-amplitude-sdkreact-native link react-native-amplitude-sdk
This is probably fixable in the react-native link setup but:
In MainApplication.java of the react-native project change:
new AmplitudeSDKAndroidPackage(),
into:
new AmplitudeSDKAndroidPackage(getApplication()),