Support for android 8+, selectable download location, permissions check, recursive delete

This commit is contained in:
advplyr 2021-09-19 18:44:10 -05:00
parent b4ffe0fc83
commit e124d3858f
23 changed files with 798 additions and 387 deletions

View file

@ -8,8 +8,10 @@ export const state = () => ({
appUpdateInfo: null,
socketConnected: false,
networkConnected: false,
networkConnectionType: 'unknown',
streamListener: null
networkConnectionType: null,
streamListener: null,
isFirstLoad: true,
hasStoragePermission: false
})
export const getters = {
@ -27,6 +29,12 @@ export const getters = {
export const actions = {}
export const mutations = {
setHasStoragePermission(state, val) {
state.hasStoragePermission = val
},
setIsFirstLoad(state, val) {
state.isFirstLoad = val
},
setAppUpdateInfo(state, info) {
state.appUpdateInfo = info
},