Esri / Trek2There

Trek2There™
Apache License 2.0
10 stars 5 forks source link

Automatically reconnect to external GPS on start up on iOS #73

Closed marikavertzonis closed 6 years ago

marikavertzonis commented 6 years ago

If an external receiver has been previously connected in Trek2There, when i restart the app, it should automatically connect. Testing with build 3.0.14, it does so on Mac, Windows and Android but not on iOS On start up on iOS - no device is listed on the settings page, and use built in location sensor is selected instead of use external receiver. Same observed on the iphone 6 (iOS 10.3.3) and iphone 8 (iOS 11.3).

dominikargast commented 6 years ago

This also affects Android. When the app is closed, the gps device is disconnected, which changes the connection type to "internal". This is stored in the settings before exiting the app.

On reopening the app, the "internal" connection type is read from the settings.

On Mac and probably Windows and Linux, the app is exited before the updated connection type is written do disk.

dominikargast commented 6 years ago

@marikavertzonis test with build 3.16

marikavertzonis commented 6 years ago

tested with 3.1.17 on

and all reconnect on startup up to a previously connected external receiver (and show the gps icon on the navigation page).

also if you go to the settings page, switch to use built in location sensor and then switch back to user external receiver, they all successfully reconnect.