Quantcast
Viewing all articles
Browse latest Browse all 17068

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

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 Image may be NSFW.
Clik here to view.
App's main screen

Prompt to open webview Image may be NSFW.
Clik here to view.
Prompt to open webview

Login screen Image may be NSFW.
Clik here to view.
Login screen

Face ID prompt once the user clicks on Continue Image may be NSFW.
Clik here to view.
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 17068

Trending Articles