Foreground service example in Flutter

廉价感情. 提交于 2020-01-04 06:31:25

问题


I am new to Flutter. Can anyone post the link or code for "android foreground service example with a notification"? I googled but didn't get any good example of foreground service.

I'm working on a project that includes an SMS package. This App has to be active on the foreground.

Sample photo


回答1:


Pauldemarco has created some excellent flutter packages for flutter. He has developed one for Foreground service too. As of now, it is only supported in android. It is not supported for iOS. I hope this helps.

https://github.com/pauldemarco/foreground_service



来源:https://stackoverflow.com/questions/56862952/foreground-service-example-in-flutter

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!