Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Location permission allow only while using the app #246

Open
Mark7888 opened this issue Feb 29, 2024 · 5 comments
Open

Location permission allow only while using the app #246

Mark7888 opened this issue Feb 29, 2024 · 5 comments

Comments

@Mark7888
Copy link

Why does this app need the location permission set to always? It doesn't even start, if I change the location permission to allow only while using the app. What's the reason it demands the always permission?

I generally don't really like the idea of granting constant locaiton permission to an application. There are some exceptions, like google maps, but in my opinion, this application supposed to work just fine with the other permission setting.

@ha2ked
Copy link
Contributor

ha2ked commented Feb 29, 2024

It's for the spam detector so that we can detect in real time and get a notification. It doesn't need it if you don't want that feature. We don't collect any data anyway.

@Mark7888
Copy link
Author

Mark7888 commented Mar 1, 2024

That's understandable, but if I only grant foreground location permission, the app crashes, and doesn't even start

@simondankelmann
Copy link
Owner

Then we might have a bug here. As @ha2ked already explained, the benefit of using this permission is to continue ble scanning in the background and notify on any detected spam or flipper devices. it should still be possible to use the app without granting, youre right there

@yashikada
Copy link

it should still be possible to use the app without granting, youre right there

For me no, I have a Samsung A72 with OneuI 6.0 if I don't set always allow, the app continue to popup the required permission. I think you should accept "ask every time", or "while the app is in use".

@yashikada
Copy link

I add also from Android 12 Location permission can be omitted:

Here a details.

Location scanning

A device's location services can use Bluetooth to detect Bluetooth beacons and provide a more accurate location. This is how users enable the feature:

    Go to Settings > Security & Location > Location.
    Check that the Location On/Off toggle is in the On position.
    Go to Mode.
    Select either High accuracy or Battery saving mode.

In Android 11 or lower, individual apps require location permissions to use BLE scanning, even if they are scanning only to find devices to connect to. If the user disables location scanning, or does not grant an app location permissions, then the app won't receive any BLE scanning results.

From Android 12, the[ BLUETOOTH_SCAN](https://developer.android.com/reference/android/Manifest.permission#BLUETOOTH_SCAN), BLUETOOTH_ADVERTISE, and[ BLUETOOTH_CONNECT](https://developer.android.com/reference/android/Manifest.permission#BLUETOOTH_CONNECT) permissions can allow apps to scan for nearby devices without needing to request the location permission. For more information, see[ New Bluetooth permissions in Android 12](https://developer.android.com/about/versions/12/features/bluetooth-permissions).

Users can disable system-level Bluetooth background scanning by going to Settings > Security & Location > Location > Scanning and disabling the toggle for Bluetooth scanning. This does not affect BLE scanning for location or local devices.

@simondankelmann I hope you can improve it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants