Closed motogod closed 4 years ago
Hi, Are you sure the package is linked on both andoriod and ios Mayby it's linked on ios but not on android.
Just try to run another time and make sure you are linking with libRCTFBSDK.a
Hi, Are you sure the package is linked on both andoriod and ios Mayby it's linked on ios but not on android.
Just try to run another time and make sure you are linking with libRCTFBSDK.a
Hi,
I am sure I link the package on IOS (Because LoginManager works on IOS). But why I can't link the package on Android in my step. ( include 3-1, 3-2, 3-3).
About the file libRCTFBSDK.a
is IOS side not Android side right ?
I found what my problem, when I try to run my project by react-native run-android
Show the message that can't find the device.
It looks like something wrong with my android simulator.
So I change to another simulator and it works now.
Close issue.
🐛 Bug Report
Use login function will show
TypeError: Cannot read property 'logInWithPermissions' of undefined.
on Android.To Reproduce
step 1:
yarn add react-native-fbsdk
step 2: add the code on Android side: android/app/src/main/res/values/strings.xmlstep 3-1: add the code on root: android/app/src/main/AndroidManifest.xml
step 3-2 add
mavenCentral()
polipolisalon/android/build.gradlestep 3-3:
I'm not sure should I type the code , but I just type it on android/app/build.gradle
step 4: run the project by Android Studio.
step 5: trigger the facebookSignIn function on React Native:
Expected Behavior
It should show the facebook login view just like IOS.
Environment
"react": "16.9.0", "react-native": "0.61.2", "react-native-fbsdk": "^1.1.1",