UniversalDevicesInc / UD-Mobile-Android

Issue-only repository for tracking issues related to the UD Mobile Android App
0 stars 1 forks source link

Geofence Timeout too long, retries are ignored when network detected. #52

Open JavierRefuerzo opened 1 month ago

JavierRefuerzo commented 1 month ago

If Geofence is crossed, network is detected, and command fails then retries are ignored. This should be changed to allow retries on command failure.

Geofence commands also have the default timeout, which is too long 2-5 min (write + read). This should be changed to 30 seconds for both write/read/ which should force a retry after a max of one minute.

jimboca commented 1 month ago

Thanks @JavierRefuerzo that sound great.

JavierRefuerzo commented 1 month ago

Also when the retry loop is started Android appears to kill the tread. So there are no retries. This may require starting a service to ensure the process is not killed.