Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 764 Bytes

README.md

File metadata and controls

29 lines (17 loc) · 764 Bytes

react-native-amplitude-sdk

npm version

Native Bindings for the amplitude Library for both IOS and Android.

Installation

  1. Install platform specific SDK according to instructions
  2. npm install --save react-native-amplitude-sdk
  3. react-native link react-native-amplitude-sdk

Android specific

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()),