Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
koji-1009 committed Feb 25, 2020
1 parent dc30dba commit 647348f
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
## 0.2.0

Second beta release.

### Breaking change

- Change set provider function to enum
- Change PlatformUser to Bool when success `startUi`

### Minor change

- Update libs
- Update api doc

## 0.1.0

First beta release of flutter plugin for Firebase Auth UI.
Expand Down
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,20 @@ Check documents and setup your firebase project.

* iOS : <https://firebase.google.com/docs/auth/ios/firebaseui>
* Android : <https://firebase.google.com/docs/auth/android/firebaseui>

## How to use

```
// Set provider
final providers = [
AuthUiItem.AuthEmail,
AuthUiItem.AuthApple,
AuthUiItem.AuthGithub,
AuthUiItem.AuthGoogle,
AuthUiItem.AuthMicrosoft,
AuthUiItem.AuthYahoo,
];
final tosAndPrivacyPolicy = TosAndPrivacyPolicy(Terms of Service URL, Privacy Policy URL);
final isSuccess = await FlutterAuthUi.startUi(providers, tosAndPrivacyPolicy);
```

0 comments on commit 647348f

Please sign in to comment.