mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-12 09:28:09 +00:00
core: record the device store's view of a subscription
The service reads the store only once a subscription's paid coverage has ended, so it never sees a cancellation while the period runs. The apps read the device's store (StoreKit's renewal state, Play's isAutoRenewing) and report it with /_badge subscription <state> <payment>, which records it on the credited subscription purchase the payment resolves to and announces the change to its owner. A renewing report does not replace billingRetry or ended: Play lists a subscription in its grace period with auto-renew on, and the service's next answer clears billing retry once the charge lands. Run: 003-badge-subscriptions-ui, slice 3
This commit is contained in:
1 parent
7bc4dbca36
commit
f126ef075d
5 files changed
+74
-1
No files matched your search
@@ -430,6 +430,7 @@ undocumentedCommands =
|
||||
"APISendCallOffer",
|
||||
"APISendServiceRequest",
|
||||
"APISetAppFilePaths",
|
||||
"APISetBadgeSubscriptionStatus",
|
||||
"APISetChatItemTTL",
|
||||
"APISetChatSettings",
|
||||
"APISetChatTags",
|
||||
|
||||
Reference in new issue
Block a user