GLInAppPurchase
GLInAppPurchase copied to clipboard
Printing current price
Hi @gokulgovind this project is so amazing. Thumbs up. But I have a question. How can I make it so that the current package/price is printed when the boost button is pressed. And if no package is selected then the print statement would be "no package"
Hai jackpaster, When user selects a package, that package info will be returned through their completion handler. From where we can maintain a reference of selected package's price and other details.
@gokulgovind can you show me how I could handle the reference of the selected package on completion
@jackpaster i have update the code, now boost button completion handler will return 3 parameters.
- button title -> String
- isOptionSelected -> Bool
- selectedOption -> GLInAppAction
@jackpaster have you checked it?
It's not updated. I checked it's the same code. Please show me where you changed it. BecAuse I'm very confused
On Tuesday, April 18, 2017, Gokul [email protected] wrote:
@jackpaster https://github.com/jackpaster have you checked it?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gokulgovind/GLInAppPurchase/issues/1#issuecomment-294673331, or mute the thread https://github.com/notifications/unsubscribe-auth/ARCMmRgM_wdGlogvwMrK4ZlTPCKmR9Aeks5rxDu6gaJpZM4M_Fug .
Sry, Clone or download the code and check it now. pls.
@jackpaster Have you checked the update..? Shall we close this issue.