官方答复是Your app declares support for audio in the UIBackgroundModes key in your Info.plist, but we were unable to play any audible content when the app was running in the background.
意思就是我app支持后台播放背景音乐,但是实际app切到后台以后并没有播放音频的功能,说是要在Info.plist里面修正
解决方法
\Native\plugins\de.appplant.cordova.plugin.background-mode下面的plugin.xml中的
<config-file target="*-Info.plist" parent="UIBackgroundModes"> <array> <string>audio</string> </array> </config-file> <resource-file src="appbeep.wav" />
注释掉
评一波