This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
sorry for asking this but i am not a mobile app developer. we are using mobile device management (mdm) to manage android enterprise mobile device but the mdm did not has the feature to enforce location service to enable in settings app.
i would like to ask how developer code their app if the app requires location service to enable in device level before can use the app? is there such coding way to always check if device location service is on or not when the app is launch to use? if location service is off, a pop-up will prompt user to on it and the app will be shutdown if location service is off until user on it?
Edit 1: the location service at device level i referring to is the below (in red):
Subreddit
Post Details
- Posted
- 2 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/androiddev/...