Skip to content

Commit 19b84da

Browse files
WillieCubedsamtstern
authored andcommitted
Update FirebaseUI Auth documentation (#735)
Includes changes made in #690 for a privacy policy in the AuthUI sign-in intent builder.
1 parent 76ee789 commit 19b84da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

auth/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,14 +175,15 @@ startActivityForResult(
175175
RC_SIGN_IN);
176176
```
177177

178-
If a terms of service URL and a custom theme are required:
178+
If a terms of service URL, privacy policy URL, and a custom theme are required:
179179

180180
```java
181181
startActivityForResult(
182182
AuthUI.getInstance()
183183
.createSignInIntentBuilder()
184184
.setProviders(...)
185185
.setTosUrl("https://superapp.example.com/terms-of-service.html")
186+
.setPrivacyPolicyUrl("https://superapp.example.com/privacy-policy.html")
186187
.setTheme(R.style.SuperAppTheme)
187188
.build(),
188189
RC_SIGN_IN);

0 commit comments

Comments
 (0)