mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-05 14:57:42 +00:00
With [dev] accept_unverified_store_receipts on, every subscription was answered provider_not_configured, so the apps' subscription screens could not be tried against a dev service. The mock now credits an App Store subscription for the plan its product names, and a Play subscription for the base plan a test token test.<basePlanId>.<uuid> names, or else its product's monthly plan, from a minute ago; it remembers the plan in memory and grants each renewal a new charge, answering a subscription it does not know (after a restart) as ended. The subscription check is given the product the presented receipt names, which only the mock reads; it reads the service's badge clock at check time. Run: 003-badge-subscriptions-ui, slice 8