Changes to app.json after detach - requires a "re-detach"?

#1

Asking specifically about adding the new FB schema and FB ID app.json entries.

I have a detached app - published in Apple app store.

Updated to Expo SDK 24. That usually just requires updating app.json, package.json and some Podfiles. No problem.

But - the instructions for using FB (ads, auth) are to rebuild and resubmit on stand-alone projects. But what is process/requirements for already detached products?

Re-detach? Change something in the app’s Info.plist in Xcode?

#2

May have answered my own question (or at least the pressing issue re: new FB requirements in app.json per this announcement: https://blog.expo.io/breaking-change-facebook-app-id-required-to-enable-facebook-libraries-in-expo-sdk-a414d98cc09a).

On my previously detached app:

  • updated to the latest SDK (optional)

  • added the fields manually to my Info.plist from Xcode.

Details: https://developers.facebook.com/docs/ios/getting-started

Example:

<key>CFBundleURLTypes</key>
<array>
  <dict>
    <key>CFBundleURLSchemes</key>
    <array>
      <string>fb{your-app-id}</string>
    </array>
  </dict>
</array>
<key>FacebookAppID</key>
<string>{your-app-id}</string>
<key>FacebookDisplayName</key>
<string>{your-app-name}</string>
2 Likes
closed #3

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