flutter_bluetooth_basic icon indicating copy to clipboard operation
flutter_bluetooth_basic copied to clipboard

Upgrade Android embedding to v2

Open ttyniwa opened this issue 2 years ago • 4 comments

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

ttyniwa avatar Oct 02 '21 10:10 ttyniwa

I tested that this PR works on Android 8.

ttyniwa avatar Oct 04 '21 12:10 ttyniwa

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.

gunantosteven avatar Nov 13 '21 14:11 gunantosteven

@andrey-ushakov can we merge this to master?

ccfiel avatar Dec 21 '21 02:12 ccfiel

can this PR be merged?

fuadreza avatar Mar 11 '22 11:03 fuadreza