-
Notifications
You must be signed in to change notification settings - Fork 66
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
iOS12 compatibility #81
Comments
i run the card successfully on different iOS devices. i cannot reproduce the issue. |
Checked the configuration twice. iOS12-Home-Assistant App is forced to use an older Safari WebKit Version, wich only supports older JS-compatibility (I think it was ES5?) I guess the iOS Devices you were testing on are iOS13 and above? |
yes, true. i checked on iOS 16. gonna try to find the lowest ES version which i can use without changing the code. |
with little code changes I was able to downgrade to ES2015. |
Thanks @pkissling ! The card gets recognized. – Weather Icon and Time are visible now, but the Tmp Min-Max-Bars aren't visible tho.. Do you know, how I can view console errors from the home assistant companion webview on iPad? – Maybe I can provide that errors to you. edit: |
Tested it on a separate View, the dot on the current day is missing and bars are moved down, attached an unprofessional screenshot 😂 edit: I still search for the big space in between. edit2: |
oh wow, great you found it. i don't have an iOS 12 device, hence was not able to reproduce the issue. |
Sounds great! Thanks for the absolutely beautiful work and the fast response! In case my changes don't break other stuff (only tested on iOS 12): ship it 🥳 Maybe some things need tweaking (for example no absolute width for the current indicator. (Use rem instead) |
hi @Camatobe |
cool, thanks for your help in fixing the issue remotely :D
|
tested it, worked like a charm. Next time, when I have time, I will do the proper way and do a PR ;D Thanks for fixing it! |
I would love to use this on my wall mounted iPad Air (iOS12)
currently it is not supported:
"Custom element doesn't exist: clock-weather-card"
Deleted Frontend-Cache, Restarted Home-Assistant, restarted the iPad.
Maybe some JS functions wont work on iOS12?
Maybe you can ensure iOS12 compatibility somehow? – when I can provide anything, let me know.
The text was updated successfully, but these errors were encountered: