JimmyH
Posts: 0
Joined: Sun Jan 25, 2015 5:01 am

Geolocation Service not working consistently

Hi there,

I use the default device geolocation service and only get a success some of the time. I have not changed any of the service options.

Situation:
It works all of the time on the browser
Works some of the time on one mobile device (android)
Works none of the time on a second mobile device (android)

Can you please advise how I can fix this issue.

Thanks
James

Hero Render
Posts: 0
Joined: Thu Feb 09, 2017 9:04 am

Geolocation Service not working consistently

Hi JimmyH may i try your app? I encountered same problem but in my case it does not work on my android device. but works perfectly on browser.

JimmyH
Posts: 0
Joined: Sun Jan 25, 2015 5:01 am

Geolocation Service not working consistently

Hi Hero, Sorry but I'm not sure how I can share the app with you as there are login requirements etc (due to an earlier version being on the app stores).

I would be happy to test your app if that helps.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Geolocation Service not working consistently

Hello James,

Could you please clarify a few questions:
Have you changed anything on the Source tab?
What Appery.io libraries version and plugins versions you are using in your app?
And what are Android versions of your devices?

Hero Render
Posts: 0
Joined: Thu Feb 09, 2017 9:04 am

Geolocation Service not working consistently

I did not changed anything on the Source tab.
Ionic Blank project Library version 1.2, core cordova plugin camera 2.3.0, Geolocation 2.4.0.
Android 7.1.1.

thank you for the quick reply.

JimmyH
Posts: 0
Joined: Sun Jan 25, 2015 5:01 am

Geolocation Service not working consistently

Hi Evgene,

Sorry about the slow response.

library: V4.0
Android: 5.1 and 6.0.1

The only changes to the source tab have been for a couple of icons. This works fine.

Thanks
James

Galyna Abramovych
Site Admin
Posts: 84
Joined: Tue Mar 22, 2016 6:03 pm

Geolocation Service not working consistently

Hello Jimmy,

The fact that there are no issues when you are working in the browser indicates that there is the highest probability of some problems (inconsistencies) with some of the Android library(ies).
Please make sure you use the last version of the plugins in your app, if you use libraries version 4.0 there.
Also, the source changes may be causing such misbehavior.

JimmyH
Posts: 0
Joined: Sun Jan 25, 2015 5:01 am

Geolocation Service not working consistently

Hi Galyna,

As you can see (previous post) I am using the most current library and was using the most recent cordova geolocation plugin.

but the problem still occurs.

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

Geolocation Service not working consistently

Hello,

Please share (https://docs.appery.io/docs/teams-sha...) your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and provide us with the following information:

1) App name
2) Test credentials if login functionality is implemented in your app
3) Detailed steps to reproduce the issue

Return to “Issues”