6.3.0 • Published 2 years ago

react-native-appsmiles-apm v6.3.0

Weekly downloads
96
License
-
Repository
-
Last release
2 years ago

react-native-appsmiles-apm

Getting started

$ npm install react-native-appsmiles-apm --save

iOS
  1. Add Podfile in folder ios
  2. Add theses code in Podfile

    platform :ios, '9.0'
    use_frameworks!
    require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
    
    source 'https://gitlab.appsmiles.eu/appsmiles/APMSpecs.git'
    source 'https://github.com/CocoaPods/Specs.git'
    
    target 'example' do
      # Pods for example
    
      # Others pods...
    
      pod 'RCTAPM', :path => '../node_modules/react-native-appsmiles-apm/ios'
    
      use_native_modules!
    end
  3. Launch the command line pod install

Android
  1. Insert the following lines inside the dependencies block in android/app/build.gradle:
    implementation project(':react-native-appsmiles-apm')
  2. In global android/build.gradle

    Properties properties = new Properties()
    properties.load(project.rootProject.file('local.properties').newDataInputStream())
    
    //...
    
    allprojects {
        repositories {
            //...
            maven {
                url 'https://artifactory.appsmiles.eu/artifactory/list/appsmiles/'
                credentials {
                    username = properties.getProperty("maven_appsmiles.username")
                    password = properties.getProperty("maven_appsmiles.password")
                }
            }
        }
    }
  3. Add maven_appsmiles.username and maven_appsmiles.password in file android/local.properties with your credentials

    maven_appsmiles.username=USERNAME
    maven_appsmiles.password=PASSWORD
  4. Init the SDK APMPublic.sharedInstance(this); //Init in MainApplication.java and main thread in the method onCreate()

Usage

import {
  APMModule,
  APMConfigModule,
  APMUIServicesUserModule,
  APMDeeplinkUtilsModule,
  APMUserPropertiesUtilsModule
} from 'react-native-appsmiles-apm';
6.3.0

2 years ago

6.2.1

2 years ago

6.2.0

2 years ago

6.2.3

2 years ago

6.2.2

2 years ago

6.2.1-beta1

2 years ago

6.1.0

2 years ago

6.1.1-beta2

2 years ago

6.0.2

3 years ago

6.0.1

3 years ago

6.0.0

3 years ago

5.8.2

3 years ago

5.8.1

3 years ago

5.8.0

3 years ago

5.7.5

3 years ago

5.7.1

3 years ago

5.7.0

3 years ago

5.6.4

3 years ago

5.6.3

3 years ago

5.6.2

3 years ago

5.6.1

4 years ago

5.6.0

4 years ago

5.5.1

4 years ago

5.5.0

4 years ago

5.4.0

4 years ago

5.3.0

4 years ago

5.2.0

4 years ago

5.1.6

4 years ago

5.1.5

4 years ago

5.1.4

4 years ago

5.1.3

4 years ago

5.1.2

4 years ago

5.1.0

4 years ago

5.0.0

5 years ago

4.5.3

5 years ago

4.5.2

5 years ago

4.5.1

5 years ago

4.5.0

5 years ago

4.4.0

5 years ago

4.3.1

5 years ago

4.3.0

5 years ago

4.1.3

5 years ago

4.1.2

5 years ago

4.1.0

5 years ago

4.0.0

5 years ago

4.0.0-beta1

5 years ago

3.1.8

5 years ago

3.1.7

5 years ago

3.1.6

6 years ago

3.1.5

6 years ago

3.1.4

6 years ago

3.1.2

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago

1.0.0-beta.1

6 years ago