I have an android app in which I have a foreground service which runs for every 24 hours and download few things. Now I want to port app to flutter, but I'm unable to understand properly how to call that foreground service. I searched online and found we can use platform channels to talk with native platform code but I'm quite unable to get it. please provide an example to run android foreground service from flutter. Thanks in advance.
I have an android app in which I have a foreground service which runs for every 24 hours and download few things. Now I want to port app to flutter, but I'm unable to understand properly how to call that foreground service. I searched online and found we can use platform channels to talk with native platform code but I'm quite unable to get it. please provide an example to run android foreground service from flutter. Thanks in advance.