Elektrine lite

← Feed

@jordanhipwell@mastodon.world

Post #1531747

2026-03-26 14:34 UTC

Got a weird in-app purchase issue! A user has Settings > Apple Account > Media & Purchases > View Account > Country/Region set to Thailand. When Settings > General > Language & Region > Region is set to United States, they can successfully restore previous purchases. But if they change that to Thailand (which changes Calendar to Buddhist), the purchase disappears and restore purchase says they have none. When they change Calendar back to Gregorian, purchases restore successfully 🧐

Replies (1)

  • The restore purchase code just calls AppStore.sync() then for await result in Transaction.currentEntitlements { guard case .verified(let transaction) = result else { continue } if transaction.revocationDate == nil { purchasedProductIDs.insert(transaction.productID) } else { purchasedProductIDs.remove(transaction.productID) } }

    Open ##1986071