smaho-engineering / esptouch_flutter

ESP-Touch Dart API for Flutter. Platform-specific implementation for Android (Java) and iOS (Objective-C).
https://pub.dev/packages/esptouch_flutter
MIT License
100 stars 34 forks source link

need support V2 embedding. #29

Closed Wingge closed 2 years ago

Wingge commented 2 years ago

The plugin esptouch_flutter uses a deprecated version of the Android embedding. To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs. If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.

johnwargo commented 2 years ago

28 addresses this issue, is there a reason someone hasn't looked at the PR?

vincevargadev commented 2 years ago

I'll take a look and if everything is OK, I'll merge the PR this weekend.

vincevargadev commented 2 years ago

I published a pre-release version on pub.dev https://pub.dev/packages/esptouch_flutter/versions/1.1.0-androidv2

Please give it a try, and let us know if anything is not working as it did before.

If we don't receive any negative feedback, I'll release it as stable in a couple of weeks.

Wingge commented 2 years ago

The pre-release version work good.Thank you!