Skip to content

Fix restricted foreground service types #62

@tobiaswu

Description

@tobiaswu

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:

expo.modules.audio.service.AudioRecordingService.startForegroundWithNotification
expo.modules.audio.service.AudioControlsService.postOrStartForegroundNotification

To resolve this issue, make sure that BOOT_COMPLETED broadcast receivers do not start restricted foreground service types in the methods listed above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions