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

Implement method to turn on the Bluetooth module #921

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sophisticode
Copy link

Implement method enable() in FlutterBlue to turn on the Bluetooth module.

On Android, this is done silently by default (needs android.permission.BLUETOOTH_ADMIN permission).
If parameter 'ask' is true, a system dialog asking for permission is shown.

On iOS, the functionality is not supported by the operating system and enable() will always return false.

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

Successfully merging this pull request may close these issues.

None yet

1 participant