-
-
Notifications
You must be signed in to change notification settings - Fork 622
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
purchaseUpdateListener for iOS subscription is always called twice #2713
Comments
I am also facing the same issue. Did you get any solution? |
No, I also tried with a minimal example and it is still happening. For now I just made sure that the extra call is not causing any issues on frontend or backend at least so everything is handled correctly even if it gets called multiple times but the double call was still bothering me a bit. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When making purchases or receiving renewal updates through purchaseUpdateListener on iOS, the notification always arrives twice for some reason. They always arrive somewhere around 2.5 seconds after each other. I tried calling finishTransaction right after I receive the purchaseUpdateListener but still nothing, it works the same way.
Any idea what might be the reason for this double notification for the same purchase?
I am using the Storekit 2 in case if that is relevant.
Expected Behavior
purchaseUpdateListener should have fired only once for the same purcahse
Environment:
The text was updated successfully, but these errors were encountered: