Android: more android development, working version

This commit is contained in:
Pieter Vander Vennet 2025-02-13 22:07:45 +01:00
parent 6224ff2c09
commit 770a4bab55
6 changed files with 11 additions and 3 deletions

View file

@ -4,6 +4,7 @@ import { Utils } from "../src/Utils"
import { UIEventSource } from "../src/Logic/UIEventSource"
import { VariableUiElement } from "../src/UI/Base/VariableUIElement"
import Combine from "../src/UI/Base/Combine"
import { QueryParameters } from "../src/Logic/Web/QueryParameters"
console.log("Authorizing...")
const key = Constants.osmAuthConfig.url + "oauth2_state"
@ -36,6 +37,7 @@ connection.finishLogin(async () => {
debug.set(dbg)
if (attempt > 10) {
QueryParameters.ClearAll()
window.location.reload()
}
} while (!token)