17
Views
2
Comments
[Android Permissions Plugin] How do I check and prompt the user to enable the device location for android and iOS
Question
android-permissions-plugin
Mobile icon
Forge asset by Miguel Antunes
Application Type
Mobile

Hi Everyone,

I have developed an OutSystems mobile application. In the app, I need to check whether the device's location services are enabled. If they are not, I want to prompt the user to enable their device's location settings for both Android and iOS. I also used the Android permission plugin, but I don't know whether this component detects location or not.

If anyone has a solution to this, it would be greatly appreciated. 

Best Regards,

Chiranjeevi

2024-07-12 05-57-50
Gourav Shrivastava
Champion

Hello @Chiranjeevi Balaji 

Have you tried locationPlugin ? this is useful for location access 


Thanks 

Regards 

Gourav Shrivastava

UserImage.jpg
Chiranjeevi Balaji

Hello Gourav,

Thank you for your response. Yes, I have also used this location plugin, which can fetch the user's location. However, in my case, I need to verify whether the user's device location is enabled. If it is not, restrict the logical flow and need to prompt the user to allow their location.

Thanks,

Chiranjeevi

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.