End of life support for either OS, whether Android or iOS, is common.
I'd keep an eye on this page, to avoid it in the future, as support ended a month ago for the 5s/6 (similar internals), which was released in 2014.
https://en.wikipedia.org/wiki/List_of_iOS_devices
Conversely, the S7, from 2016, had its support ended last fall.
If you're less concerned about device security, and obviously as stated inter-operability, Android is the way to go.