← All SDKs and distributions

MapmyIndia Intouch iOS SDK

A Mappls sdk for maps, tracking telematics, workforce, gis analytics, identity platform across iOS.

deprecatedDo Not Startstateful
Do Not Start

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.
PlatformiOSText
Source activityHistoricalLast repository push 2021-07-16
CorrespondenceExact1 minimized local candidates; candidates are not compatibility proof
Captured documentation12 sections8 source samples · 5 endpoint signals

Products and prerequisites

  • An iOS project with Xcode and the package manager required by the source release
  • 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.

3 matching sections

Setup a Project

This guide allows you to add a live location tracking to an iOS app.

Xcode IDE recommended Xcode 11.0 only.

Step 1. Download the IntouchDemo App.

to download the IntouchDemo App Project. And then open this project.

NOTE:- This is only applicable in Demo app

Step 2. Set your Publishable key / Project Initiation

Setup a project

1. Open Xcode Project. 2. Create a new project as follows: - Create New Application - Select Single Application - Select Next

3. Enter your app name, project location,Bundle Indentifier language(Swift) and minimum API version as prompted. Then click Next.

After this Xcode will contain two files viewcontroller& Appdelegate, Setting , StartBeacon

4. Create Setting and Start Beacon Screen Through Storyboard(Reference demo app for this.)

5. Go to framework and libraries option in General Settings of the project click on embeded and sign-in.

6. In capabilities go to background mode it should be enabled background fetch,& location updates.

Initialize InTouch SDK

Initialize the SDK with your Publishable Key

Source code evidence

Use these fragments to understand integration shape. They may belong to an older toolchain or authentication generation.

6 shown
Setup a ProjectText
Drag and Drop the SampleTest-Bridging.h file (which is provided in the project) to your Briding Header in Build Setting of the project.
Add following compulsory lines to your applications for Upload app on Text
Drag and drop Strip-frameworks.sh file in project  to run script in build phase.
File path is ------ bash "yourStripFIlePath/strip-frameworks.sh"
Add following compulsory lines to your applications for Upload app on Text
func  application(_ application: UIApplication,performFetchWithCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) {
OpenLocate.shared.performFetchWithCompletionHandler(completionHandler)
}
Add your Publisher key in client Id and Client Secret and add deviceNaText
Intouch.shared.intouchInitilization(clientID: "YOUR_CLIENTID", ClientSecret: "YOUR_CLIENTSECRET", successResponse: { (Success) in print(Success) }) { (error) in print(error?.localizedDescription) } }
Create deviceText
Import CoreLocation
Import beaconframework

Set delegate  UNUserNotificationCenterDelegate  private  let  locationManager = CLLocationManager()

override  func  viewDidLoad() {
super.viewDidLoad()
if  Intouch().shared.isTrackingEnabled {
onStartTracking()
}

locationManager.delegate = self 

private  func  storedAuthorizationStatus() -> CLAuthorizationStatus {
let authorizationStatusRaw = Int32(UserDefaults.standard.integer(forKey: "AuthorizationStatus"))
return  CLAuthorizationStatus(rawValue: authorizationStatusRaw) ?? .authorizedAlways
}

func  locationManager(_ manager: CLLocationManager, didChangeAuthorization status: CLAuthorizationStatus) {
switch status {
case .denied:
self.showAlert(status: "Denied", msg: "The user explicitly denied the use of location service for this app or location service are currently disabled in Settings")
return
case .restricted :
self.showAlert(status: "Restricted", msg: "The user has not yet made a choice regarding whether this app can use location services.")
return
default:
return
}
}
Call the below method to track your app user's phone live location. MaText
Intouch().StartTracking()

Connected implementation paths

Exact source paths

No quickstart or starter explicitly names this source. Continue through the platform path without claiming direct lineage.

Production compatibility checklist

A clean demo is the beginning of the decision, not its conclusion.

  1. 01

    Confirm the exact package or artifact identifier and version with the owning Mappls product team; a repository name is not a package contract.

  2. 02

    Verify platform toolchain, operating-system, architecture, host-application, and transitive-dependency compatibility from a clean build.

  3. 03

    Bind only the documented credential class and restriction to its intended client or trusted-server runtime; never commit or log a secret.

  4. 04

    Verify account entitlement, region, quota, endpoint generation, data rights, and applicable commercial terms independently.

  5. 05

    Exercise initialization, ready, denied, empty, offline, timeout, cancellation, background/resume, and teardown paths.

  6. 06

    Pin dependency and native artifact integrity evidence; retain source fingerprint, selected version, lockfile, build provenance, and approving owner.

  7. 07

    For stateful or hybrid behavior, persist application state outside the SDK and prove idempotency, reconciliation, audit, privacy, and recovery.

  8. 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.

mapmyindia-intouch-ios-sdkcontenthub/dochub/mapmyindia-intouch-ios-sdklocal-contenthub-dochub-mapmyindia-intouch-ios-sdk