Im testing in play store test mode and i activate the subscription which works fine, but when i cancel the test subscription the entitlement for the user is always returning true. On revenue cat dashboard the subscription is cancelled, so i assume this is a caching thing? If so can someone explain more deeper why it doesn’t shoot a network request to grab the updated sub value?
thanks
override suspend fun isSubscribed(): Flow<Boolean> = callbackFlow { Purchases.sharedInstance.getCustomerInfo( callback = object : ReceiveCustomerInfoCallback { override fun onError(error: PurchasesError) { Log.e(TAG, "onError: ${error.message}") } override fun onReceived(customerInfo: CustomerInfo) { Log.d(TAG, "onReceived: ${customerInfo.entitlementsn"Premium"]?.isActive}") trySend((customerInfo.entitlementsn"Premium"]?.isActive == true)) } } ) awaitClose()}