Package Exports
- react-native-amplitude-sdk
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-amplitude-sdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
react-native-amplitude-sdk
React Native wrapper for Amplitude.
Setup
# Yarn
yarn add react-native-amplitude-sdk
# NPM
npm install --save react-native-amplitude-sdkiOS with Cocoapods
Add the following to your Podfile:
pod "react-native-amplitude-sdk", path: "../node_modules/react-native-amplitude-sdk"Then run:
pod installYou're done! 🎉
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.
Run:
npm install --save git+https://github.com/arthur31416/react-native-amplitude-sdk.gitRead instructions (2, 3 and 4): Amplitude for iOS
Android
Coming soon, PRs welcome!
Usage
TODO