You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on SegmentIO (https://segment.com) Analytics project.
5
+
Based on Segment (https://segment.com) Analytics project.
6
6
See [iOS SDK](https://github.com/segmentio/analytics-ios) and [Android SDK](https://github.com/segmentio/analytics-android).
7
7
8
8
9
9
## iOS Installation
10
-
1. Download and install the npm package by running `npm install --save react-native-segment-io-analytics`
10
+
1. Download and install the npm package by running `npm install --save react-native-analytics`
11
11
2. In your Podfile, add `pod "Analytics"` to your project.
12
12
3. Inside Xcode (make sure you've opened your `.xcworkspace` file), go to the project navigator and right click `Libraries` -> `Add Files to [your project's name]`.
13
-
4. Go to `node_modules` -> `react-native-segment-io-analytics` -> and choose the `RNSegmentIOAnalytics.xcodeproj` file.
14
-
5. Make sure your project links to *libAnalytics.a*and *libRNSegmentIOAnalytics.a*(The libraries should be listed under "Build Phases -> Link Binary With Libraries").
13
+
4. Go to `node_modules/react-native-analytics/ios` -> and choose the `RNAnalytics` folder.
14
+
5. Make sure your project links to *libAnalytics.a* (The libraries should be listed under "Build Phases -> Link Binary With Libraries". Should happen automatically if you use cocoapods).
15
15
16
16
## Android Installation
17
-
1. Download and install the npm package by running `npm install --save react-native-segment-io-analytics`
17
+
1. Download and install the npm package by running `npm install --save react-native-analytics`
18
18
2. If using [rnpm](https://github.com/rnpm/rnpm), run `rnpm link`. Otherwise add to `android/app/src/main/java/com/your-app-name/MainActivity.java`:
0 commit comments