Dolphin MOVE SDK
SDK
1.x
1.x
  • Introduction
  • MOVE Services
  • MOVE SDK
    • Getting Started
      • MOVE Dashboard
      • Android
        • Installation
        • Quick Start
      • iOS
        • Installation
        • Quick Start
      • React Native
    • API Interface
      • Android
        • Initialization
        • Services
      • iOS
        • Initialization
        • Services
      • React Native
        • Initialization
        • Services
    • Models
      • MoveAuth
      • MoveConfig
      • MoveConfigurationError
      • MoveDeviceStatus
      • MoveSDKState
      • MoveTripState
      • MoveAuthState
      • Listeners/Callbacks
    • Appendix
      • Android
        • Token refresh
        • Permission Handling
        • Battery optimization
        • Notification Management
      • iOS
        • Permissions Handling
        • App Store
  • MOVE Backend
    • MOVE Timeline
    • MOVE State
    • MOVE Last Location
    • MOVE Generic Notifier
    • Open Api Specification
  • Changelog
    • Android
    • iOS
  • Data privacy (GDPR)
Powered by GitBook
On this page
  • Installation
  • Setup
  • iOS
  • Android
  • Permissions
  1. MOVE SDK
  2. Getting Started

React Native

Getting Started

PreviousQuick StartNextAPI Interface

Last updated 2 years ago

Installation

npm install react-native-move-sdk --save
#or
yarn add react-native-move-sdk

Setup

iOS

Configuration

  1. Using the terminal, access the iOS folder in your project

  2. Run $pod install

  3. Open the .xcworkspace folder using Xcode

  4. Go to the Capabilities tab of your target settings

  5. Turn on Background Modes and enable Location updates

Android

Include the maven repository to your gradle build script, where the MOVE SDK package is located.

maven { 
    url "https://dolphin.jfrog.io/artifactory/move-sdk-libs-release" 
}

Add the dependency for the MOVE SDK Android library to your module (app-level) Gradle file (usually app/build.gradle).

Permissions

System Permissions

You can check for latest releases here:

Based on the passed on, the SDK determines the required permissions to activate the requested services. If all permissions are granted when the SDK is initialised, it will transit to the "ready". The host app must verify that all the permissions required for the passed configs are granted. In case the required permissions were missing when calling the SDK API, the will transit to "permissionMissingerror".

Check and for details about permissions and background modes required for each service.

https://dolphin.jfrog.io/ui/native/move-sdk-libs-release/io/dolphin/move/move-sdk
MoveConfigs
initialization
MoveSDKState
initialization
MoveSDKState
MoveSDKState
iOS permission handling
Android permission handling
Location updates background mode capability