Open mirekmal opened 5 months ago
New update available build 2024.4 (2024624) and app now even do not get so far. Several retries and the only screen I get is:
I was not able to reproduce the issue, perhaps if you reinstall the app this does get fixed? What happens when you try to access your HA instance from safari browser?
Over past few days situation was very random; 50% of cases asking for permissions, 40% of cases blank screen, in 10% of cases app started as expected... so very random. I just reinstalled it and will observe if this changes situation. Accessing HA from safari I have no issues whatsoever, 100% reliable.
This usually means your trust database on disk is broken in some way, which happens from time to time. Try running:
tccutil reset All io.robbie.homeassistant
in console, see if that helps. I think it might not be able to reset Location Services permissions, though -- that's behind SIP and not even disabling SIP allows you to reset it, e.g.: https://discussions.apple.com/thread/255386450?answerId=260018541022&sortBy=best#260018541022.
I started seeing this after a clean install of Sonoma 14.4.1. I think they changed their location permissions, maybe even the API. That being said I did a Time Machine restore of my home directory so the Locations Services database from that link might actually be the issue. That being said the tccutil
did not have any effect.
I tried reinstall, restore etc, nothing helps (cannot restore older version of companion app, though). Nothing helps. In 90% of cases I get to blank screen and need to retry several times to getto the location services screen :-(
Device model, version and app version
Model Name: Mac Pro (late 2013) macOS Version: Monterey (12.7.4) App Version: 2024.4 Safari Version: 17.4.1
Home Assistant Core Version 2024.4.3
Describe the bug On every Mac boot, when application starts it enters the screen asking for allowing location services to create device_tracker for specific device. Appropriate permissions are already set in system preferences.
To Reproduce Restart OS, wait for application autostart.
Expected behavior Setting are properly stored and recognized at app start and no nag screen on every boot (regardless of permisions being enabled or disabled).
Screenshots
![Screenshot 2024-04-13 at 09 16 32](https://github.com/home-assistant/iOS/assets/6892816/25e58705-b229-4f9e-a7e6-51728928e231)
Additional context This behavior appeared first after update to app version 2024.4, was not present in prior versions.