Geo-fencing & geo-blocking on a state by state basis

Looking for some help on geo-fencing & geo-blocking.


Our team would like to use the UIRequiredDeviceCapabilities key, to restrict users who live in certain states.


Has anyone else implemented geo-blocking/geo-fencing on a state by state basis? If yes, is this the method you used? Also, open to hearing other methods if recommended. Thank you!

Posted on May 18, 2021 4:49 AM

Reply
Question marked as Top-ranking reply

Posted on May 18, 2021 7:25 AM

First of all, you are talking about 3 completely different things. Actually you have only mentioned two, but a 3rd is implied.


UIRequiredDeviceCapabilities does pretty much what the name says. It identifies the capabilities required for your app to run. It says absolutely nothing about geo-blocking or geo-fencing. It merely allows your app to be installed on devices that could, strictly in theory, support your requirements.


I don't know the reason for your geofencing request. Most of the technology to support geofencing is based on typical consumer device usage. You can tell Siri to remind you about something when you "get home" or "get to work". But to use it for anything that is based on a political boundary, of any kind, is, at a minimum, a legal mine field. If you are doing it to support something like sales taxes, then it may be suitable as part of a "best effort" to determine your sales tax compliance. However, I am not a lawyer. There are also 50 states, at least in the US. You didn't specify your country. You will need official advice from both your accountant and your attorney, both of whom should be legally qualified to make such an assessment.


If you are using that geo-fencing for something other than sales taxes, then probably won't need advice from your accountant. You will still need advice from an attorney, but it will have to be a much more expensive attorney than the one you talked to for the sales taxes.


And finally, you didn't mention the platform. I assume you are talking about Apple platforms because of where we are. Is this for iOS or macOS? Specifically, is the App Store or non-App Store? If it is non-App Store, then you can proceed based on the legal advice you have received at this point.


If this is for the App Store, then you also have to pass App Review. Apple's App Review guidelines suggest that geo-restrictions can only be used to comply with legal requirements. Apple only mentions this in the context of apps that support real-money gambling. Whether Apple will approve your app for this purpose, or any other purpose, is solely based on the decision from App Review. Furthermore, Apple can, and does, change its mind on such things on a regular basis. If your company is going to depend on this market for its existence, then you should probably also have venture capitol funding and maybe business insurance. Essentially, you are giving some anonymous person at Apple, after a few weeks of training (maybe?) the power to end your business before lunch time.


If you are implementing geo-fencing as a way to alert the user that they are within walking distance of a coffeeshop or some other beacon, as an example, then go for it. For any other reason, I strongly recommend some other type of app.

Similar questions

3 replies
Question marked as Top-ranking reply

May 18, 2021 7:25 AM in response to Joe_LTVR

First of all, you are talking about 3 completely different things. Actually you have only mentioned two, but a 3rd is implied.


UIRequiredDeviceCapabilities does pretty much what the name says. It identifies the capabilities required for your app to run. It says absolutely nothing about geo-blocking or geo-fencing. It merely allows your app to be installed on devices that could, strictly in theory, support your requirements.


I don't know the reason for your geofencing request. Most of the technology to support geofencing is based on typical consumer device usage. You can tell Siri to remind you about something when you "get home" or "get to work". But to use it for anything that is based on a political boundary, of any kind, is, at a minimum, a legal mine field. If you are doing it to support something like sales taxes, then it may be suitable as part of a "best effort" to determine your sales tax compliance. However, I am not a lawyer. There are also 50 states, at least in the US. You didn't specify your country. You will need official advice from both your accountant and your attorney, both of whom should be legally qualified to make such an assessment.


If you are using that geo-fencing for something other than sales taxes, then probably won't need advice from your accountant. You will still need advice from an attorney, but it will have to be a much more expensive attorney than the one you talked to for the sales taxes.


And finally, you didn't mention the platform. I assume you are talking about Apple platforms because of where we are. Is this for iOS or macOS? Specifically, is the App Store or non-App Store? If it is non-App Store, then you can proceed based on the legal advice you have received at this point.


If this is for the App Store, then you also have to pass App Review. Apple's App Review guidelines suggest that geo-restrictions can only be used to comply with legal requirements. Apple only mentions this in the context of apps that support real-money gambling. Whether Apple will approve your app for this purpose, or any other purpose, is solely based on the decision from App Review. Furthermore, Apple can, and does, change its mind on such things on a regular basis. If your company is going to depend on this market for its existence, then you should probably also have venture capitol funding and maybe business insurance. Essentially, you are giving some anonymous person at Apple, after a few weeks of training (maybe?) the power to end your business before lunch time.


If you are implementing geo-fencing as a way to alert the user that they are within walking distance of a coffeeshop or some other beacon, as an example, then go for it. For any other reason, I strongly recommend some other type of app.

May 18, 2021 9:34 AM in response to Joe_LTVR

Joe_LTVR wrote:

Are you aware of this being something we can accomplish, and if not, are you recommending we do something else?

I was mainly just urging caution. But if you have the funding and legal resources to support this effort, then go for it.


Also, our understanding of UIRequiredDeviceCapabilities is that it has the ability to read the users location using "location-services." Our thought was we could take advantage of this ability and restrict downloads of the app from certain US states.

UIRequiredDeviceCapabilities is a property list key required for submission to the App Store. It has no "abilities" of its own. It merely identifies the level of hardware and operating system support that your app requires. People who have devices that do not meet these requirements will not be able to download the app.


You will still need to use other location services APIs to implement your geo-fencing requirements. Furthermore, you will need to disable the app entirely, or at least disable any legally restricted functions, if the user prevents the app from using those local services APIs. You are in a "restricted" category of apps so you can expect to receive "extra attention" from App Review. You can assume they will try to hack your app in the same ways that users hack other apps. They will also try various bypasses that dishonest developers try to hide in their apps.

May 18, 2021 7:38 AM in response to etresoft

Thank you for your input. I appreciate your detailed response. Below you'll find some more information that I think might help clarify where we're coming from:


What we're attempting to do here is based on a direct request from the Apple Review team per their guidelines. Our application contains material that involves content similar to gambling, which isn't legal in all 50 US States.


To answer your other question, it is for an iOS device, so MacOS does not apply here. We're not selling anything, so it has nothing to do with sales tax. All we want to do is restrict the download (and/or use) of the application in states where the use of our application may not be permitted.


I might not be using the correct terminology here, but everything our team has researched thus far has pointed for the need to "Geo-fence" or "Geo-Block" our application from being used in specific areas of the united states.


Also, our understanding of UIRequiredDeviceCapabilities is that it has the ability to read the users location using "location-services." Our thought was we could take advantage of this ability and restrict downloads of the app from certain US states.


Are you aware of this being something we can accomplish, and if not, are you recommending we do something else?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Geo-fencing & geo-blocking on a state by state basis

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.