Skip to main content

Location-Based Access Control

docs image

Location-Based Access Control

Restricting App Suite usage to store locations

The use of App Suite can be restricted to a certain radius from the configured location for the store you're currently logged on to.

1. Add a location to your Store

In order to determine if you're out of range for a specific store, we need the store location. You can configure this by setting the store's appropriate coördinates in Admin Suite under Organizations > 'Your Store' > General Information > Latitude & Longitude.

2. Set up Location Restriction settings

To enable Location-Based Access Control, set App Setting App:ShopLocation:Restricted to true and set App:ShopLocation:Radius to the radius in meters within which the app should be functional.

3. App Location Permissions

Now, in order for us to determine the location of the actual device, you will be prompted to give App Suite permission to view your location. This prompt will give your four different options:

  1. Deny access: If the user selects this, and location restriction is enabled, the app is blocked from use.
  2. Ask Next time or When I Share: These are fine, as long as permission is given when needed.
  3. While using the app: This will work fine.
  4. Always: This will work fine.

4. Implications

With all of this set up, we will check the user's current location after having logged in to a store. If location-based access restrictions apply, we will verify whether the user is located within the specified area. If not, the following will be shown:


If location-based access restrictions apply, but the user hasn't given permission for location sharing, the following will be shown: