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

Add FlutterBlue.name to get the human readable device name #93

Merged
merged 1 commit into from
Jul 23, 2022

Conversation

mvo5
Copy link
Contributor

@mvo5 mvo5 commented Jul 16, 2022

Thanks for continuing the development of flutter_blue, it's a really nice package!

This commit implements a new FlutterBlue.name property that will
get the friendly bluetooth name of the local bluetooth adapter.

This is the PRhttps:/pauldemarco/flutter_blue/pull/1085 for this project

I tested this with my android application and it seems to be working just fine, I am not sure if the code needs to be smater if permissions for bluetooth are missing though, happy to look further into this.

Please note that I did not test this under ios, Unfortunately I have no device to test it.
The code is inferred from reading the ios docs, but I'm happy to just leave it unimplemented or add a comment if it's hard to test.

This commit implements a new `FlutterBlue.name` property that will
get the friendly bluetooth name of the local bluetooth adapter.
@boskokg boskokg merged commit 0c9df71 into chipweinberger:master Jul 23, 2022
boskokg added a commit that referenced this pull request Jul 23, 2022
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.

2 participants