Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion auth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,14 +175,15 @@ startActivityForResult(
RC_SIGN_IN);
```

If a terms of service URL and a custom theme are required:
If a terms of service URL, privacy policy URL, and a custom theme are required:

```java
startActivityForResult(
AuthUI.getInstance()
.createSignInIntentBuilder()
.setProviders(...)
.setTosUrl("https://superapp.example.com/terms-of-service.html")
.setPrivacyPolicyUrl("https://superapp.example.com/privacy-policy.html")
.setTheme(R.style.SuperAppTheme)
.build(),
RC_SIGN_IN);
Expand Down