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.