Initial SDK Setup

indigitall-cordova-plugin — Dependencies

Version: 5.1.0
Author: Smart2me S.L.
Platforms: Android, iOS


Engine Requirements

EngineMinimum version
cordova>= 8.1.2
cordova-android>= 13.0.0
cordova-ios>= 8.0.0
Xcode>= 16.0.0
iOS (OS)>= 15.0.0

Android

Libraries

DependencyVersionRepository
com.indigitall:android7.0.+Maven Central
com.google.firebase:firebase-messaging25.0.2Google
com.google.android.gms:play-services-location21.3.0Google
androidx.appcompat:appcompat1.7.1Maven Central
androidx.cardview:cardview1.0.0Maven Central

Build classpath

DependencyVersion
com.android.tools.build:gradle8.9.3
com.google.gms:google-services4.3.13

Required files

  • google-services.json must be present in the Android project root.

Permissions

PermissionDescription
android.permission.INTERNETRequired for all network communication
android.permission.RECEIVE_BOOT_COMPLETEDRestores scheduled tasks after device reboot
android.permission.WAKE_LOCKKeeps the CPU awake to process notifications

iOS

CocoaPods

PodVersion
indigitall-ios~> 6.21.0

Swift Package Manager (SPM)

PackageSourceVersion
cordova-iosgithub.com/apache/cordova-ios>= 8.0.0
ios-sdk-pod (Indigitall)bitbucket.org/indigitallfuente/ios-sdk-pod6.21.0 ..< 6.22.0

Native frameworks

Framework
CoreLocation.framework

Deployment target

  • Minimum iOS version: 15.0 (deployment target 15.6)

Background modes (UIBackgroundModes)

ModeDescription
remote-notificationRequired for push notifications
fetchBackground content fetching
locationBackground location updates
processingBackground processing tasks

Push Notification entitlements

The following entitlements must be configured in the Xcode project:

EnvironmentValue
Debugaps-environment: development
Releaseaps-environment: production

Info.plist — Location usage descriptions

KeyDefault description
NSLocationWhenInUseUsageDescriptionThis app requires access to your location when the screen is on and the app is displayed.
NSLocationAlwaysAndWhenInUseUsageDescriptionThis app requires constant access to your location in order to track your position, even when the screen is off or the app is in the background.
NSLocationAlwaysUsageDescription (iOS 11 and below)This app requires constant access to your location in order to track your position, even when the screen is off or the app is in the background.