Ok, so I can’t say what exactly fixed it but here all the things I did and now it’s working. I can’t remember the order but here is everything I did.
I updated to iOS 11. Whatever the latest version is.
I reset the network settings - go to settings, general, reset and reset network settings...