- support lifetimes are better than before (now at 4 years by standard).
- but they don’t match up well with versions, eg the S8 support ended earlier this year running an android major version from 2018 (four and a half years earlier), the S9 will[2] stop later this year with a major version that will be four years old, the S10 stops next year with a major version that will be 3 years old.
That’s just what is available rather than what actually runs on existing devices.
For comparison, everything from the iPhone 8 onwards (released nearly 6 years ago) can run the latest OS version, much of it does, and some older hardware still gets the occasional security update.
My understanding of the android ecosystem is that pixel phones are much more likely to be updated than iPhones, though they’re at a lower price point which is why I didn’t look into them.
[1] https://en.wikipedia.org/wiki/Samsung_Galaxy_S_series
[2] I may be misreading the table here. It could be that the column is ‘current latest version’ and might change before the EOL date.