mwarning / trigger

Android app to lock/unlock/ring doors. Supports generic HTTPS/SSH/Bluetooth/MQTT and Nuki Smartlock.
GNU General Public License v3.0
130 stars 22 forks source link

Trigger is freezing on start up because it is not allowed to access location #41

Closed zem closed 4 years ago

zem commented 4 years ago

As the subject says, trigger is freezing on start up and tries to get the location in an endless loop which is not allowed on the phone as there is no reason to allow it at startup.

mwarning commented 4 years ago

As far as I know, Trigger only accesses the apps private database (except for manual import/export). Can you tell me how to reproduce this problem? What setup do you use?

.. What kind of location are you talking about. Maybe I do not understand that part.

mwarning commented 4 years ago

hm, or do you mean Trigger does not freeze indefinitely, but is only frezed for a short time?

mwarning commented 4 years ago

Can you check if the problem occurs with Trigger version 2.2.1?

mwarning commented 4 years ago

I think I can drop android.permission.ACCESS_FINE_LOCATION, it is only needed for Bluetooth scans. I will test it next week.

mwarning commented 4 years ago

Should be fixed in 2.2.4. Let me know if the problem persists.