Hüseyin Emre

Results 19 comments of Hüseyin Emre

I am not sure for that but actually ios path can be /ekasetiawans/flutter_background_service/blob/master/ios/Classes/SwiftFlutterBackgroundServicePlugin.swift Anyway you can change notification setting from hard code. Hope will be helpfull

Hot restart cause stop background service but if set_auto_boot control is true, background service start automatically.

You are trying to send data in same function, try to learn "How method and event channel works". There is a link for you: https://medium.com/@igaurab/event-channels-in-flutter-2b4d0db0ee4f You should receive data from...

When and where does your dashboard.dart run? I wrote that "How method and event channel works" you should review for it. If you don't read these topics, unfortunately you won't...

Only onStart method will be working on background. If you are trying to receive data from front-end when your app is closed, it will give this error.

I missed something about my last comment bytheway. If we talk about ios background services, you should edit your codes with xcode, try to open xcode, find background fetches, allow...

You should try to open your project with xcode and actually try to allow background modes.

You can change in FlutterBackgroundService class. Go to Dart Packages, find flutter_background_service. In class you will find what you want.

Any classes you want, you can send message with FlutterBackgroundService().sendData() function, and you can receive with FlutterBackgroundService().receiveFromData.listen(event). If you stop background before receive, it will throw error about " could...