Skip to content

feat(MSDK-3781): Add notifySubscriptionLapsed to Flutter bridge - #213

Open
asadraza-usercentrics wants to merge 1 commit into
feat/MSDK-3779-consent-or-pay-first-layerfrom
feat/MSDK-3781-notify-subscription-lapsed-flutter
Open

asadraza-usercentrics wants to merge 1 commit into
feat/MSDK-3779-consent-or-pay-first-layerfrom
feat/MSDK-3781-notify-subscription-lapsed-flutter

Conversation

@asadraza-usercentrics

Copy link
Copy Markdown
Collaborator

Summary

Adds a public notifySubscriptionLapsed() API to the Flutter SDK, bridging the native mobile-sdk's Consent-or-Pay subscription-lapsed signal to both Android and iOS.
Calling it notifies the native SDK that a user's paid subscription has lapsed, which redirects them back to the consent banner.

Changes

Added notifySubscriptionLapsed() to the platform interface and its Android/iOS bridge implementations.
Added success/error callback handling matching the existing notifySubscribeSuccess/notifyLoginSuccess pattern.

Testing

Verified manually on both platforms against a locally-published native SDK build:
notifySubscriptionLapsed — confirmed success flow and redirect back to the first-layer consent banner.
Confirmed no regression to existing Consent-or-Pay callbacks (subscribe/login) or the Deny-All gate redirect.

@asadraza-usercentrics
asadraza-usercentrics added this pull request to stack #214 September 15, 2026 16:10
Exposes the native SDK's subscription-lapse API through the Flutter bridge on Android and iOS.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@asadraza-usercentrics
asadraza-usercentrics force-pushed the feat/MSDK-3781-notify-subscription-lapsed-flutter branch from c4213cf to d866c8d Compare September 17, 2026 10:09
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