flutter_bluetooth_basic
flutter_bluetooth_basic copied to clipboard
Upgrade Android embedding to v2
this PR solves #23
- upgrade gradle to 7.0.2
- Upgradle Android Flutter plugin to v2.
- Fixed some warnings in AndroidStudio
- Reformat Code by using AndroidStudio
This PR works on Android 8. I'm new to Flutter Plugin development and Android development, so there may be some oddities. so, If the PR is not good enough, I don't mind if you close it.
References. https://flutter.dev/docs/development/packages-and-plugins/plugin-api-migration https://flutter.dev/docs/development/packages-and-plugins/developing-packages#plugin
I tested that this PR works on Android 8.
Hi @ttyniwa I tried ur code but got an error "lambda expressions are not supported in -source 7 vscode"
I think using lambda not working for me when building the app.
@andrey-ushakov can we merge this to master?
can this PR be merged?