webos-tvheadend icon indicating copy to clipboard operation
webos-tvheadend copied to clipboard

WebOS 1.0 + 2.0 compatibility

Open WillinuX-Code opened this issue 4 years ago • 4 comments

I checked the app in webos 2.0 emulator and it did fail (some undefined error). Needs to be checked in detail

Event listeners

  • event listeners: registering event listeners is now used in a different way and should be adjusted to be compatible https://webostv.developer.lge.com/develop/remaining-backward-compatible/adding-event-handler/

webos 1 + 2 uses webkit

  • https://webostv.developer.lge.com/discover/specifications/web-engine/
  • Managing App Visibility / webkit.hidden https://webostv.developer.lge.com/develop/app-developer-guide/web-app-lifecycle/

WillinuX-Code avatar Feb 03 '21 12:02 WillinuX-Code

  • not sure what exactly is going wrong here. Didn't manage to get a non production optimized to the emulator.
  • also not sure if its worth the effort to support these "legacy" platforms
  • for now on hold Bildschirmfoto 2021-02-06 um 00 31 20

WillinuX-Code avatar Feb 05 '21 23:02 WillinuX-Code

If it helps I managed to get the app running in the WebOS 1.2 emulator by adding the core JS library in the static directory and loading it with

I couldn't figure out how to patch this in the source code yet as I discovered it by modifying the built ipk from homebrew. I am momentarily away from my webOS 1.4.4 TV so I'm unable to test it on real hardware.

https://github.com/zloirock/core-js

tigerclaw2 avatar Apr 19 '25 22:04 tigerclaw2

Thanks for the information. Can you try the latest draft build 0.9.2? Here i also added the core-js library.

WillinuX-Code avatar Apr 20 '25 06:04 WillinuX-Code