Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The plugin simple_auth_flutter uses a deprecated version of the Android embedding. #165

Open
Veselchak-U opened this issue Sep 12, 2021 · 2 comments

Comments

@Veselchak-U
Copy link

Hello!
I use the latest version of the library - 2.0.11. After upgrading to Flutter 2.5.0, during the execution of 'flutter pub get', I receive the following message:

The plugin `simple_auth_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.
DanielBluelab added a commit to bluelabsw/simple_auth that referenced this issue Sep 14, 2021
DanielBluelab added a commit to bluelabsw/simple_auth that referenced this issue Sep 15, 2021
- Updated Android plugin according to the guide at https://flutter.dev/docs/development/packages-and-plugins/plugin-api-migration
- Updated Example plugin according to the guide at https://github.com/flutter/flutter/wiki/Upgrading-pre-1.12-Android-projects

- Changed Context to Activity in CustomTabActivityHelper.java
Clancey pushed a commit that referenced this issue Sep 24, 2021
- Updated Android plugin according to the guide at https://flutter.dev/docs/development/packages-and-plugins/plugin-api-migration
- Updated Example plugin according to the guide at https://github.com/flutter/flutter/wiki/Upgrading-pre-1.12-Android-projects

- Changed Context to Activity in CustomTabActivityHelper.java
@rsree1210
Copy link

rsree1210 commented Oct 25, 2021

Any idea on when will the next version of the plugin containing the fix for this issue will be released?

@DanielBluelab , @Clancey

@evilmtv
Copy link

evilmtv commented May 13, 2022

@Veselchak-U @rsree1210
While not recommended, you may use the specific commit that has it fixed. I'm currently using the commit after that like so:

  simple_auth_flutter:
    git:
      url: https://github.com/Clancey/simple_auth.git
      ref: 52d9aea3be506ccf39aa8dc68fda97481743bd33
      path: simple_auth_flutter/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants