Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Add support for legacy webOS Mobile devices #99

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

codepoet80
Copy link

This PR adds support for legacy webOS mobile OS detection, for devices like the Palm Pre and the HP Touchpad.

Similar to Android, the OS is Linux based, so the detection must precede the Linux function. There were two major variants of legacy webOS, one for phones, one for tablets and both are detected. (an unreleased prototype device may have a third variant, but they are so rare I was unable to acquire one to test.) A unit test was added for the tablet variant, which is the most common device still online, and all tests pass.
More about legacy webOS here: www.webosarchive.com

Modern webOS is owned by LG, is used for their Smart TVS, and the built-in browser has a different user agent string. I'll work on adding support for that in a future PR.

@codepoet80
Copy link
Author

Requesting a review of this PR :-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant