journey.hardware
Last updated
Last updated
Property | Description | Example |
---|---|---|
journey.hardware.getCurrentLocation
Limitation
Capturing the altitude
and/or vertical_accuracy
is not supported on several platforms / devices, including Android devices. These devices will return undefined
or null
for these fields.
journey.hardware.scanBarcode
getCurrentLocation
Returns the device's current GPS location as a location
object.
Note: This feature was introduced in version 4.81.1 of the JourneyApps Runtime.
scanBarcode
Launches the barcode scanner programmatically.
Accepts the following optional parameters:
extensions
- One or more supported barcode extensions
prompt
- See details here
allowManualEntry
- See details here
Note: This feature was introduced in version 4.81.1 of the JourneyApps Runtime.