Facebook.logInWithReadPermissionsAsync - differentiate between different types of "cancel" events

According to the Expo docs:
If the user or Facebook cancelled the login, returns { type: ‘cancel’ }.

Is there any way to differentiate between when user has cancelled AND when facebook cancelled? The reason I’m asking is because I want to show a notification to the user if facebook decided to cancel the request but obviously avoid showing that message if user has cancelled…

I’m using Expo v24 (latest).

Thanks!

Hi,

Checking for you

1 Like

HI, it seems like it isn’t the case and the case is conflated.

Is there any way to separate between these two cases?
Is this because of Facebook’s API or Expo’s?
Thanks!

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.