mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-08 04:48:36 +02:00
Fix: downloaded filename is different in android 10 #13
This commit is contained in:
@@ -109,11 +109,13 @@ export default {
|
||||
// })
|
||||
// },
|
||||
async checkForUpdate() {
|
||||
console.log('Checking for app update')
|
||||
const result = await AppUpdate.getAppUpdateInfo()
|
||||
if (!result) {
|
||||
console.error('Invalid version check')
|
||||
return
|
||||
}
|
||||
console.log('App Update Info', JSON.stringify(result))
|
||||
this.$store.commit('setAppUpdateInfo', result)
|
||||
if (result.updateAvailability === 2) {
|
||||
setTimeout(() => {
|
||||
|
||||
Reference in New Issue
Block a user