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

There are currently not examples of how to run a function when the FirstTaskHandler receives a message from the outside, only to send from it to the main. For now...

app crash on android 14 with these outputs : E/AndroidRuntime( 6927): java.lang.RuntimeException: Unable to create service com.pravera.flutter_foreground_task.service.ForegroundService: android.app.InvalidForegroundServiceTypeException: Starting FGS with type none callerApp=ProcessRecord{dda2c92 6927:com.bargram.mobileapp.bargram_mobile/u0a190} targetSDK=34 has been prohibited E/AndroidRuntime(...

This PR updates the readme file to clarify that you need to specify the **foregroundServiceType** inside **AndroidNotificationOptions**. Otherwise, the app will crash on Android 14 as mentioned here #220 .

The foreground service type is missing in the new version 6.4.0. Due to this the Android app crashes continuously. FATAL EXCEPTION: main Process: com.stratbeans.bytecastingevolve, PID: 13153 java.lang.RuntimeException: Failure delivering result...

Hi, is it possible to dynamically change the buttons or their text? I am trying to implement a foreground notification for a timer, and I need to change the button...

I'm currently working on an app blocking app where users can schedule and set a start time and end time to block apps. I've already implemented android_alarm_manager with flutter_foreground_task to...

Huawei P40 Pro I have already turned off battery optimization. I used an example to directly build the app on a Huawei device. When the app is active, the counter...

Hello, good day. We use flutter foreground service, to calculate user steps in the background and display them in a sticky notification. The problem we are trying to tackle now...

It seems that only foregroundServiceType="dataSync" is accepted. If I set foregroundServiceType to "connectedDevice", I receive the following exception: java.lang.RuntimeException: Unable to create service com.pravera.flutter_foreground_task.service.ForegroundService: java.lang.IllegalArgumentException: foregroundServiceType 0x00000001 is not a...

My app needs to support down to iOS12.0, but the plugin only supports iOS14.0 and above. How can I fix it?