Page 1 of 1

Check geolocation status

Posted: Tue Jun 16, 2015 6:52 am
by Angel Garcia

I am building an app with Apperyio and I need to check the status of Geolocation service (GPS in device on/off) to, if is possible, write a JavaScript function.

Is there any function like "Apperyio.services("Geolocation_service").status()" or with Data/Geolocation_service/Fail I can do my suggestion?

Thanks,
Angel.


Check geolocation status

Posted: Tue Jun 16, 2015 3:01 pm
by Serhii Kulibaba

Hello,

You can set handlers on error and success events of geolocation service: https://devcenter.appery.io/tutorials...