Skip to content

[firebase_auth] on ios not using getTokenId refresh bool #847

Closed
@kroikie

Description

@kroikie

Refresh bool is hard coded to YES for ios. Android uses the bool as expected.

https://github.com/flutter/plugins/blob/master/packages/firebase_auth/ios/Classes/FirebaseAuthPlugin.m

  } else if ([@"getIdToken" isEqualToString:call.method]) {
    [[FIRAuth auth].currentUser
        getIDTokenForcingRefresh:YES
                      completion:^(NSString *_Nullable token, NSError *_Nullable error) {
                        result(error != nil ? error.flutterError : token);
                      }];

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocked: customer-responseWaiting for customer response, e.g. more information was requested.type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions