home-assistant / android

:iphone: Home Assistant Companion for Android
https://companion.home-assistant.io/
Apache License 2.0
2.32k stars 643 forks source link

HACS Sidebar selection results in Blank Screen after HACS upgrade on Fire10 Tablet #701

Closed scacace closed 3 years ago

scacace commented 4 years ago

Home Assistant Android version:

Android version:
Fire 10 Tablet

Phone model: Fire 10 Tablet

Home Assistant version: 0.113.3 HACS 1.3.1

Last working Home Assistant release (if known): Works in HA but since HACS upgrade only this Menu item is not... HACS suggestions on upgrading browsers, and clearing cache... App Cache cleared...suspect issue with browser issue used in Android App. Do not experience with wife's android phone.

Description of problem: After latest HACS upgrade HA Android only returns a blank page on Fire10 Tablet and HACS sidebar is the only menu to do this. Issure raised on HACS github, but functions in many browsers and Android phone. May be version of embedded browser, as noticed even link to GitHub Mobile issues within HA Info.. reports browser no longer supported by GitHub. Link to issue in HACs below. https://github.com/hacs/integration/issues/1430

Traceback (if applicable):

Screenshot of problem:

Additional information: Upgraded to latest HA Mobile version full, and still exists. Installed latest Chrome, and Edge should APIs be used no change. Notice works in Silk Browser, Chrome, Edge, but flaky in BING browser. Hint: icon on HA Mobile is missing in sidebar for HACs as well.

JBassett commented 4 years ago

I am also unable to reproduce on my device.

Screenshot_20200804-083409.png

scacace commented 4 years ago

Same here... but with 656 and 5 installed repositories. FireHD 10 Fifth Generation FireOS 5.3.6.4 (626533320) Build Date Nov 12, 2018 with no updates found / available. All else is and was fine until now. Enjoyed the Apps load time over the fat browsers. But may have to live without the HACS menu for now.

dshokouhi commented 4 years ago

I just tested this against HACS 1.3.2 and I do not see the issue there.

scacace commented 4 years ago

Could this be related to Tablet 10" size? Don't get a problem on wife's LG phone. Upgraded to HACS 1.3.3 with no expected change. HACS side keep pointing to old browser..possibly embedded in App. I did see a warning from GitHub of unsupported browser, when I jumped to it ( HA Config. Info.. issues for Mobile) using the App. Love the Android App speed and device tracking. This was not an issue prior to HACS 1.3.1

Guess I could not expect HACS to work and use a sluggish browser when needed.

Screenshot_2020-08-04-19-13-49

dshokouhi commented 4 years ago

Just tested this against my fire HD8 and I don't see the issue there either. Have you tried clearing data in the android app to see if that fixes it? Other than that check your custom cards/integrations make sure they are all up to date and if they are try to disable each one to see if one is the culprit here. Either way I don't think this is an android app issue since you even said problem occurred after updating HACS.

se3 commented 3 years ago

on my HD8 it works fine as well, but not on fire 7 (Fire OS 5.3.6.4) it does not work :( Also all the custom elements from HACS fire an error "custom element ... does not exist"

Cache and data deleted, same issue. I guess there is a dependency to the android API greater than 22 (Lollipop) :(

scacace commented 3 years ago

Again functions under Silk. App it's blank. Xbox Edge same. Other HA works.

On Sun, Dec 20, 2020, 11:20 AM Sergej notifications@github.com wrote:

on my HD8 it works fine as well, but not on fire 7 (Fire OS 5.3.6.4) it does not work :( Also all the custom elements from HACS fire an error "custom element ... does not exist"

Cache and data deleted, same issue. I guess the android API 22 (Lollipop) is not supported anymore :(

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/home-assistant/android/issues/701#issuecomment-748628518, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANJPAJZ7VZIQRPF47OB6X7LSVYP47ANCNFSM4PUKWMPQ .

dshokouhi commented 3 years ago

The android app uses android system webview, the version that ships with Fire OS varies from OS version to OS version. You are also not able to simply update it like you can do with normal android that is not Fire OS. I don't think this is going to be something we can fix in the app. Since these devices do not have the expected android system webview installed I am going to close this issue. If you can not only load the latest webview but also confirm the app is indeed using it (usually requires root) we can look into it if the issue continues to exist.

scacace commented 3 years ago

It is installed via the Google Play Store Service on this Kindle

[image: 2020-12-20.png]

On Sun, Dec 20, 2020 at 12:00 PM Daniel Shokouhi notifications@github.com wrote:

The android app uses android system webview, the version that ships with Fire OS varies from OS version to OS version. You are also not able to simply update it like you can do with normal android that is not Fire OS. I don't think this is going to be something we can fix in the app. Since these devices do not have the expected android system webview installed I am going to close this issue. If you can not only load the latest webview but also confirm the app is indeed using it (usually requires root) we can look into it if the issue continues to exist.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/home-assistant/android/issues/701#issuecomment-748632968, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANJPAJ5BVFPIEEIDYC25APDSVYUSXANCNFSM4PUKWMPQ .

--

Steve Cacace steve.cacace@gmail.com 718-816-6729

dshokouhi commented 3 years ago

@scacace that does not mean it is being used by the app, it needs to be a system installed app. Play store installed apps are not system apps. Fire OS is not stock android tehy use their own webview.

se3 commented 3 years ago

After update fire 7 Tablet (gen5) to Lineage 14 and put Home Assisteant apk on it all running smooth now :)

It was definitive amazon webview issue.

https://forum.xda-developers.com/t/unlock-root-twrp-unbrick-downgrade-fire-7-ford-and-austin.3899860/#post-78898974 https://forum.xda-developers.com/t/rom-unlocked-ford-austin-lineage-14-1-28-aug-2019.3962457/

Thank you guys