Skip to content

[Bug]: Android - Apps targeting Android 15 or later cannot use BOOT_COMPLETED broadcast receivers to launch certain foreground service types #1045

@AndreiMisiukevich

Description

@AndreiMisiukevich

What happened?

That's what I got from Google review:

1 issue found
We found some common issues that are preventing your app from being sent for review. You must address these issues before you can send your changes for review.
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:
I6.a.v
To resolve this issue, make sure that BOOT_COMPLETED broadcast receivers do not start restricted foreground service types in the methods listed above.

Steps to reproduce?

1. Install the latest onesignal_flutter SDK
2. Build an Android AAB and send it for review

What did you expect to happen?

No Google review error

OneSignal Flutter SDK version

5.3.3

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions