Skip to content

Commit

Permalink
readme: how to enable auto-upgrade of anonymous users
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnson145 committed Jul 10, 2019
1 parent 16db4f9 commit 859a6b0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Auth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,11 @@ Refer to the Objective-C and Swift samples for examples of how you can customize
these views.

## Handling auto-upgrade of anonymous users
By default, the auto-upgrade of anonymous users is disabled. You can enable it
by simply changing the associated attribute of your Firebase Auth instance:
```swift
authUI?.shouldAutoUpgradeAnonymousUsers = true
```

Enabling auto-upgrade of anonymous users increases the complexity of your auth
flow by adding several more edge cases that need to be handled. As opposed to
Expand Down

0 comments on commit 859a6b0

Please sign in to comment.