Closed Lofdahl closed 5 months ago
Hello @Lofdahl, thank you for your interest in our work! If this is a bug report, please provide your configuration and any screenshots that would assist troubleshooting, otherwise we can not help you.
This is due to some dependencies the card uses dropping support for older browsers.
Thanks for the reply @marksie1988
Okey so these dependencies will not be fixed so that the card can be used in older versions of iOS? I’m not running the dashboard in Safari but in the Companion App (but maybe that is the same)
The companion app uses the browser in the back, so it's essentially the same.
It's unlikely as support was removed due to security vulnerabilities and being old
Okey, thanks for the explanation. :)
Would it then work if I rolled back the card to a previous version?
Yes I think v9 or possibly 9.1 should work.
Downgraded card to 9.0.1 and it now works on the tablet again, 9.1 didn´t work. Closing this issue as there might not be an update for this that solves the issue. Thanks!
@marksie1988 could you give me some more detail on which dependency no longer supports iOS 12? I can see that the 9.1 update introduced Lit 3 uses es2021 but the things that it trips up on - optional chaining and nullish coalescing, can be fixed by transpiling some parts of node_modules. Would you be interested in a PR if I can make this work?
@steveworkman sure if you can get it working happy for a PR, I just don't have a device that old to test on so can't really do it myself 👍
As a note, I have it working locally, and I'll try to optimise it over the next few days as the bundle size gets enormous if you try to transpile everything
:tada: This issue has been resolved in version 9.8.0-beta.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version 10.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
Is there an existing issue for this?
Current Behavior
On my dashboard I get the following error: "Custom element doesn´t exist: atomic-calendar-revive" The same dashboard (incl card) loads fine on iPad with iPadOS 17.1.2, iPhone with iOS 17.1.2 both in Safari and Companion App but not on the iPad Air that I use as our "command center"
Expected behaviour
The card :)
Steps To Reproduce
Install the card from Hacs on system running iOS 12.5.7 and see if the card loads or not.
Mode
Both
Card Version
9.2.1
Home Assistant Version
2024.1
Configuration
Relevant log output
No response
Code of Conduct