react-native-amplitude-sdk

React Native wrapper for Amplitude.

Usage no npm install needed!

<script type="module">
  import reactNativeAmplitudeSdk from 'https://cdn.skypack.dev/react-native-amplitude-sdk';
</script>

README

react-native-amplitude-sdk

npm npm npm CircleCI branch

React Native wrapper for Amplitude.

Setup

# 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"

Then run:

pod install

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.

Run:

npm install --save git+https://github.com/arthur31416/react-native-amplitude-sdk.git

Read instructions (2, 3 and 4): Amplitude for iOS

Android

Coming soon, PRs welcome!

Usage

TODO