FB Login not working with React Native iOS v13

0 votes

I've a project with following configuration.

"react": "16.8.3",
"react-native": "0.59.9",
"react-native-fbsdk": "^0.8.0"

I've setup Facebook login successfully with manually installed SDK components (i.e. FBSDK Core, Login, Share, ...). It worked completely fine with Android and iOS v12 but since iOS updated to v13, it is having Login isCancelled in iOS 13+. I tried to update FBSDK to newer version using pod but it caused duplicate dependencies error.

Following is the error log from GraphRequest on initiation

{
    ...
    code: "ECOM.FACEBOOK.SDK.CORE8"
    domain: "com.facebook.sdk.core"
    message: "The operation couldn’t be completed. (com.facebook.sdk.core error 8.)"
    ...
}

And this is the error on LoginButton press

{
    declinedPermissions: null, 
    grantedPermissions: null, 
    isCancelled: true
}

I've tried multiple solutions available on stackoverflow & github like updating version, changing loginWithPermission props etc but nothing work for me.

Kindly give me a suitable solution with manually updating the FBSDK version rather than pod.


 

Nov 10, 2022 in Mobile Development by gaurav
• 23,260 points
1,323 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

It enabled developers to create Hybrid mobile applications that will run on Apple's iOS and Google's Android platforms from a single code base. For Facebook, an abstraction like React-Native would dampen the control iOS and Android exerted. And thus React-Native came into being!

answered Nov 15, 2022 by gaurav
• 23,260 points

edited Mar 5

Related Questions In Mobile Development

0 votes
0 answers

How to integrate @2x @3x images to React Native Project (Both Android & IOS)?

I had added the same image's versions ...READ MORE

Nov 11, 2022 in Mobile Development by gaurav
• 23,260 points
772 views
0 votes
0 answers

How to integrate @2x @3x images to React Native Project (Both Android & IOS)?

I had added the same image's versions ...READ MORE

Nov 15, 2022 in Mobile Development by gaurav
• 23,260 points
731 views
0 votes
0 answers

Twilio incoming call is not working in iOS

I am working on Twilio programmable voice ...READ MORE

Nov 17, 2022 in Mobile Development by gaurav
• 23,260 points
774 views
0 votes
0 answers

Facebook iOS 9 SDK login redirects to mbasic.facebook.com on Safari

I'm using the iOS 9 Facebook SDK to manage ...READ MORE

Nov 8, 2022 in Mobile Development by gaurav
• 23,260 points
1,512 views
0 votes
0 answers

How to receive single tap and hold Remote-Control Event with iOS

I'm looking for my app to listen ...READ MORE

Nov 8, 2022 in Mobile Development by gaurav
• 23,260 points
520 views
0 votes
0 answers

How to login to a site using POST request? (Swift,iOS)

I want to create an iOS Application ...READ MORE

Nov 9, 2022 in Mobile Development by gaurav
• 23,260 points
746 views
0 votes
0 answers

"facebook.com" missing from login page URL

I am not able to login using ...READ MORE

May 28, 2022 in PHP by Kichu
• 19,040 points
707 views
0 votes
1 answer

App iOS stuck on blank white screen when build release React Native

I use many node version so the ...READ MORE

answered Sep 21, 2022 in Others by rajatha
• 7,680 points
11,139 views
0 votes
1 answer

React Native and iOS share button

In this article, we will be learning ...READ MORE

answered Nov 4, 2022 in Others by gaurav
• 23,260 points
803 views
0 votes
1 answer

iOS Post to Facebook shows m.facebook.com

From your Feed, tap Search Facebook at ...READ MORE

answered Nov 4, 2022 in Others by gaurav
• 23,260 points
551 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP