I was a long-time user of Boost for Reddit. Now that it is dead, I have moved over to Lemmy, in part because I saw that is what the creator of Boost was doing. My only question is what everyone thinks of the app Permissions for Boost for Lemmy. Right now I’m using Connect for Lemmy and it doesn’t require nearly so many permissions as Boost will.require. Particularly purchase history, is that just so it can know if you purchased the app or is it your entire purchase history? And location. I’m not sure why it needs that. Can someone chime in on this. Maybe ELI5 the permissions for me?
You can determine if there’s an active Internet connection without checking the wifi info.
But knowing whether you’re on mobile data or Wi-Fi can be useful for, say, only allowing images to auto-load on Wi-Fi. Those kinds of network-based options require knowing more information about the type of connection, which on android means asking for Location permissions.
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.