nandorojo/burnt

Do work when alert is dismissed/finished

Opened this issue · 1 comments

Would you be open to integrate (PR or just issue feature request) a feature to trigger code to be run once the alert or toast is dismissed or timed out?

When it comes to helping out with a PR, would exposing the promise from BurntModule's async methods be enough, or would you prefer some onDismissed callback?

I think there is likely an on close type callback on web and iOS that we could expose. I’m not sure about Android, but I’m open to a PR if you can find them!