Hüseyin Emre
Hüseyin Emre
You can use but, dart codes are isolated. So it means that you will working on memory, not disk. Check that: https://hackernoon.com/an-introduction-to-dart-code-and-isolate-em3j34u1
You should check conditions for your background service about system errors, if something happen to stop your background, you should start it again.
The service is running again correctly but you should know it, when service start again only onStart method will work so you should check something to do something . If...
You can do it, if you sneak in this library
This error given because you created in timer Notification() but notification function is created with strem method. Stream is already listenable method. You should call from backround Notification. Do not...
Did you set options correctly on AndroidManifest.xml? This should be the problem with method channel.
You should initiliaze in main method like that: FlutterBackgroundService.initialize(onStart);
You should call from onStart method to set notification info. When app starts, it called onStart method first. Check example. Good luck
There should be a function like FlutterBackgroundService.setAutoBootMode(). Default value is true, change it to false.
You can change for android from library which path is /ekasetiawans/flutter_background_service/blob/master/android/src/main/java/id/flutter/flutter_background_service/BackgroundService.java