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

[iOS] App always asks Bluetooth permission right on it start #27

Open
minhtritc97 opened this issue Sep 29, 2023 · 1 comment
Open

[iOS] App always asks Bluetooth permission right on it start #27

minhtritc97 opened this issue Sep 29, 2023 · 1 comment

Comments

@minhtritc97
Copy link
Contributor

It asks the user for Bluetooth Permissions on App launch, without making any reference to the package methods in the Apps' code
Expected: only ask for bluetooth permission if app call any method from the package.

@hungthinhitj
Copy link

the cause of this problem is from the 3rd package name flutter_scan_bluetooth,i fixed it package by moving CBCentralManager initialization to "handle" function in native swift code ( according to pauldemarco/flutter_blue#599 )
image

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