Skip to content

Commit

Permalink
[firebase_auth] Fix README.md snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
collinjackson authored Aug 25, 2019
2 parents 8fe253b + 82ff24c commit cc946c9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions packages/firebase_auth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.14.0+4

* Fixed "Register a user" example code snippet in README.md.

## 0.14.0+3

* Update documentation to reflect new repository location.
Expand Down
5 changes: 3 additions & 2 deletions packages/firebase_auth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,11 @@ _handleSignIn()
### Register a user

```dart
final FirebaseUser user = await _auth.createUserWithEmailAndPassword(
final FirebaseUser user = (await _auth.createUserWithEmailAndPassword(
email: 'an email',
password: 'a password',
);
))
.user;
```

### Supported Firebase authentication methods
Expand Down
2 changes: 1 addition & 1 deletion packages/firebase_auth/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Flutter plugin for Firebase Auth, enabling Android and iOS
like Google, Facebook and Twitter.
author: Flutter Team <[email protected]>
homepage: https://github.com/FirebaseExtended/flutterfire/tree/master/packages/firebase_auth
version: 0.14.0+3
version: 0.14.0+4

flutter:
plugin:
Expand Down

0 comments on commit cc946c9

Please sign in to comment.