Location constraint

Before you start
Get familiar with our Dynamic QR code.

Adding an extension to a scenario adds some enhanced behaviour to the Yoti app when scanning a QR code.

This extension allows the integrator to provide an expected location area where the device should be when doing the share. During the share completion the location information in the QR code are used to validate the device location. Given the accuracy of the device location, the expected location area must include a maximum uncertainty radius, above which the share will be rejected. The share will be cancelled if the device is not within the expected location.

Javascript
Java
Copy
ParameterUnitsDescription
Latitudedecimal degreesDevice's latitude
Longitudedecimal degreesDevice's longitude
RadiusmetersRadius of the circle centred on the specified location coordinates where the device is allowed to perform the share. (Default 150)
Max UncertaintymetersMaximum acceptable length of the radius representing the area of uncertainty associated with the device location coordinates. (Default 150)
Javascript
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
On This Page
Location constraint