Include mobile app name into Navigator.userAgent #24714
Unanswered
gribouk
asked this question in
Other feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have developed the doorbell integration. It has both, the backend and the front end. The idea is that it sends notifications of the calls only to companion apps which are marked as accepting calls. For this to work I need to know the mobile app name which is interacting with my frontend. I could not find any means of retriving the mobile app name when interacting with home assistant within the mobile app itself, which is dissapointing. At the moment I am forced to use the workaround with localStorage through generating the id there, then retrieving that id and mapping it manually in the setup to the actual companion app name in the backend, so my backend would discover itself what companion app is interacting with it. Thus I have following proposal/request:
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions