I the app developer and i purchased the premium version of my app in production. ideally i should be getting something in entitlement active object: [Kotlin code]
customerInfo.entitlements.active.isNotEmpty()
The above code should return true, but only in case of my account its returning as false. and when trying to call the restore method:
Purchases.sharedInstance.restorePurchases(object : ReceiveCustomerInfoCallback{ override fun onError(error: PurchasesError) { showToast(this@AccountManagerActivity,error.message) } override fun onReceived(customerInfo: CustomerInfo) { val value = customerInfo.activeSubscriptions.toString() showToast(this@AccountManagerActivity,value) } })}
Its throwing some server error.
Please help as currently its reported in my account and could happen with a premium user as well. Thanks in advance.