I followed your tutorial to convert our Paid app to Subscriptions - https://www.revenuecat.com/blog/converting-a-paid-ios-app-to-subscriptions.
In sandbox mode everything works as expected, but in production it seems that ‘CompatibilityAccessManager’ cannot convert old users without reopening the app. So my guess is that
‘func isActive(entitlement: String, result: @escaping ((Bool, Purchases.PurchaserInfo?) -> Void))’
works only after some delay or 2nd time in production.
I configure entitlements on ‘appDidFinishLaunch’ to grand access with this method:
‘func configure(entitlements: [BackwardsCompatibilityEntitlement], completion: ((Purchases.PurchaserInfo?) -> Void)? = nil)’.
Also I set ‘PurchasesDelegate’ to catch updates and configure UI.
When should I check ‘isActive’ state with CompatibilityAccessManager?
Can I rely on ‘PurchasesDelegate’ or it’s better to use some timers to recheck again ‘isActive’ state?
Can we test this problem on production with promo-codes?
Best answer by codyView original