Skip to content

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

Merged
islameldesoky95 merged 1 commit into
masterfrom
feat/MSDK-3781-notify-subscription-lapsed-flutter
Oct 1, 2026
Merged

islameldesoky95 merged 1 commit into
masterfrom
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
@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
Base automatically changed from feat/MSDK-3779-consent-or-pay-first-layer to master October 1, 2026 09:33
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>
@islameldesoky95
islameldesoky95 force-pushed the feat/MSDK-3781-notify-subscription-lapsed-flutter branch from d866c8d to fc5175a Compare October 1, 2026 09:33
@islameldesoky95
islameldesoky95 merged commit 22687a5 into master Oct 1, 2026
6 of 13 checks passed
@islameldesoky95 islameldesoky95 mentioned this pull request Oct 1, 2026
9 of 11 tasks
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.

3 participants