You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, can someone please explain how to deal with subscriptions on iOS where purchaseUpdatedListener gets called multiple times? When I allow some time to pass and then call requestSubscription, I end up getting bunch of old renewal purchases arriving through purchaseUpdatedListener. This makes it almost impossible for me to rely on the incoming updates to update my UX for example because I might end up receiving like 5 back to back updates.
I found something called clearTransactionIOS but I was not sure how that can be relevant here especially since the example says to not use it in production code.
Can anyone please advice on how this should be handled ? Thank you very much.
It actually seems like getSubscriptions is the one that triggers all the old subscriptions to arrive to purchaseUpdateListerner. Is that expected ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, can someone please explain how to deal with subscriptions on iOS where purchaseUpdatedListener gets called multiple times? When I allow some time to pass and then call requestSubscription, I end up getting bunch of old renewal purchases arriving through purchaseUpdatedListener. This makes it almost impossible for me to rely on the incoming updates to update my UX for example because I might end up receiving like 5 back to back updates.
I found something called clearTransactionIOS but I was not sure how that can be relevant here especially since the example says to not use it in production code.
Can anyone please advice on how this should be handled ? Thank you very much.
It actually seems like getSubscriptions is the one that triggers all the old subscriptions to arrive to purchaseUpdateListerner. Is that expected ?
Beta Was this translation helpful? Give feedback.
All reactions