I have an app, which uses Fused Location Provider. My actual android phone does not allow, but I´ve seen phones that allow you to simulate de GPS location.
Is it possible, that the user (thorugh the developer system menu), can enter a fake location, and force the app to use this location?. I don´t want that, but to avoid that. Is it is possible, how can the fusedLocation know that the actual position is a simulated one and not the real one?
Before I could not find the settings, but i found it. It allows you to select 1 App or nothing. I have tried with the extenal app running a giving a false location, and p.getSettings does always returns "0". If for any case, device is Huawei p30 lite
Sory if it was my mistake, I want to disable some of my buttons, if the location is a MOCK
Is it possible, that the user (thorugh the developer system menu), can enter a fake location, and force the app to use this location?. I don´t want that