Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16552

How to get the user's email using Apple sign-in with Face ID?

$
0
0

I implemented Apple Sign in through a Webview for my react-native app. It works ok except for Face ID enabled phones. If the phone has Face ID the dialog where the user selects if he/she wants to use his/her email or hide it is not shown, but a Face ID prompt is shown instead. When the user uses Face ID no email is returned to the web application. I attach some images below explaining the flow:

App's main screen App's main screen

Prompt to open webview Prompt to open webview

Login screen Login screen

Face ID prompt once the user clicks on Continue Face ID prompt once the user clicks on Continue

Once the prompt above is shown and the user clicks on Continue, Face ID is used to authenticate the user and the sign-in flow finally returns the email as nil. As I said before, this only happens to iPhones with Face ID enabled. How can I solve this issue and get the user's email?

Thanks,


Viewing all articles
Browse latest Browse all 16552

Trending Articles