Skip to content
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

Printing current price #1

Open
jackpaster opened this issue Apr 17, 2017 · 7 comments
Open

Printing current price #1

jackpaster opened this issue Apr 17, 2017 · 7 comments

Comments

@jackpaster
Copy link

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"

@gokulgovind
Copy link
Owner

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.

@jackpaster
Copy link
Author

@gokulgovind can you show me how I could handle the reference of the selected package on completion

@gokulgovind
Copy link
Owner

@jackpaster i have update the code, now boost button completion handler will return 3 parameters.

  1. button title -> String
  2. isOptionSelected -> Bool
  3. selectedOption -> GLInAppAction

@gokulgovind
Copy link
Owner

@jackpaster have you checked it?

@jackpaster
Copy link
Author

jackpaster commented Apr 18, 2017 via email

@gokulgovind
Copy link
Owner

Sry, Clone or download the code and check it now. pls.

@gokulgovind
Copy link
Owner

@jackpaster Have you checked the update..?
Shall we close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants