this post was submitted on 08 Jul 2023
45 points (100.0% liked)
Boost For Lemmy
7048 readers
2 users here now
Community of the Android app Boost for Lemmy
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Incorrect. If you aren't using
WifiManager
, you don't needACCESS_WIFI_STATE
or location permissions. ConnectivityManager gives information to know the connection type with onlyACCESS_NETWORK_STATE
, which is granted automatically on install without prompting the user to allow.And besides that, you should really be checking
ConnectivityManager.isActiveNetworkMetered()
instead of the connection type anyway, since the user could be on tethered wifi, for instance.I wish more app developers looked at if the connection is metered or not. I have unlimited mobile data, but there are so many apps who needlessly try to protect my precious data by blocking downloads based on connection type.