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: Broken permission #1927

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

agayushh
Copy link

@agayushh agayushh commented Feb 28, 2025

Solves

#1923

/claim #1923

Approach

  • State management (Provider) - Uses OnboardingProvider to track and update bluetooth permission status (hasBluetoothPermission)
  • Requests Bluetooth permissions via askForBluetoothPermissions()
  • If denied, shows an alert dialog prompting users to open device settings
  • CheckboxListTile toggles Bluetooth permissions and has an added onPressed for better UX.

@algora-pbc algora-pbc bot mentioned this pull request Feb 28, 2025
Copy link

algora-pbc bot commented Feb 28, 2025

💵 To receive payouts, sign up on Algora, link your Github account and connect with Stripe.

@beastoin
Copy link
Collaborator

beastoin commented Mar 3, 2025

@mdmohsin7 could you help with reviewing this ticket and, feel free to merge ;)

@mdmohsin7 mdmohsin7 self-requested a review March 4, 2025 11:44
Copy link
Collaborator

@mdmohsin7 mdmohsin7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @agayushh, there's no onPressed parameter for CheckboxListTile, pls check you implementation

@mdmohsin7 mdmohsin7 marked this pull request as draft March 4, 2025 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants