bluetooth_gnss icon indicating copy to clipboard operation
bluetooth_gnss copied to clipboard

Logging doesn't work (Android11) unless re-set manually

Open grinapo opened this issue 3 years ago • 3 comments

This may be strongly related to #16 (which seemed to be resolved). Right now it works this way:

  1. enable log directory
  2. a dir selector pops up, select dir
  3. accept permission from android
  4. connect to BT and logging works. disconnect at the end, exit.

  1. next time the program remembers enabled log directory and it's directory, also "propbably" remembers the permission
  2. after BT connect there is no logging, the display shows "no data" for all three log related status lines.

  1. logging can be restored the following way, but have to be repeated at every start:
  2. disconect (or start app)
  3. switch off logging
  4. switch on logging, select parent dir, select dir, accept permissions, and do as from step one.

May it be that the permission grant isn't remebered somehow?

grinapo avatar Feb 27 '22 16:02 grinapo

hello,

thanks for the detailed issue report

ok, please help test withl new app apk from https://github.com/ykasidit/bluetooth_gnss/releases/tag/v1.0.41 then go to settings > enable logging (untick and re-tick if already enabled earlier) and try again - now it is using a api call to persist the permission (issue was that the permission wont be granted from android to the same folder on next runs)

ykasidit avatar Oct 29 '22 04:10 ykasidit

Hello, thanks for the report, will try looking into it soon, was too held up with my real work on weekdays so weekends was too lazy haha. New flutter ver had many changes required for app to build, just staring to open today, will try looking into this next.

On Thu, Aug 8, 2024, 10:57 DaveInOz @.***> wrote:

I'm currently running the latest released version of Bluetooth GNSS (1.0.49) and are experiencing the exact same issue as noted above (I am also running with an Android 11 device). I assume the fix undertaken for v1.0.41 has migrated into the latest version (i.e. 1.0.49). If not, will there be an imminent fix? Please advise. Thanks

— Reply to this email directly, view it on GitHub https://github.com/ykasidit/bluetooth_gnss/issues/26#issuecomment-2274903363, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2P3U3ABHM6ISZH35VE2TZQLUDVAVCNFSM6AAAAABMFT4OAGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZUHEYDGMZWGM . You are receiving this because you commented.Message ID: @.***>

ykasidit avatar Aug 10 '24 03:08 ykasidit

hello - please try new pre-release https://github.com/ykasidit/bluetooth_gnss/releases/tag/v1.0.51 about the logging

  • go to settings > enable logging (untick and re-tick if already enabled earlier) and try again
  • i tested and resolved for android 14 and 11 should work in theory too. (pls ignore the new 'messages' tab filter features not fully ready yet)

ykasidit avatar Aug 13 '24 00:08 ykasidit