Skip to content

Commit 7e191f4

Browse files
committed
Update readme
Fixes #103
1 parent a210643 commit 7e191f4

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.9.2+1
2+
3+
- Update documentation
4+
15
## 0.9.2
26

37
- Add option to use application default auth (@Kirpal)

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ You can also instantiate your own `Firestore` object. Please note that if your d
7777

7878
``` dart
7979
var firebaseAuth = FirebaseAuth.(apiKey, await HiveStore());
80-
var firestore = Firestore(projectId, auth: firebaseAuth);
80+
var auth = TokenAuthenticator.from(auth)?.authenticate;
81+
var firestore = Firestore(projectId, authenticator: firebaseAuth);
8182
8283
await firebaseAuth.signIn(email, password);
8384
var map = await firestore.collection("users").get();

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: firedart
22
description: A dart-native implementation of the Firebase Auth and Firestore SDKs.
3-
version: 0.9.2
3+
version: 0.9.2+1
44
homepage: https://github.com/cachapa/firedart
55

66
environment:

0 commit comments

Comments
 (0)