I have use two authentication system in my app one is OTP login system and another is Google login system. But in Google login system name is showing as mentioned in below picture
I hope you are comparing logged in gmail with list of users gmail using gsheet or anyother database in google login system, to show users name… Like wise In OTP also compare the logged in user mobile with users mobile and get the name
@Vishal4 As phone number login doesn’t contains name and if you want to get name the you can use google login or use a textbox and get the user name and store it simple