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

Fix bluetooth and location permissions for Qt 6.6.0 #2928

Merged
merged 2 commits into from
Nov 30, 2023

Conversation

tomasMizera
Copy link
Collaborator

We now use Qt API for location and BT permissions.
Advantages:

  • one codebase
  • works fine ✔️
  • we ask for permissions in context, not at the app startup

Location permission is requested when:

  • project is opened
  • user clicks on the GPS button
  • user holds the GPS button

BT permission is requested when:

  • opening "add BT gps receiver" page
  • when device can't connect to saved GPS receiver because of missing BT permission

Camera and gallery permissions stay untouched and work for both platforms.

Fixes #1101 (indirectly, upgrade of Qt 6.6 did the job actually)
Fixes #2433
Fixes #1057

@PeterPetrik PeterPetrik merged commit a2e0473 into master Nov 30, 2023
9 of 11 checks passed
@PeterPetrik PeterPetrik deleted the fix-permissions-qt-6_6_0 branch November 30, 2023 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants