React Native wrapper for Amplitude.
# Yarn yarn add react-native-amplitude-sdk # NPM npm install --save react-native-amplitude-sdk
iOS with Cocoapods
Add the following to your Podfile:
pod "react-native-amplitude-sdk", path: "../node_modules/react-native-amplitude-sdk"
You're done! :tada:
NOTE Your relative path to
node_modules may differ.
iOS with Carthage
Currently, the npm module doesn't work well with Carthage. See this issue for details.
npm install --save git+https://github.com/arthur31416/react-native-amplitude-sdk.git
Read instructions (2, 3 and 4): Amplitude for iOS
Coming soon, PRs welcome!