You can always ask the user for a pop-up window or a dialog box with a message, you simply cannot initiate a geolocation request and raise a question about the possibility of a kernel. Users will soon find out what features are customizable in your applications. Settings | Permissions fly out, and you can even specify them there to change their answer.
In other words, I think the platform avoids the scenario in which the user says: βDon't leave me alone? I don't want to worry about my privacy!β and if the developer is careful in his workflow, then I doubt that it will be too difficult to avoid the scenario in which the user says "Hey, I want this application to become more intelligent regarding my location, but I do not know how to do this. " I know subjective, but you can see how he approves of the user.
source share