React native integration

Version 5.1 by Developer on 2020/01/02 11:01

Overview

The plugin is located at npmjs repositories (npm repositories)
This plugin is built for:

  • Mobigate SDK version 1.0.4

Adding SDK to the project

First, install library from the repository with

yarn add react-native-mobigate

or

npm install react-native-mobigate --save

Link newly added plugin

  • React Native >= 0.60
    Starting from React Native 0.60, autolinking makes the installation process simpler
  • React Native <= 0.59
    • Mostly automatic installation:
      react-native link react-native-mobigate
    • Manual installation:

Api methods

SDK initialization

Tracking in app events

Remaining methods

Constants

Sample app

Tags:
Created by Admin on 2019/12/30 10:45
Spicy Mobile
spicymobile.pl