[Question] How to disable Flet GUI app from using Windows location services? #5659
Unanswered
sayimpuchandra
asked this question in
Q&A
Replies: 1 comment
-
|
Flet itself does not automatically request or use location services on Windows. Location access is only involved if your app explicitly uses the Geolocator API (from Flet or from a any other plugin). You don’t need |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Hi,
I have a Flet-based GUI application running on Windows. By default, the GUI tries to use location services, but in my use case project, location tracking is not required. In my code, we are not explicitly requesting location.
I want to make sure that:
The application does not request or use location when running on Windows.
Location access is effectively disabled within the GUI, so the app doesn’t prompt or interact with Windows location services.
What is the correct way in Flet to disable or block location usage on Windows?
Should I use GeolocatorPermissionStatus.denied, or is there another recommended method to completely turn off location tracking in the GUI?
We are using the flet==0.24.*
pyserial==3.5
pyyaml==6.0.2
matplotlib==3.10.3
pyinstaller==6.14.1
Code sample
Error message
------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions