GEO Restrict iOS App

Job ID: 35333829

Budget: $30 – $250 USD

Hello All.

I have an app. It's a hybrid app.

I have submitted my app to Apple Store and they rejected my app. This is the message they provided me:

Geo-restrict the app so that it can only be used in locations where you have the required license or permissions. Learn more about using location data to implement geo-restrictions.

Here's the link they provided me: https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/LocationAwarenessPG/CoreLocation/CoreLocation.html

Has anyone done this before? I guess Apple wants me to make sure my app doesn't work in certain countries. Do you know how we can not allow my app to work in certain countries?