Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
Fixes #103
  • Loading branch information
cachapa committed Jun 8, 2023
1 parent a210643 commit 7e191f4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.9.2+1

- Update documentation

## 0.9.2

- Add option to use application default auth (@Kirpal)
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ You can also instantiate your own `Firestore` object. Please note that if your d

``` dart
var firebaseAuth = FirebaseAuth.(apiKey, await HiveStore());
var firestore = Firestore(projectId, auth: firebaseAuth);
var auth = TokenAuthenticator.from(auth)?.authenticate;
var firestore = Firestore(projectId, authenticator: firebaseAuth);
await firebaseAuth.signIn(email, password);
var map = await firestore.collection("users").get();
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: firedart
description: A dart-native implementation of the Firebase Auth and Firestore SDKs.
version: 0.9.2
version: 0.9.2+1
homepage: https://github.com/cachapa/firedart

environment:
Expand Down

0 comments on commit 7e191f4

Please sign in to comment.