logInWithReadPermissionsAsync immediately crash on ios testflight

Hi, run “logInWithReadPermissionsAsync” crashes immediately on ios test flight.

expo-facebook": “~11.1.1”,
workflow managed
Platform IOS

app.json

    "facebookScheme": "fb278315534xxxxx",
    "facebookAppId": "278315534xxxxxxx",
    "facebookDisplayName": "XXXXXX",
    "ios": {
      "bundleIdentifier": "com.xxxx.app",
      "googleServicesFile": "./GoogleService-Info.plist",
      "usesAppleSignIn": true,
      "infoPlist": {
        "NSCameraUsageDescription": "xxxx.",
        "NSUserTrackingUsageDescription": "xxx.",
        "NSContactsUsageDescription": "xxx."
      }
    }
  }
  Expo CLI 4.5.2 environment info:
    System:
      OS: Windows 10 10.0.19041
    Binaries:
      Node: 12.18.3 - C:\Program Files\nodejs\node.EXE
      npm: 6.14.6 - C:\Program Files\nodejs\npm.CMD
    npmPackages:
      expo: ^41.0.1 => 41.0.1
      react: 16.13.1 => 16.13.1
      react-dom: 16.13.1 => 16.13.1
      react-native: https://github.com/expo/react-native/archive/sdk-41.0.0.tar.gz => 0.63.2
      react-native-web: ~0.13.12 => 0.13.18
    Expo Workflow: managed

Code

await Facebook.initializeAsync({ appId: Constants.manifest.facebookAppId, appName: Constants.manifest.facebookDisplayName})
      const options = {permissions: ["public_profile", "email"] }
     // Error occured logInWithReadPermissionsAsync ://// crashing application
      const {type, token} = await Facebook.logInWithReadPermissionsAsync(options)

      if (type === 'success') {
        await firebase.default.auth().setPersistence(firebase.default.auth.Auth.Persistence.LOCAL); 
        const credential = firebase.default.auth.FacebookAuthProvider.credential(token);

...........................

Facebook App

Many thanks…

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