fix: capacitor al login loop

This commit is contained in:
ThaUnknown 2023-11-23 19:20:58 +01:00
parent 535e83cdca
commit a41d076929

View file

@ -34,7 +34,12 @@ function sendToken (line) {
}
App.getLaunchUrl().then(res => {
if (res) handleProtocol(res.url)
if (location.hash !== '#skipAlLogin') {
location.hash = '#skipAlLogin'
if (res) handleProtocol(res.url)
} else {
location.hash = ''
}
})
SafeArea.addListener('safeAreaChanged', updateInsets)