Enable Mobile Location Service

HI,

How can we enable location Service in mobile IOS/Andriod?

I have tried with Diagnostic Plugin(SwitchToLocationService) but its not working for IOS.

Thanks,

Deepak

Hello Deepak,


I'm using the Location Plugin (https://www.outsystems.com/forge/component/1395/location-plugin/). 

Maybe this suits your needs?


Thanks,

AG

Thanks for the reply.

There is no such operation  in Location Plugin  through which we can either switch on the Location service or navigate the client to setting-->location

Thanks

 Deepak

For android 

Tap the Settings application
Tap Location
Tap Google Location Reporting
Tap Location Reporting
Toggle the switch to On

For iPhone

To turn on Location Services on an iPhone or iPad (iOS 8)
Tap the Settings application
Tap Privacy
Tap Location Services
Toggle the switch to On

Thanks

Consagous Technologies


Dear Consagous Technologies,


I want my app to handle location enabling function not by user manually.


Thanks 

Deepak

Please let me know. I am also searching for this service.

Hello,

You can take a look at this component: 

Kind regards,
Nuno Verdasca

Hi Nuno,

The first was pointed by Armando, and did not had the functionality desired, as well as the second plugin you are suggesting.

In fact, there is no way for an application to turn on or off the GPS or location services for a long time.

What you can do is to open the Settings or request permission to use the location services if they are not enabled.

For those that come here for a solution to this, there is this plugin: https://www.outsystems.com/forge/component-overview/1916/diagnostic-plugin

and this one: https://www.outsystems.com/forge/component-overview/2040/android-permissions-plugin

Hope this helps.

Cheers.