Ok well in regards to android, it depends on the brand of rom. On oxygen os tho for example you can adjust what appears on the lockscreen, in my experience tho even if you dont specifically restrict what can show it will usually to tell you there is one waiting, but not the contents of the message but if only one is waiting it may show the recipient. Likewise with calls showing the recipient. I am not sure if this is affected if you enable unlock security, as I dont use unlock security.
I dont know why I have this line of thinking, a factor for sure is the convenience of getting into the phone quickly. But I suppose also that if I lose the phone, I see if they have access to my data, the fact I lost the device would concern me more and if its a mugging, I got bigger problems than if they can get into the phone or not. My phone isnt used for financial transactions, so they wouldnt have access to things like google pay, bank accounts etc.
Android seems to be focusing on fingerprint, pin unlock vs face unlock tho.
Given the standardisation of iOS and apple's better track record vs google for software, I expect an iphone to be more secure in general than an android phone. Consider how common place it is to root android phones as well. right now on my phone I have it rooted, xposed framework installed, and it still passes google's safetynet which deems it a safe and secure device to use for things like android pay.