flutter_foreground_task icon indicating copy to clipboard operation
flutter_foreground_task copied to clipboard

This plugin is used to implement a foreground service on the Android platform.

Results 81 flutter_foreground_task issues
Sort by recently updated
recently updated
newest added

I want to turn off the Android notification when the app is running in the background. I am not sure if this is possible as this package currently stands, but...

MissingForegroundServiceTypeException.java:53 java.lang.RuntimeException · Unable to create service com.pravera.flutter_foreground_task.service.ForegroundService: android.app.MissingForegroundServiceTypeException: Starting FGS without a type callerApp=ProcessRecord{ac083f5 16801:com.thrivecommunity.thrive_client/u0a143} targetSDK=34

i'm trying to send me current location to API every 5 minutes while the app is in background. i was able to achieve this by creating a Timer.periodic and call...

onNotificationPressed not trigger on v6.1.2

After much experimenting, I've got everything running but couldn't get `OnNotificationPressed` or `onNotificationButtonPressed` to work reliably. Turns out the issue was that the sample code (which I was using) for...

I have followed the example and the instructions in the readme, however there is a recurring issue to do with getting the notification permission. `E/SurfaceSyncer(26831): Failed to find sync for...

Hey guys, I needed the service to keep working even if the user closes the app or reboots the phone, so I set the service to "remote" as suggested in...

Problem description: After starting the front-end service, the native platform channel cannot be accessed Problem details: After starting the front-end service, my platform channel seems to have failed, and I...

I call `FlutterForegroundTask.launchApp()` with the appropriate route from the `onNotificationButtonPressed()` handler and the app navigates to this route all right but it doesn't come to the foreground, the notification shade...

I do have `android:stopWithTask="true"` and I also try to call `FlutterForegroundTask.stopService()` both from the `dispose()` of my main page and its `PopScope.onPopInvoked()` handler (although the latter two don't really help...