question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Compatibility with Facebook's SDK

See original GitHub issue

Description

I am trying to import the Facebook SDK to handle user authentication in my CRNA app, but all of the resources/walkthroughs I’ve found are reliant upon linking the SDK to an XCode project and an .xcodeproj file, and I’m not sure how to reconcile that with Expo / CRNA.

Expected Behavior

After installing the React Native FBSDK wrapper, I am expecting to see a login button after after bringing in this example Login component.

Observed Behavior

In place of the ‘Login with Facebook’ button, I see an empty rectangle with a red border. Additionally, these errors appear:

Warning: Native component for "RCTFBLikeView" does not exist
Warning: Native component for "RCTFBLoginButton" does not exist
Warning: Native component for "RCTFBSendButton" does not exist
Warning: Native component for "RCTFBShareButton" does not exist

Environment

Please run these commands in the project folder and fill in their results:

  • npm ls react-native-scripts: react-native-scripts@0.0.50
  • npm ls react-native: react-native@0.45.1
  • npm ls expo: expo@18.0.9
  • node -v: v7.0.0
  • npm -v: 4.2.0
  • yarn --version: 0.21.3
  • watchman version: { “version”: “4.7.0” }

Also specify:

  1. Operating system: macOS Sierra 10.12.5
  2. Phone/emulator/simulator & version: Expo

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
trucacommented, Jan 20, 2018

I created a package that handles sessions for React Native with Firebase. https://github.com/truca/RNSession

1reaction
sidmitracommented, Nov 29, 2017

The link to the expo FB document has changed it seems, and is now here:

https://docs.expo.io/versions/latest/sdk/facebook.html

Read more comments on GitHub >

github_iconTop Results From Across the Web

Facebook SDK for Android - Documentation
This documentation describes how to integrate your Android app with Facebook to build engaging social apps by using the Facebook SDK for Android....
Read more >
Some Android SDKs version 15.0.0 is not compatible ... - GitHub
Some Android SDKs version 15.0. 0 is not compatible with Android 12 (Api level 31+) · Issue #1114 · facebook/facebook-android-sdk · GitHub.
Read more >
android - Facebook Sdk Compatibility - Stack Overflow
I am working on Integrating the new Facebook SDK into my android application, but Facebook sdk 4.7 supports only android 4.xx and above, ......
Read more >
Compatible Android SDKs | Appstore - Amazon Developer
SDK Name SDK Version Description FasterXML Jackson 2.11.1 OKHTTP SDK 3.14.0 Ok Http is an HTTP client. Square Retrofit 2.9.0 A type‑safe HTTP client for Android...
Read more >
PHP 8 Compatibility - Facebook sdk php library - Drupal
10.2]. - facebook/facebook-instant-articles-sdk-php v1.10.2 requires php ^5.4 || ^5.6 || ^7 -> your php version (8.0; overridden via config.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found