提交 fd5f9f95 编写于 作者: Q qiang

fix: 旧版本升级后修复调用 uni.getBackgroundAudioManager 报错的问题

上级 4d6768e7
......@@ -15,7 +15,8 @@ const network = [
'sendSocketMessage',
'onSocketMessage',
'closeSocket',
'onSocketClose'
'onSocketClose',
'getUpdateManager'
]
const route = [
......
class UpdateManager {
constructor () {
}
onCheckForUpdate () {
}
onUpdateReady () {
}
onUpdateFailed () {
}
applyUpdate () {
}
}
let updateManager
export function getUpdateManager () {
return updateManager || (updateManager = new UpdateManager())
}
export default [
'saveImageToPhotosAlbum',
'getRecorderManager',
'getBackgroundAudioManager',
'saveVideoToPhotosAlbum',
'createCameraContext',
'createLivePlayerContext',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册