how to call Geolocation Service every few seconds
Hello,
Sorry, we cannot reproduce the problem, the code is executed correctly.
Please tell us how to reproduce the issue.
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Hello,
Sorry, we cannot reproduce the problem, the code is executed correctly.
Please tell us how to reproduce the issue.
hello,
i'm sorry for the late answer,
when the watch position request property of my geolocation service is checked (true):
1) from the PC desktop the first time the service is run i get the alert i added to the geolocation service success event. From the second time the servis is rune i get the alert i added to the geolocation service fail event;
2) from the appery tester on my mobile (samsung galaxy S2 android 4.03) The first time i load the page i get 1 success alert, but when the geolocation service is executed after 15 sec i get 2 alerts, after more 15 sec i get 3 alerts and so on
P.S:: the public link to test the application is: http://appery.io/app/mobile-frame?src....
if you need i can share the application with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a
Hi,
Please send us built APK to a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a. We'll take a look.
thanks,
i sent it
I can't get the watch position setting to change? Is this an Appery.io setting?
Hello Lee,
Sorry, I'm not sure I understand you correctly. Could you please detail your issue?
Hi Lee,
You can change this settings in service datasource.
See details: http://prntscr.com/5pf2i4/direct
Regards.
Hi,
I am using the Geolocation Service on my app. My app gets the co-ordinates and then sends it to my database.
I have few questions.
Hi Tarun,
pre
1. Is there any limit on the number of calls I can make per day to get geolocation?
/pre
Nope device geolocation service have not these limitations.
2 - you need to set "enableHighAccuracy" option in the "before send" service mapping.
Details: http://prntscr.com/6zre41/direct
It's up to you what to use in your app. Appery.io based on Cordova/phonegap. There is a lot of plugins for this system. Also you can write your own.
Regards.