firebase_auth_mocks 0.8.5 firebase_auth_mocks: ^0.8.5 copied to clipboard
Fakes for Firebase Auth. Use this package with `google_sign_in_mocks` to write unit tests involving Firebase Authentication.
0.8.5 #
0.8.4 #
- Support throwing exceptions in FirebaseAuth's
signInWithCredential
,signInWithEmailAndPassword
,createUserWithEmailAndPassword
,signInWithCustomToken
,signInAnonymously
, andfetchSignInMethodsForEmail
. Thanks defuncart! - Implemented
FirebaseAuth.verifyPhoneNumber
so that it resolvescodeSent
. Thanks cedvdb!
0.8.3 #
0.8.2 #
- Made
userChanges
andauthStateChanges
firenull
on startup when signed out. - Turned
userChanges
andauthStateChanges
into broadcast streams so they can be listened to more than once. - Added
providerData
in MockUser. Thanks kornperkus!
0.8.1 #
- Implemented
FirebaseAuth.userChanges
. Thanks mazzonem! - Implemented
User.updateDisplayName
. Thanks oudehomar! - Implemented
FirebaseAuth.fetchSignInMethodsForEmail
. Thanks ketanchoyal!
0.8.0 #
- Updated dependency to firebase_auth ^3.0.0.
- Implemented
User.reload()
.
0.7.0 #
- Removed dependency to Mockito.
- Updated dependency to firebase_auth ^1.3.0.
0.6.0 #
- Migrated to null safety. Thanks YusufAbdelaziz!
- Updated dependency to firebase_auth ^1.0.1. Thanks zariweyo!
0.5.2 #
- Typed the arguments of
MockUser
's constructor. Thanks YusufAbdelaziz!
0.5.1 #
- Support for
signInWithPhoneNumber
.
0.5.0 #
Breaking change:
- Require supplying a
MockUser
instead of returning 'Bob'. Thanks PieterHartzer!
Refer to README.md on how to use it.
0.3.2 #
- Support the newer
authStateChanges()
on top of the deprecatedget onAuthStateChanged
. Thanks gallrein!
0.3.1 #
- Support
User.isAnonymous
. - Support
User.email
.
0.3.0 #
- Support the breaking changes of firebase_auth 0.18.0+1.
- Removed
signInWithEmailAndLink
since it's not part of the API anymore.
0.2.0 #
- Upgraded firebase_auth dependency to ^0.16.0.
0.1.3 #
- Added support for
signInWithEmailAndPassword
,signInWithEmailAndLink
andsignInWithCustomToken
. - Documented supported features
0.1.1 #
- Upgraded firebase_auth dependency to ^0.15.2.
0.1.0 #
- Initial version.