Skip to content

feat(MSDK-3779): add consent-or-pay login/subscribe callbacks - #206

Open
asadraza-usercentrics wants to merge 1 commit into
masterfrom
feat/MSDK-3779-consent-or-pay-first-layer
Open

feat(MSDK-3779): add consent-or-pay login/subscribe callbacks#206
asadraza-usercentrics wants to merge 1 commit into
masterfrom
feat/MSDK-3779-consent-or-pay-first-layer

Conversation

@asadraza-usercentrics

Copy link
Copy Markdown
Collaborator

Summary

  • Bridges the native SDK's Consent-or-Pay 1st-layer banner support (MSDK-3779) into Flutter: onLoginClicked/onSubscribeClicked broadcast streams fire when the user taps the subscriber-login link or "Reject & Subscribe" button in the banner.
  • Adds notifyLoginSuccess()/notifySubscribeSuccess() so the host app can clear stored TCF consent data after confirming a successful login or subscription.

Test plan

  • Android: Accept All, consent update via second layer, Reject & Subscribe (onSubscribeClicked fired with correct URL, storage cleared), Log in, Manage Settings/Vendor list → second layer — all verified against a local Maven build of the native SDK.
  • iOS: same scenarios verified against a local XCFramework build of the native SDK.
  • CI — pending push.

Bridges the native SDK's Consent-or-Pay 1st-layer banner support (MSDK-3779):
onLoginClicked/onSubscribeClicked event streams fire when the user taps the
subscriber-login link or Reject & Subscribe button, and notifyLoginSuccess/
notifySubscribeSuccess let the host app clear stored TCF consent after a
successful login or subscription.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant