farhanfadila1717 / slide_countdown

A Flutter package to create easy slide animation countdown / countup timer.
https://pub.dev/packages/slide_countdown
MIT License
59 stars 43 forks source link

onDone() in background state #52

Closed synstin closed 11 months ago

synstin commented 1 year ago

First of all, thank you for creating such a great package. I'm really enjoying using it.

I want to send a push message using fcm when onDone() is called in the background.

This works on Android, but on IOS, onDone() is not called when in the background.

Is there any way to have onDone() called while the app is in the background?

farhanfadila1717 commented 11 months ago

Thank you @synstin for use my OS. It's seems dart issues, dart code can't execute/run when app is in the bg iOS. You can use other package to handle it such as https://pub.dev/packages/flutter_background_service