A React Native wrapper around the Facebook SDKs for Android and iOS. Provides access to Facebook login, sharing, graph requests, app events etc.
2.99k
stars
907
forks
source link
Getting issue on "RCTFBLoginButton" #631
Open
Mr-Bhardwa7 opened 5 years ago
🐛 Bug Report
I'm working on social login on IOS but I'm getting error on my build (Xcode) when I linked react-native-fbsdk package as
and when I unliked react-native-fbsdk from my package then my build is successfully created on Xcode but I got error on react-native as
Note : I followed this video as an reference to configure iOS https://www.youtube.com/watch?v=gILdNvKZ_OY
and here my code for login button
<LoginButton readPermission={['public_profile']} onLoginFinished={ (error, result) => { if(error){ alert("Login failed with error : " + result.error) } else if (result.isCancelled) { alert("Login was cancelled"); } else { alert("Login was successful with permission : " + result.grantedPremissions) } } } onLogoutFinished={() => alert("User Logged out")} />
Anyone here to help me out. Thanks in advance