Skip to content

App is crashed when moving to background when using a foreground icon #583

@Taxi4you

Description

@Taxi4you

If you don't configure this:

cordova.plugins.backgroundMode.setDefaults({ silent: true })

Then when you move to background the app is crashing immediately on Android 10 +.
However the plugin creator says that a foreground service icon is highly recommended and that it can be found under platforms/android/res/drawble/icon.png.

Well I have added an icon for there and still it doesn't work.

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