I'm an iPhone user currently, have been for some time.
However all of the points you mentioned are still true.
There is no open source in iOS and the entire platform has an anti open source culture. Android has a lot of open source apps available, including an app store meant just for open source (https://www.f-droid.org/).
If you don't like Google Play, at the very least you can distribute your app independently without jailbreaking the phone. It might take the users fiddling with their settings, but at least the option is legit.
Also on Android you can have actual Firefox (not allowed on iOS), with ads-blocking extensions and everything, as the default browser. And apps don't necessarily insist on opening up their own freaking web view, or if they do, most of the time there's an option for opting out.
And yes, you can find really good Android phones for cheap. Like the ones from Huawei. Which I stay away from, but for other reasons.
Apple's phones age well and I like to be environmental friendly, so I'll keep this iPhone 8+ I have until it breaks.
But my next phone is not going to be an iPhone, sorry.