TBH, after being a die hard android fan I tried the iPhone and now I can't switch. Despite loving all the options that android has, I was always a purist but when my nexus 6P couldn't open notes, then Pokemon go and then Facebook messenger (I sold Pokemon go services) without taking 5 minutes and crashing either on the game or FB, I was blown away when the iPhone just "worked", and that's what iPhone is, "it just works", it doesn't have cool widgets, an amazing pen, a 90Hz screen or the best camera, but it's just an all around good phone that can last a while if you take decent care of it, and all those issues you mentioned have specific repair programs that are free and last up to 4 years after the phone's purchase.
but if you wanna go android, the OP 7T is the way to go.