esysberlin / esys-flutter-share

A Flutter plugin for sharing files & text with other applications.
Apache License 2.0
130 stars 147 forks source link

The plugins `esys_flutter_share` use a deprecated version of the Android embedding. #95

Closed itsAmitGoyani closed 2 years ago

itsAmitGoyani commented 2 years ago

After upgrading flutter to 2.5.0, I'm getting below warning. _The plugins esys_flutter_share use a deprecated version of the Android embedding. To avoid unexpected runtime failures, or future build failures, try to see if these plugins support the Android V2 embedding. Otherwise, consider removing them 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._

To Reproduce Steps to reproduce the behavior:

  1. Add this plugin to pubspec.yaml file of Flutter project.
  2. Run 'flutter pub get' command.
cihadturhan commented 2 years ago

This repository is dead. I've updated flutter and android dependencies in my repo. Use it like

esys_flutter_share:
    git:
      url: https://github.com/cihadturhan/esys-flutter-share.git
      ref: nullsafety+embedding-2
itsAmitGoyani commented 2 years ago

@cihadturhan Thanks. It worked for me.