background_locator icon indicating copy to clipboard operation
background_locator copied to clipboard

Gps NOT updated after not get GPS siginal for a long time( around 30 minutes)

Open function2000 opened this issue 3 years ago • 8 comments

I get one issue, when I am sitting in a building, and the Gps signal is very weak, long time not get GPS, around 30 minutes, then the GPS signal icon totally gone after that, and not start anymore. This is a problem, as if I am go outside, but the GPS does not resume. I don't know how to deal with it. By the way, I am also use Background_fetch plugin. I can triggle it in background_fetch again, but I hope it can be triggled by this plugin itself. Any advice is welcome. Thanks!

function2000 avatar Mar 01 '21 01:03 function2000

Use AlertManager

JeanRoldanDev avatar Mar 01 '21 03:03 JeanRoldanDev

Use AlertManager

Can you please give example? Many thanks!

function2000 avatar Mar 01 '21 04:03 function2000

Hi @function2000 Thank you for opening an issue.

Please give every information that you can, eg. device type (Android, iOS), version of OS, location client config for android device (Google, Android) and any other information that you have.

mehdok avatar Mar 01 '21 06:03 mehdok

Hi @function2000 Thank you for opening an issue.

Please give every information that you can, eg. device type (Android, iOS), version of OS, location client config for android device (Google, Android) and any other information that you have.

Device type: XiaoMi 9 pro OS: MIUI 11, Android 9 Location client: Android androidSettings: AndroidSettings( accuracy: LocationAccuracy.BALANCED, interval: 60, //1 minute wakeLockTime:1440, //24hours distanceFilter: 0, client: LocationClient.android, androidNotificationSettings:

Thank you very much!

function2000 avatar Mar 01 '21 06:03 function2000

I think this could be hardware issue, if no good answer, you can close this issue. Thank you anyway.

function2000 avatar Mar 02 '21 01:03 function2000

This one is really a hard one because I have no idea what's wrong and it needs a lot of testing. I will keep it open for now to see if anybody else has this problem or maybe someone can add a bit more information.

mehdok avatar Mar 02 '21 06:03 mehdok

This one is really a hard one because I have no idea what's wrong and it needs a lot of testing. I will keep it open for now to see if anybody else has this problem or maybe someone can add a bit more information.

Thank you! Today I use another device, industry phone: Device brand: HONEYWELL CT60 OS: Android 8

I installed the release app on this device, and after asking GPS permission, it crashed, and ask for reopen app, then it never successful opened up. it crashed always.
I didn't find time to debug via cable line. Just give you this information. I know it maybe not easy for you to test it with industry phone. So please do not take it seriously, if you have any clue for this HONEYWELL CT60 case, please advise. Thank you very much!

function2000 avatar Mar 02 '21 13:03 function2000

the problem is not the service, the problem depends on each manufacturer xiami example you have to make your users disable the save options, the startup boot and accept the permission in the background

JeanRoldanDev avatar Mar 05 '21 22:03 JeanRoldanDev