Uh, that’s how it is generally done? And it works independent of device. Did Apple manage to make this “theirs” in the US?! Because I remember this is a very old Android 2/4 level tech where you exchange contact info by “bumping” fists with your phone in them. 😅 It was dropped by Google and eventually evolved into this I suppose.
Though I will also say that most people would intuitively distrust swiping their phone over another phone. They expect a dedicated payment terminal otherwise it feels like someone trying to steal their card data.