Skip to content

feature/cp-11109-android-implement-method-for-marking-subscription-as-test#342

Merged
unnaticleverpush merged 2 commits intomasterfrom
feature/cp-11109-android-implement-method-for-marking-subscription-as-test
Apr 16, 2026
Merged

feature/cp-11109-android-implement-method-for-marking-subscription-as-test#342
unnaticleverpush merged 2 commits intomasterfrom
feature/cp-11109-android-implement-method-for-marking-subscription-as-test

Conversation

@unnaticleverpush
Copy link
Copy Markdown
Contributor

@unnaticleverpush unnaticleverpush commented Apr 16, 2026

Added method markSubscriptionAsTest to mark subscription as test


Summary by cubic

Adds an Android API to mark the current subscription as a test, fulfilling CP-11109. Provides an overload with an optional CompletionFailureListener and a response handler for clear success/failure reporting.

  • New Features
    • Added CleverPush.markSubscriptionAsTest() and markSubscriptionAsTest(CompletionFailureListener).
    • Posts channelId and subscriptionId to /subscription/mark-as-test.
    • Introduced MarkSubscriptionAsTestResponseHandler to log outcomes and invoke onComplete/onFailure.
    • Validates presence of channelId and subscriptionId and exits early if missing.

Written for commit 7f0cca3. Summary will update on new commits.

…test

Added method `markSubscriptionAsTest` to mark subscription as test
@unnaticleverpush unnaticleverpush self-assigned this Apr 16, 2026
@unnaticleverpush unnaticleverpush merged commit 31c2534 into master Apr 16, 2026
3 of 6 checks passed
@unnaticleverpush unnaticleverpush deleted the feature/cp-11109-android-implement-method-for-marking-subscription-as-test branch April 16, 2026 11:43
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