Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
grinapo opened this issue Feb 27, 2022 · 1 comment
Open

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

grinapo opened this issue Feb 27, 2022 · 1 comment

Comments

@grinapo
Copy link

grinapo commented Feb 27, 2022

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?

@ykasidit
Copy link
Owner

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants