angular_fire 0.2.1 angular_fire: ^0.2.1 copied to clipboard
Unofficial library for AngularDart and Firebase.
0.2.1 #
- Add an option to add additional authorization scopes to
googleSignIn
:
// Authenticate and allow read-only access to Google Calendar.
final user = await firebaseAuth.googleSignIn(
scopes: [
'https://www.googleapis.com/auth/calendar.readonly',
],
);
if (user != null) {
// You have access!
}
0.2.0 #
- Fixed a bug that flashed signed off content before loading.
- Changed the default behavior of Google sign-in to prompt for account:
abstract class FirebaseAuth {
Future<FirebaseUser> googleSignIn({bool prompt: true});
}
0.1.1 #
- Removed a
print
statement that was always occurring. - Added a high-level
FirebaseAuth
class, and Google sign-in. - Added
IfFirebaseAuthDirective
.
0.1.0 #
- Initial commit of
GoogleSignInComppnent
.