Skip to content

The background tasks of the Samsung mobile phone cannot be stopped #369

@Sansuihe

Description

@Sansuihe

My configuration

 <service
            android:name="com.pravera.flutter_foreground_task.service.ForegroundService"
            android:foregroundServiceType="dataSync|microphone|mediaPlayback"
            android:stopWithTask="true"
            android:exported="false" />

I hope that the task stops after the APP is killed. In most cases, it's normal, but I've tested that on the pixel4 and most Samsung models, the task still exists when the APP is killed in the background, and the APP cannot be completely killed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions