Skip to content

Implement method to turn on the Bluetooth module#921

Open
sophisticode wants to merge 2 commits intopauldemarco:masterfrom
sophisticode:feature-enable-bluetooth
Open

Implement method to turn on the Bluetooth module#921
sophisticode wants to merge 2 commits intopauldemarco:masterfrom
sophisticode:feature-enable-bluetooth

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.

1 participant