Mapmyindia Intouch React Native SDK
A Mappls sdk for tracking telematics, workforce, gis analytics, identity platform across React Native.
Compatibility decision
Do not start a new production build from this evidence. Contain existing use, identify a supported target, migrate with rollback, and retire the dependency.
Repository content, activity, code fragments, and local correspondence are discovery evidence only. They do not establish a supported package coordinate, binary identity, current version, account entitlement, runtime pairing, production compatibility, or approval.Source and identity
- Public source
- Open repository ↗
- Captured document
- Open source documentation ↗
- Default branch
main- Lifecycle risk
- Retire
- Authentication signals
- oauth2
Products and prerequisites
- A React Native project with both native build environments
- OAuth client credentials issued for the intended Mappls project
Install and configuration guidance
These statements are reproduced as normalized repository evidence. Validate coordinates and versions before copying them into a project.
Setup
We use your Client ID to identify your account details and assign all your user's devices under a single account.
To get your Outh2 Rest API Client ID and Client Secret please login to MapmyIndia API Dashboard
Please contact apisupport@mapmyindia.com to get InTouch SDK access to your Client ID
After getting the access, you can start with the InTouchDemo app, or Integrate the InTouch SDK in your app.
Getting started
Install the below mentioned library in your project.
npm install mapmyindia-intouch-react-native-sdk --save
• If using React-native<0.60 react-native link mapmyindia-intouch-react-native-sdk
Installation
For Android and Ios add the below mentioned lines
Step 3: Initialize Intouch SDK
Initialize the SDK with your Client ID and Client Secret and device name.Device name helps to identify the user on Portal.
Source code evidence
Use these fragments to understand integration shape. They may belong to an older toolchain or authentication generation.
allprojects {
repositories {
mavenLocal()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url("$rootDir/../node_modules/react-native/android")
}
maven {
// Android JSC is installed from npm
url("$rootDir/../node_modules/jsc-android/dist")
}
+ maven { url 'https://maven.mapmyindia.com/repository/mapmyindia/'}
google()
jcenter()
maven { url 'https://www.jitpack.io' }
}
}defaultConfig {
applicationId "com.intouch_react_native_sample"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0"
+ multiDexEnabled true
}import MapmyIndiaIntouch from 'mapmyindia-intouch-react-native-sdk';const status = await MapmyIndiaIntouch.isInitialized();MapmyIndiaIntouch.initialize(deviceName,clientId,clientSecret)
.then(entityId => {
console.log(entityId);
}).catch(err=>{
console.log(err.message)
});const status = await MapmyIndiaIntouch.isRunning()Connected implementation paths
Exact source paths
No quickstart or starter explicitly names this source. Continue through the platform path without claiming direct lineage.
Adjacent platform paths
Platform guidance—not package compatibilityBridge one map feature across Android and iOSMigration evidence
Direct LineageInTouch React Native bridge lineageProduction compatibility checklist
A clean demo is the beginning of the decision, not its conclusion.
- 01
Confirm the exact package or artifact identifier and version with the owning Mappls product team; a repository name is not a package contract.
- 02
Verify platform toolchain, operating-system, architecture, host-application, and transitive-dependency compatibility from a clean build.
- 03
Bind only the documented credential class and restriction to its intended client or trusted-server runtime; never commit or log a secret.
- 04
Verify account entitlement, region, quota, endpoint generation, data rights, and applicable commercial terms independently.
- 05
Exercise initialization, ready, denied, empty, offline, timeout, cancellation, background/resume, and teardown paths.
- 06
Pin dependency and native artifact integrity evidence; retain source fingerprint, selected version, lockfile, build provenance, and approving owner.
- 07
For stateful or hybrid behavior, persist application state outside the SDK and prove idempotency, reconciliation, audit, privacy, and recovery.
- 08
Release by a bounded cohort with observable rollback; repository activity or a successful fixture is never production compatibility evidence.
Local repository candidates
Only minimized identity evidence is exposed. Review candidates side by side; do not assume they are the same release line.
contenthub/dochub/mapmyindia-intouch-react-native-sdklocal-contenthub-dochub-mapmyindia-intouch-react-native-sdk