Skip to content

Issue: Rejected by Google Play due to BOOT_COMPLETED with foreground service (Android 15+) #356

@zhwIdea

Description

@zhwIdea

When submitting my app to Google Play, I received the following rejection message:

Restricted foreground service types
Apps targeting Android 15 or later cannot use BOOT_COMPLETED broadcast receivers to launch certain foreground service types. Doing this will cause your app to crash for users on Android 15 and later.

Your app starts restricted foreground service types using BOOT_COMPLETED broadcast receivers in the following places:
com.pravera.flutter_foreground_task

✅ What I did:
• Target SDK: 35 (Android 15), testing on Android 15.
• I did not add RECEIVE_BOOT_COMPLETED permission.
• I did not register any BOOT_COMPLETED BroadcastReceiver manually.

❓ Question:
• Does flutter_foreground_task internally register a BroadcastReceiver for BOOT_COMPLETED?
• If so, can we make this optional or disable it via configuration?
• How can I avoid this behavior to pass Google Play review?

💡 My Goal:

I want to use flutter_foreground_task for background 'dataSync', but still comply with Android 15+ and Play Store requirements.

Any advice or workaround would be greatly appreciated!

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