Comments (9)
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.
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.
@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.
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.
Same issue here.
from react-native-fbsdk-next.
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.
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.
@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.
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)
- Can't change to another account on login HOT 3
- iOS limited login HOT 14
- Email not retrieving from facebook login HOT 3
- Need help for the facebook sharing HOT 1
- Facebook SDK not initialized error when using react-native-fbsdk-next with Expo HOT 7
- FbLoginManager.loginwithPermissions was called with 1 arguments butt expects 3 arguments HOT 2
- LoginManager.logOut() doesn't remove app from Facebook "Business Integrations" HOT 1
- App switches automatically to limited login when updated to v13 HOT 4
- Access Token is invalid HOT 6
- React native app - Upgrade fbsdk to version 9.0.0 HOT 1
- Mobile product ads aka Advantage+ Catalog Ads not receiving params HOT 2
- Upgrading to v13.0.0 , build failed for android HOT 6
- iOS limited login does not return all possible fields HOT 1
- Invalid ID token from login response. HOT 3
- (iOS) ShareDialog.show(shareContent) does not show any sharing options. HOT 1
- (iOS) Automatic purchase event is not logging in iOS sdk 17.0.0 HOT 3
- Compiling for iOS 13.0, but module 'ExpoModulesCore' has a minimum deployment target of iOS 13.4 HOT 3
- [IOS] Missing 'Cancel' and 'Continue' buttons when login by FB app HOT 6
- iOS limited login sdk 17 HOT 4
- Error while login facebook login in expo app HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-fbsdk-next.