Open andrewzey opened 4 years ago
Not working for me
it's working for me! thank
Not working for me too.
working. Thank you
Temp solution works, notice clean the project before rebuilding it.
working for me. thank you
Add another implementation to your App/build.gradle
implementation "com.facebook.android:facebook-android-sdk:5.11.0"
Hope this works
Add another implementation to your
App/build.gradle
implementation "com.facebook.android:facebook-android-sdk:5.11.0"
Hope this works
I tried but didn't work with me, thanks!
Add another implementation to your
App/build.gradle
implementation "com.facebook.android:facebook-android-sdk:5.11.0"
Hope this works
I tried but didn't work with me, thanks!
can you provide react, react-native, react-native-fbsdk version ?
Add another implementation to your
App/build.gradle
implementation "com.facebook.android:facebook-android-sdk:5.11.0"
Hope this works
I tried but didn't work with me, thanks!
can you provide react, react-native, react-native-fbsdk version ? "react": "16.8.6", "react-native": "0.60.4", "react-native-fbsdk": "^1.1.1",
Workaround: Making it easier to find @andrewzey To make it work, you have to add facebookSdkVersion=5.11.0 to your android/gradle.properties to use the old version.
@Kailash23 Thanks. I'll update my post to put this info at the top to make it easier for folks to see.
@andrewzey Also, to be easier, maybe can share where in the code to actually put that, some people might not realize or know where to put it.
in your react-native project, android/build.gradle find :
buildscript { ext { // there should be a lot of things here, like buildToolVersion, minSdkVersion, etc. // Add 1 more line below facebookSdkVersion = "5.11.0" } }
UPDATE : v5.11.2 was just released. You can use implementation 'com.facebook.android:facebook-core:5.11.2' to force the gradle to fetch the latest v5.11.2 https://github.com/facebook/facebook-android-sdk/issues/637#issuecomment-557442146
FWIW cocoapods still has 5.11.1 (verified with an updated repo) but it may just be release policy doesn't require lock-step releases between android & iOS
- FBSDKCoreKit 5.8.0 -> 5.8.0 (latest version 5.11.1)
You can workaround the problem by adding
facebookSdkVersion=5.11.0
to yourandroid/gradle.properties
to use the old version.Version 5.11.1 is broken. This is what happens when you run
react-native run-android
: