QField refus to restart after connecting GPS

This bug started after the update “3.1.0. Borneo”
I use a Leica FLX 100 antenna managed with Leica Zeno connect.
After I configurated the bluetooth connection in QField, I connected it and everthing is ok but if I close the app, it is impossible to reopen it. After 1 or 2 seconds, it shutdown without any message.

In waiting for this correction, is it possible to downgrade to 3.0 Amazonia? how to do it?


Imported from GitHub discussion by @FloCuf on 2023-12-12T08:05:00Z

FloCuf , what phone model do you have?


Imported from GitHub comment by @nirvn on 2023-12-12T08:11:47Z

Xiaomi 11 Lite 5G model 2109119DG on Android 13


Imported from GitHub comment by @FloCuf on 2023-12-12T08:14:28Z

FloCuf , could you install QField 3.1.2 via the APK in the release page ( Release 3.1.2 - Borneo · opengisch/QField · GitHub ) and report whether the crash is gone?


Imported from GitHub comment by @nirvn on 2023-12-12T08:18:18Z

FloCuf , direct link to the APK in case you are wondering: https://github.com/opengisch/QField/releases/download/v3.1.2/qfield-v3.1.2-arm64-android.apk

Also, could you make sure that you answer ( yes ) when asked whether to share anonymous metrics? That’ll help us capture details of your crash.


Imported from GitHub comment by @nirvn on 2023-12-12T08:24:51Z

Ok, well instaled, I just did it and it crashed again. Well shared anonymous metrics.


Imported from GitHub comment by @FloCuf on 2023-12-12T08:32:42Z

FloCuf , the issue has been replicated locally, thanks, expect a fix soon.


Imported from GitHub comment by @nirvn on 2023-12-12T08:47:48Z

Great! Thank you


Imported from GitHub comment by @FloCuf on 2023-12-12T08:53:57Z

FloCuf , can you confirm that this APK (https://sos-ch-dk-2.exo.io/qfieldapks/ci-builds/qfield-dev-4847-d42115f5a6830b8108747a8f0665571ea9a9c026-arm64-android.apk) fixes the crash for you?


Imported from GitHub comment by @nirvn on 2023-12-12T09:28:16Z

It’s fixed indeed. I keep this one until the next upload ?


Imported from GitHub comment by @FloCuf on 2023-12-12T10:02:05Z

FloCuf , you definitively can. Note that the app settings and project data between the normal QField releases you find on the play store and manual installs of a PR build are separate. This means project data will not be shared across the two instances. If you use QFieldCloud, it’s not really a problem as you can just push things to the cloud then re-download using the next official QField version :slight_smile:

Thanks for alerting us of this issue and confirming the code changed has fixed the regression.


Imported from GitHub comment by @nirvn on 2023-12-12T10:06:58Z