voroshkov / Chorus-RF-Laptimer

MIT License
184 stars 53 forks source link

Fix connection on android 10 #113

Closed Smeat closed 4 years ago

Smeat commented 4 years ago

wifiInfo.getNetworkId() seems to require the location permission on Android 10. This fix uses the ConnectivityManager to avoid adding a new permission.

Tested on Android 10 and 9.

Fixes #112