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

notify Flutter after the native UIViewController has been dismissed in addPass #107

Open
sstasi95 opened this issue Jan 7, 2025 · 0 comments · May be fixed by #106
Open

notify Flutter after the native UIViewController has been dismissed in addPass #107

sstasi95 opened this issue Jan 7, 2025 · 0 comments · May be fixed by #106

Comments

@sstasi95
Copy link

sstasi95 commented Jan 7, 2025

Package

apple_passkit

Problem Statement

It's not possible to execute Dart code immediately after the native UIViewController has been dismissed when calling the addPass function. This would be helpful for example to refresh the UI after a pass has been added to the wallet.

Solution Brainstorm

I've created a draft PR, even though I'm not very fluent in Swift. This is potentially a breaking change, so it might be useful to add a boolean parameter (e.g. waitForDismissal) to be backward compatible if you think it's worth it.

Are you willing to submit a PR?

Yes, but I'll need guidance

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