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

stacked_firebase_auth-2.19.2 build error #38

Open
7NT opened this issue Jul 17, 2023 · 1 comment
Open

stacked_firebase_auth-2.19.2 build error #38

7NT opened this issue Jul 17, 2023 · 1 comment

Comments

@7NT
Copy link

7NT commented Jul 17, 2023

stacked_firebase_auth-2.19.2/lib/src/firebase_authentication_service.dart:45:25:
Error: A value of type 'Future<String?>?' can't be returned from a function with return type 'Future<String>?' because 'String?' is nullable and 'String' isn't.
 - 'Future' is from 'dart:async'.
    return firebaseAuth.currentUser?.getIdToken();

pubspec.yaml:

Firebase

firebase_core: ^2.14.0
firebase_auth: ^4.6.3
cloud_firestore: ^4.8.2

Authentication

stacked_firebase_auth: ^2.19.2

Stacked State Management

stacked: ^3.4.1
stacked_services: ^1.2.0

@ferrarafer
Copy link

Hi @7NT , this issue was already fixed, update your package to the latest version.

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

2 participants