I want to create a Background service which is always running even if app is not running in background , so that I can manage different features in my flutter , is there any way to do that?
CodePudding user response:
There are several ways of doing this.
- You can check out flutter_background_service. It's a new package.
- background_fetch is another package that can help you out.
- Additionally if you're only planning to execute a task when you get some new information from a remote server, firebase data message can be used too, where you'll run a function upon receiving a data message. link