Istruzioni per installare l'APP: Android, iOS

This commit is contained in:
Surya Paolo
2023-01-25 20:52:47 +01:00
parent e58f7249a6
commit 23fd5fc5ef
20 changed files with 131 additions and 38 deletions

View File

@@ -7554,8 +7554,8 @@ export const tools = {
},
checkApp() {
console.log('checkApp')
const globalStore = useGlobalStore()
console.log('checkApp (homescreen=', globalStore.homescreen)
try {
let displayMode = 'browser'
@@ -7569,7 +7569,7 @@ export const tools = {
// prova altro 2
console.log('displayMode = ', displayMode)
globalStore.isAppRunning = displayMode === 'standalone'
globalStore.isAppRunning = displayMode === 'standalone' || globalStore.homescreen
} catch (e) {
console.log('error navigator.standalone ?!')
}