thomasloven / hass-browser_mod

🔹 A Home Assistant integration to turn your browser into a controllable entity and media player
MIT License
1.31k stars 186 forks source link

Browser mod hangs IOS app #703

Open shawwellpete opened 5 months ago

shawwellpete commented 5 months ago

My Home Assistant version: 2024.4.4 - also tested om 2024.2.0

What I am doing: Adding an IOS device to browser mod

What I expected to happen: I expected to select the register slider, have the ability to change the browser id and thereby register a new device

What happened instead: IOS becomes unresponsive for a couple of minutes, seemingly stuck on browsermod, then the app resets to the usual home screen

Minimal steps to reproduce: I have removed browsermod completely and resinstalled it (2.3.0) I also updated home assistant from 2024.2.0 to 2024.4.4 then installed browsermod

I have tested two ipad pros and an iphone, all with the same problem

My laptop using chrome works as expected so seems to be an IOS app issue

By replacing the space in the checkboxes ([ ]) with an X below, I indicate that I:

stonegray commented 4 months ago

Can reproduce. t happens on desktop but is still usable. To verify we're talking about the same issue, this only happens when you select browser mod from the sidebar yes?

Console shows hundreds of the following error:

[Error] Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'this.hass.localize')
    performUpdate (app.Icb7AiDppIM.js:2:135745)
    (anonymous function) (app.Icb7AiDppIM.js:2:135258)
[Error] Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'this.hass.localize')
    (anonymous function) (app.Icb7AiDppIM.js:2:135198)
shawwellpete commented 4 months ago

Can reproduce. t happens on desktop but is still usable. To verify we're talking about the same issue, this only happens when you select browser mod from the sidebar yes?

Console shows hundreds of the following error:


[Error] Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'this.hass.localize')

  performUpdate (app.Icb7AiDppIM.js:2:135745)

  (anonymous function) (app.Icb7AiDppIM.js:2:135258)

[Error] Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'this.hass.localize')

  (anonymous function) (app.Icb7AiDppIM.js:2:135198)

Sorry that's the only way I know how to select browser mod, what is the alternative?

stonegray commented 4 months ago

No alternative, just wanted to verify it's only after selecting browser mod to make sure we're talking about the same bug. Wasn't clear what you meant by register slider. I can reproduce the hang on selecting it.

stonegray commented 4 months ago

Related #652

shawwellpete commented 4 months ago

No alternative, just wanted to verify it's only after selecting browser mod to make sure we're talking about the same bug. Wasn't clear what you meant by register slider. I can reproduce the hang on selecting it.

Sorry if I wasn't clear, by slider I meant this switch

image

shawwellpete commented 3 months ago

I guess there is no update on this? Anybody found a solution?

scythk commented 2 months ago

Same issue. When app opened it directly jumped into browser mod panel and stucked there, I was unable to open the siderbar and switch out