Configuration
Set these options in your app’s AndroidManifest.xml or Info.plist. For a Boolean in Info.plist, select YES or NO in Xcode’s property list editor. In XML, use <true/> or <false/>.
| Parameter | OS | Type | Description |
|---|---|---|---|
HyperTrackPublishableKey | Both | String | Your HyperTrack Publishable Key Required |
HyperTrackAllowMockLocation | Both | Boolean | Allow mocking locations (if set to false any mocked location will be filtered and the outage will be displayed in the Dashboard) Default: false |
HyperTrackForegroundNotificationTitle | Android | String Resource | Title of the foreground service notification |
HyperTrackForegroundNotificationText | Android | String Resource | Text of the foreground service notification |
HyperTrackAppTerminationNotification | iOS | Boolean | Allows the HyperTrack SDK to schedule a local reminder to reopen the app. Defaults to false. |
HyperTrackAppTerminationNotificationTitle | iOS | String | Optional reminder title. Defaults to “Keep this app open”. |
HyperTrackAppTerminationNotificationBody | iOS | String | Optional reminder message. Defaults to “To keep your work status up to date, leave this app running in the background. Reopen it if you close it.” |