Facebook logInWithReadPermissionsAsync SDK 43

Hi,

I am trying to solve a bug related to Facebook auth using the latest SDK 43. For some reason, when I build a standalone app, my app redirects users to facebook web on the mobile browser, which then redirects users to the facebook app, and when the user authorizes our app, it redirects back to the browser instead of redirecting to the app and proceeding with the auth. I saw there are several threads that talk about this exact issue prior to SDK 38, but I have not seen any posts regarding this after SDK 41. Any ideas how to proceed?


await Facebook.initializeAsync({
    appId: 'XXXXXXXXXXXXXX',
    appName: 'Sneakerlist',
  });

  try {
    const { type, token } = await Facebook.logInWithReadPermissionsAsync({
      permissions: ['public_profile', 'email'],
    });

**my app.json**

 "facebookScheme": "fbXXXXXXXXXXXXXX",
    "facebookAppId": "XXXXXXXXXXXX",
    "facebookDisplayName": "Sneakerlist",

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