umair13adil / flutter_logs

An extensive logging framework developed for flutter apps.
https://itnext.io/sending-logs-from-flutter-apps-in-real-time-using-elk-stack-mqtt-c24fa0cb9802
Apache License 2.0
40 stars 32 forks source link

"This app is using a deprecated version of the Android embedding." #37

Closed MrCsabaToth closed 2 years ago

MrCsabaToth commented 2 years ago

This app is using a deprecated version of the Android embedding. To avoid unexpected runtime failures, or future build failures, try to migrate this app to the V2 embedding. Take a look at the docs for migrating an app: https://github.com/flutter/flutter/wiki/Upgrading-pre-1.12-Android-projects

MrCsabaToth commented 2 years ago

Ok, the compiler link was not targeted enough, here is a better one: https://docs.flutter.dev/development/platform-integration/android/plugin-api-migration To me it seems that you implement both V2 API (onAttachedToActivity, onDetachedFromActivityForConfigChanges, onReattachedToActivityForConfigChanges, onDetachedFromActivity) and older API (onAttachedToEngine, onDetachedFromEngine)? Maybe it's just about minimum Flutter SDK version in pubspec? V1 is looong time deprecated, should let go.

umair13adil commented 2 years ago

This is fixed in v2.1.7

MrCsabaToth commented 2 years ago

Awesome