Giter Site home page Giter Site logo

Comments (9)

biztems avatar biztems commented on August 15, 2024 1

We came from a previous version of the SDK (it was actually before FB deprecated it so we weren't using next yet) and as such we were missing the SDK initialization steps.

@Deodes
https://github.com/thebergamo/react-native-fbsdk-next#sdk-initialization

from react-native-fbsdk-next.

mikehardy avatar mikehardy commented on August 15, 2024

That looks like a pretty thorough error message.
How did it go when you added the app id to info.plist ?

from react-native-fbsdk-next.

Deodes avatar Deodes commented on August 15, 2024

@mikehardy as in the error picture (I'm just hiding the app IDs, but they are correct, double checked), and this issue just on iOS, Android works well. Maybe I should show the entire error code?

from react-native-fbsdk-next.

mikehardy avatar mikehardy commented on August 15, 2024

I don't know. Perhaps something about the build system means your not running the code you think you're running? 'npx react-native-clean-project'?

from react-native-fbsdk-next.

biztems avatar biztems commented on August 15, 2024

Same issue here.

from react-native-fbsdk-next.

mikehardy avatar mikehardy commented on August 15, 2024

For anyone else paying attention: this is not a universal problem. Works fine for me 🤷 not sure what the problem is but the module appears to work.

from react-native-fbsdk-next.

mikehardy avatar mikehardy commented on August 15, 2024

But...it's explicit in the docs here that you must initialize the SDK on iOS now? I am definitely doing that in my project, is that common amongst the people crashing here - that you are not initializing?

https://github.com/thebergamo/react-native-fbsdk-next#sdk-initialization

from react-native-fbsdk-next.

Deodes avatar Deodes commented on August 15, 2024

@mikehardy @biztems added native facebookSDK initialization (AppDelegate.m), but still have the same problem. Maybe we need to compare our "AppDelegate.m" files?

from react-native-fbsdk-next.

Deodes avatar Deodes commented on August 15, 2024

Solved a problem. Everything that was in the AppDelagate.m file should have been at the top level inside <dict></dict>, in my case it was inside nested <dict></dict>

from react-native-fbsdk-next.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.