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

Delegate Method popupStoreLibWasClosed(_ controller: PopupStoreController) not called #16

Open
3DTOPO opened this issue Aug 19, 2019 · 0 comments

Comments

@3DTOPO
Copy link

3DTOPO commented Aug 19, 2019

With 1.0.8, the close button works (sends a popupStoreLibWasClosed() message) before the user hits continue, or after a purchase has been made, but not on the option screen, circled red:

IMG_1502

The only way to handle that button is by using:
open func popupStoreEventWasEmitted(_ controller: PopupStoreController!, withEvent eventName: String!, withPayload payload: [AnyHashable: Any]!)

and checking for:

if eventName.contains("userCancelStore") { popupStoreLibWasClosed(controller) }

With 1.0.7 and before, that button would send a message to the delegate and handled with:

popupStoreLibWasClosed(_ controller: PopupStoreController)

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

1 participant