mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-06 14:47:43 +00:00
A subscription transaction was finished uncredited, so a buyer would pay and get nothing. Every badge product now goes through a core invoice and is handed over, and finished only once the core answers it credited or refused. Transactions the store lists (the launch sweep, Transaction.updates) are handed over as listed, so another device's purchase is not claimed here; Restore purchases syncs with the App Store and claims them for this profile. A revoked renewal is finished without hand-over, as the service would refuse it and so the whole subscription. The app reports StoreKit's renewal state to the core at each sweep, after the manage-subscriptions sheet and after a restore. Monthly and annual are offered only to an Apple ID with no earlier subscription in the group, which Apple would fold a new one into. Run: 003-badge-subscriptions-ui, slice 9