I was eventually forced to upgrade my iPad because the YouTube app stopped working due to a required update that was unavailable for my device. Several others such as banking apps stopped working before that.
Before that I had to ditch my otherwise perfectly fine OnePlus phone for similar reasons. I went with a Nokia because they promised several years of Android updates, so we'll see how that pans out.
Quite annoying.