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

#1

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!

#2

Hi,

Checking for you

1 Like
#3

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

#4

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

closed #5

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