Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get past initialization screen after entering URL #395

Closed
dshokouhi opened this issue Feb 12, 2020 · 13 comments
Closed

Unable to get past initialization screen after entering URL #395

dshokouhi opened this issue Feb 12, 2020 · 13 comments
Labels
bug Something isn't working onboarding webview

Comments

@dshokouhi
Copy link
Member

Home Assistant Android version:
1.7.0 (play store)
Android version:
5.1.1
Phone model:
Fire HD7 running custom rom
Home Assistant version:
0.106dev
Last working Home Assistant release (if known):
N/A
Description of problem:

After entering my instance URL the page gets stuck on the initialization screen and I am unable to login. I am however able to use a browser on the same device and login. One thing I did notice was that the Initialization screen reloaded once as if it tried to load something then failed.

Traceback (if applicable):

N/A

Additional information:
image

@dshokouhi dshokouhi added the bug Something isn't working label Feb 12, 2020
@dshokouhi
Copy link
Member Author

Not sure if this qualifies as authentication or onboarding for the label :)

@balloob
Copy link
Member

balloob commented Feb 12, 2020

It's onboarding. Authentication is once we have gotten the auth tokens from onboarding.

@neopilou
Copy link
Contributor

I encountered the same problem because my version of webview was not up to date.

@dshokouhi
Copy link
Member Author

I did make sure to install Android webview and clearing data but got the same results

@neopilou
Copy link
Contributor

Have you tested with Fully Kiosk? If it works, it comes from the app, otherwise from Android webview

@dshokouhi
Copy link
Member Author

I don't use fully kiosk. All I did was install Android webview from the play store. Whatever version that is it should be supported on Android 5.1 as that's the OS I'm using. Unless there is some other dependency?

@neopilou
Copy link
Contributor

The installation of android webview from the play store does not work even if it is possible to install it because Android webview is a system app. It is present in the playstore for updates. If you are using a custom rom, you can use Xposed framework to force the use of Android Webview and get its updates.

@dshokouhi
Copy link
Member Author

Thank you @neopilou that was 100% it :)

I first had to install: https://play.google.com/store/apps/details?id=com.google.android.webview&hl=en_US

Then in xposed I installed: https://repo.xposed.info/module/net.typeblog.webview

After a restart I am able to login and use HA!

image

@marronedamian
Copy link

Hello! I have my tablet with android 4.2 and it had the error due to the webview. Install chrome and it didn't fix it, I managed to fix it by installing Opera browser.

@dshokouhi
Copy link
Member Author

@marronedamian android 4.2 is not supported ;) only android 5 and up.

@marronedamian
Copy link

marronedamian commented Apr 23, 2022

Hi @dshokouhi !, but installing opera works, I just tried it :D
WhatsApp Image 2022-04-23 at 2 13 38 PM
WhatsApp Image 2022-04-23 at 2 13 36 PM
WhatsApp Image 2022-04-23 at 2 13 38 PM (1)

@dshokouhi
Copy link
Member Author

@marronedamian all you are doing is using the HA frontend in a browser, you are not actually using the HA android app ;)

@marronedamian
Copy link

marronedamian commented Apr 23, 2022

@dshokouhi Yes, of course, but since I can't install the app, at least I use the browser. With Chrome I had the same problem that was initializing but with Opera I was able to solve it. Sorry if I explained badly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working onboarding webview
Projects
None yet
Development

No branches or pull requests

4 participants