on 08-21-2023 12:55 PM
Hello together,
we do use the navigator.geolocation.getCurrentPosition Geolocation API in one of our UI5 app.
[Violation]Only request geolocation information in response to a user gesture in the console.
And the Geolocation API is not even called.
Any ideas how to solve this?
We did try to:
Call the code via UI5 Press event
Attach the native click Event handler in afterRendering
But nothing seems to work in chrome.
Fyi it seems this is a policy problem on our end. We always get timeouts while trying to get the geolocation, the warning seems only an other symptom.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.