2.1.2 • Published 7 years ago
react-native-appsmiles-apmservices v2.1.2
react-native-appsmiles-apmservices
Getting started
$ npm install react-native-appsmiles-apmservices --save
Mostly automatic installation
$ react-native link react-native-appsmiles-apmservices
iOS
- Add
Podfilein folderios - Add
pod 'APMServices', '~> 2.1.2' - Launch the command line
pod install
Android
- Insert the following lines inside the dependencies block in
android/app/build.gradle:compile project(':react-native-appsmiles-apmservices') - In global
android/build.gradleallprojects { repositories { //... maven { url 'https://dl.bintray.com/moonmiles/appsmiles' } } } - Init the SDK
APMServicesPublic.sharedInstance(this); //Init in MainApplication.java and main threadin the methodonCreate()
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-appsmiles-apmservicesand addRCTAPMServices.xcodeproj - In XCode, in the project navigator, select your project. Add
libRCTAPMServices.ato your project'sBuild Phases➜Link Binary With Libraries - Add
Podfilein folderios - Add
pod 'APMServices', '~> 2.1.2' - Launch the command line
pod install
Android
- Open up
android/app/src/main/java/[...]/MainApplication.java - Add
import com.moonmiles.APMReactPackage;andimport com.moonmiles.apmservices.sdk.APMServicesPublic;to the imports at the top of the file - Add
new APMReactPackage()to the list returned by thegetPackages()method - Append the following lines to
android/settings.gradle:include ':react-native-appsmiles-apmservices' project(':react-native-appsmiles-apmservices').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-appsmiles-apmservices/android') - Insert the following lines inside the dependencies block in
android/app/build.gradle:compile project(':react-native-appsmiles-apmservices') - In global
android/build.gradleallprojects { repositories { //... maven { url 'https://dl.bintray.com/moonmiles/appsmiles' } } } - Init the SDK
APMServicesPublic.sharedInstance(this); //Init in MainApplication.java and main threadin the methodonCreate()
Usage
import {
APMServicesModule,
APMServicesConfigModule,
APMServicesAdModule,
APMServicesGenerosityModule,
APMServicesGiftModule,
APMServicesLogModule,
APMServicesPageModule,
APMServicesPartnerModule,
APMServicesStatisticModule,
APMServicesStoreModule,
APMServicesUserModule
} from 'react-native-appsmiles-apmservices';2.1.2
7 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.1
8 years ago
1.0.1-beta.1
8 years ago
1.0.0
8 years ago
1.0.0-beta.15
8 years ago
1.0.0-beta.14
8 years ago
1.0.0-beta.13
8 years ago
1.0.0-beta.12
8 years ago
1.0.0-beta.11
8 years ago
1.0.0-beta.10
8 years ago
1.0.0-beta.9
8 years ago
1.0.0-beta.8
8 years ago
1.0.0-beta.7
8 years ago
1.0.0-beta.6
8 years ago
1.0.0-beta.5
8 years ago
1.0.0-beta.4
8 years ago
1.0.0-beta.3
8 years ago
1.0.0-beta.2
8 years ago
1.0.0-beta.1
8 years ago