Is there any special handling required in StoreKit2, to handle promo code redemption?

My users will redeem promo code via app store (outside my app)

Currently, I am using StoreKit2 to

  • Query Transaction.currentEntitlements during app startup

  • Keep listening to Transaction.updates

I was wondering, is that is so, is there any special code required, to handle Promo code redeem from user?

I guess by keep listening to Transaction.updates, will able to handle such case? But, I am not able to test that, without rolling out my app to production.

Thanks.

You got it. I recommend reviewing this best practice session on Proactive Restore, and it’s sample project, as it covers listening for transactions with transaction.updates (ie: promo code redemption) and entitling service immediately on app launch using currentEntitlements https://developer.apple.com/videos/play/wwdc2022/110404/

Is there any special handling required in StoreKit2, to handle promo code redemption?
 
 
Q