Angel Garcia
Posts: 0
Joined: Thu Jun 11, 2015 11:37 am

Check geolocation status

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.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Check geolocation status

Hello,

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

Return to “Issues”