Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DIA-2353] Document consent transfer API #662

Merged
merged 4 commits into from
Jul 11, 2023
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
- [Set a Privacy Manager Id for the Property Group](#set-a-privacy-manager-id-for-the-property-group)
- [ProGuard](#ProGuard)
- [Adding or Removing custom consents](#adding-or-removing-custom-consents)
- [Sharing consent with a WebView](#sharing-consent-with-a-webview)
- [Injecting consent into a WebView](#injecting-consent-into-a-webview)
- [The SpUtils file](#The-SpUtils-file)
- `userConsents`
- `clearAllData`
Expand Down Expand Up @@ -682,7 +682,7 @@ Using ProGuard in your project you might need to add the following rules

```

## Sharing consent with a WebView
## Injecting consent into a WebView
After the user grants consent to all the applicable campaigns, the `onSpFinished` callback from `LocalClient` is being triggered with according consent statuses. This SDK provides an API to inject this consent into a WebView, so the web portion of your application does not invoke a consent dialog and will contain the same consent data as the native part.

Kotlin
Expand Down
Loading