Skip to content

[google_sign_in] Throwing deprecation warnings and using outdated SDK and dependencies #91221

@juliansteenbakker

Description

@juliansteenbakker

Right now google_sign_in is throwing several deprecation warnings about embedding v1 like the following.
With #91069 in mind, i think the best action would be to remove all reference to embedding v1.

Besides that this package is targeting old dependencies and SDK and it should be updated.

/Users/x/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in-5.1.1/android/src/main/java/io/flutter/plugins/googlesignin/GoogleSignInPlugin.java:79: warning: [deprecation] Registrar in PluginRegistry has been deprecated
  public void setUpRegistrar(PluginRegistry.Registrar registrar) {
                                           ^
/Users/x/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in-5.1.1/android/src/main/java/io/flutter/plugins/googlesignin/GoogleSignInPlugin.java:270: warning: [deprecation] Registrar in PluginRegistry has been deprecated
    private PluginRegistry.Registrar registrar;
                          ^
/Users/x/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/google_sign_in-5.1.1/android/src/main/java/io/flutter/plugins/googlesignin/GoogleSignInPlugin.java:285: warning: [deprecation] Registrar in PluginRegistry has been deprecated
    public void setUpRegistrar(PluginRegistry.Registrar registrar) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectp: google_sign_inThe Google Sign-In pluginpackageflutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyteam-androidOwned by Android platform teamtriaged-androidTriaged by Android platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions