I have one subscription group with four subscriptions
Premium Yearly
Premium Monthly
Basic Yearly
Basic Monthly
First when i buy a subscription ( For example: Basic Monthly) then i upgrade to another subscription (Premium Monthly), the webhook sends the event for the product change and renewal. In the webhook, i hit the developer api v2 to check the active entitlements for the user and i get Basic Monthly and Premium Monthly both as active subscriptions. The api only returns one correct entitlement after some delay .
The way we have the webhook setup is that we fetch the active entitlements from the revenue cat itself and we sync the data with our own database according to how the docs recommended it but this two entitlements keeps causing issues when we are trying to sync the data. This issue only happens on iOS. Is this a known bug with revenue cat or how can we solve this?