DimitriJunker / mtkdownload

Android App to Download GPS-Logs from MTK based loggers. This App was originaly from Bastiaan Naber and called AndroidMTK, but it had to be renamed because of new rules from google
1 stars 0 forks source link

Crash on API31+ due to missing BLUETOOTH_CONNECT permission #2

Closed msimonides closed 1 month ago

msimonides commented 1 year ago

Opening preferences causes a crash. It's caused by lack of runtime permission BLUETOOTH_CONNECT. The crash occurs when calling mBluetoothAdapter.getBondedDevices() in PrefsFragment. This makes the app completely unusable on newer devices.

See: https://developer.android.com/guide/topics/connectivity/bluetooth/permissions

DimitriJunker commented 1 year ago

Hi,

I solved the Bluetooth problem, but scoped storage is the bigger problem, sorry it will the some more time. Greetings Dimitri

Am 14. Mai 2023 20:58:41 MESZ schrieb Marcin Simonides @.***>:

Opening preferences causes a crash. It's caused by lack of runtime permission BLUETOOTH_CONNECT. The crash occurs when calling mBluetoothAdapter.getBondedDevices() in PrefsFragment. This makes the app completely unusable on newer devices.

See: https://developer.android.com/guide/topics/connectivity/bluetooth/permissions

-- Reply to this email directly or view it on GitHub: https://github.com/DimitriJunker/mtkdownload/issues/2 You are receiving this because you are subscribed to this thread.

Message ID: @.***>

msimonides commented 1 month ago

I've been using the app recently on Android 14 with success, so I'll close this issue.