Tushar Khatiwada
Tushar Khatiwada

Reputation: 2027

Getting error trying to use react-native-fbsdk on android

I'm trying to add a Facebook Login on my react native project using react-native-fbsdk library, but I am getting error while running react-native run-android.

Here's the screenshot of the error:

Error Description

I have clearly followed the installation instructions from their github repo: https://github.com/facebook/react-native-fbsdk

I tried most of the solutions found on SO but couldn't make it run.

I have following versions installed:

react-native@0.47.1

react-native-fbsdk@0.6.0

Upvotes: 1

Views: 548

Answers (1)

Daniel Jung
Daniel Jung

Reputation: 357

This is due to breaking change in 0.47.1 which affects most of the native dependencies. In case of react-native-fbsdk, they has yet to release new version. So if you use following version, it would be fine.

  • react-native : 0.46.4

  • react-native-fbsdk : 0.6.1

Upvotes: 1

Related Questions