- Home /
Update/Refresh screen before IAP InitiatePurchase
I've been working on implementing Unity's IAP into my game for both iOS and Android (currently focusing on Android for this question), and it has been working fine so far.
In my design, whenever the user taps on a purchase button, I make screen changes, like disabling items, changing colors, showing the spinning graphic image, etc -- to provide visual cues.
I make all the necessary changes and then invoke the InitiatePurchase method in the IAP Controller. However, the IAP popup appears instantly before any of my screen changes takes effect. I've tried adding a "yield" command with "Wait For End Of Frame"; adding a flag that gets set in the Update function and checking that flag in a yield loop.
None of these works to allow the screen changes to take effect before InitiatePurchase takes over.
How can I do this?
Thanks, Manny
Your answer
Follow this Question
Related Questions
How to properly handling iOS/Android IAP-refund in realtime 0 Answers
The IAP service currently disabled - Unity Bug 3 Answers
Trying to work out how to store non-consumables with Unitys new IAP plugin (Android, iOS) 0 Answers
Does receipt verification require an internet connection? 0 Answers
How do i Add In App Purchasing Without Being Android Developer 0 Answers