leanflutter / local_notifier

This plugin allows Flutter desktop apps to notify local notifications.
MIT License
74 stars 32 forks source link

Windows Application Close when call windowManager.setSkipTaskbar(true); #17

Open dodatw opened 2 years ago

dodatw commented 2 years ago

Hi leanflutter,

We found a issue after upgrade local_notifier to 1.2 If we call "setup" in main. than call "windowManager.setSkipTaskbar" in initState The application will close.

This issue can reproduce on example project.

Thanks.

Doda,

Far-Se commented 2 years ago

Had similar issue. My own Method Package has stopped working after adding this package. The trick is to put localNotifier.setup in a delayed Future, you don't need toasts from first second anyhow.

Also they should put #define NDEBUG before including wintoastlib.h. The debug console prints are annoying.