journey.hardware
Last updated
Last updated
getCurrentLocation
Returns the device's current GPS location as a object.
Note: This feature was introduced in version 4.81.1 of the JourneyApps Runtime.
scanBarcode
Launches the programmatically.
Accepts the following optional parameters:
types
-
extensions
-
prompt
- See details
allowManualEntry
- See details
Note: This feature was introduced in version 4.81.1 of the JourneyApps Runtime.
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