I don’t think it’s anymore iOS vs Android unless the whole ecosystem doesn’t matter. Both OS became more and more equal by all the years. In the past, you got told not to pay 999 bucks on a phone (which clearly meant an iPhone). Nowadays, Android flagships may double the prices, take a look at the new foldable devices. To be honest, except of battery lifetime smartphones are more and more equal. I think this becomes more important when it comes to the whole ecosystem. when you’re already on a Mac, watch, iPad etc. an iPhone is clearly a better choose. If you work on Windows, Linux,… Android with Google tools may be the better approach. While photo sync, managing etc. is absolutely perfect in the whole Apple ecosystem, this is absolutely pain when you wan to manage your photolibrary on Windows. Here, the Google ecosystem may score, while it can be used on any device and isn’t limited to specific one. There‘re many examples like this and to be honest, I’m forced to keep in the Apple ecosystem. Unlocking the Mac with watch, custom mail domain in iCloud+, perfectly synced and accessiable photos on every Apple device, AirPods auto connecting, the workflow how music stops on the Mac and the regular phone call from the iPhone can be answered on the Mac, so many small improvements and features that I use daily and would never miss again.
the next step is privacy, while this doesn’t only belongs to Apple vs Google (I know how many people hate Google, unfortunately!), there’re additional vendors on Android that may also track you and provide additional advertises for you. especially when it comes to devices from Xiaomi etc. you can may run in several issues to get rid of ads (baken into native apps and OS), no one knows what data or really sends home etc.
I think if someone really doesn’t care about syncing with other devices and needs just a cheap and good (in form of hardware performance) device, Android is clearly the way to go. If your need more and want to have good service syncing, flagships are the way to go with iCloud oder Google(Gsuite/Workspace) and at this point it only matters which ecosystem you prefer. You probably won’t switch this, when you already have paid a lot of apps that your frequently use or your whole workflow is based in one ecosystem. my Test failed immediately in the first steps with calendar entries, sharing with family and acknowleding them each other while everyone currently has
firstname@lastname.com mail address to send and receive invitations. This would only be possible with GSuite/Workspace with 10bucks/person/month again which gets really expensive for a family.
sorry for the long text, just my two cents to consider more for everything around the smartphone than the smartphone itself. Flagships are more equal than ever before…