1.2.4 • Published 7 years ago
react-native-analytics-khabari v1.2.4
react-native-analytics-library
Getting started
$ npm install react-native-analytics-library --save
Mostly automatic installation
$ react-native link react-native-analytics-library
Manual installation
iOS
- In XCode, in the project navigator, right click
Libraries➜Add Files to [your project's name] - Go to
node_modules➜react-native-analytics-libraryand addRNAnalyticsLibrary.xcodeproj - In XCode, in the project navigator, select your project. Add
libRNAnalyticsLibrary.ato your project'sBuild Phases➜Link Binary With Libraries - Run your project (
Cmd+R)<
Android
- Open up
android/app/src/main/java/[...]/MainActivity.java
- Add
import com.reactlibrary.RNAnalyticsLibraryPackage;to the imports at the top of the file - Add
new RNAnalyticsLibraryPackage()to the list returned by thegetPackages()method
- Append the following lines to
android/settings.gradle:include ':react-native-analytics-library' project(':react-native-analytics-library').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-analytics-library/android') - Insert the following lines inside the dependencies block in
android/app/build.gradle:compile project(':react-native-analytics-library')
Windows
- In Visual Studio add the
RNAnalyticsLibrary.slninnode_modules/react-native-analytics-library/windows/RNAnalyticsLibrary.slnfolder to their solution, reference from their app. - Open up your
MainPage.csapp
- Add
using Analytics.Library.RNAnalyticsLibrary;to the usings at the top of the file - Add
new RNAnalyticsLibraryPackage()to theList<IReactPackage>returned by thePackagesmethod
Usage
import RNAnalyticsLibrary from 'react-native-analytics-library';
// TODO: What to do with the module?
RNAnalyticsLibrary;1.2.4
7 years ago
1.2.3
7 years ago
1.2.0
8 years ago
1.1.8
8 years ago
1.1.7
8 years ago
1.1.6
8 years ago
1.1.5
8 years ago
1.1.4
8 years ago
1.1.3
8 years ago
1.1.2
8 years ago
1.1.1
8 years ago
1.1.0
8 years ago
1.0.9
8 years ago
1.0.8
8 years ago
1.0.7
8 years ago
1.0.6
8 years ago
1.0.5
8 years ago
1.0.4
8 years ago
1.0.3
8 years ago
1.0.2
8 years ago
1.0.1
8 years ago
1.0.0
8 years ago