Comments (7)
@thebergamo I made a "needs reproduction" label for things like this, also stops me from clicking on it but indicates there may still be something to learn here, just without a reproduction, what can we do?
from react-native-fbsdk-next.
I’ll try to dig it when I have some time and I’ll keep you updated 😉
from react-native-fbsdk-next.
Interesting. I didn't realize 14.4.2 was out until you mentioned it. I just updated my real iOS device to it and logged into my app via facebook to see if it would fail as you describe.
My login process runs this code:
private static async getEmailForFacebookLogin(): Promise<object> {
return new Promise((resolve, reject) => {
const request = new GraphRequest(
'/me?fields=email,name',
null,
(error: any, result: object | PromiseLike<object>) => {
if (result) {
console.log(
'UserStore::getEmailForFacebookLogin - got result:',
JSON.stringify(result, null, 2)
);
// @ts-ignore
if (!result.email) {
console.log('UserStore::getEmailForFacebookLogin - no email permission granted?');
Analytics.analyticsEvent('getEmailForFacebookLoginFail');
reject(new Error('email-permission-not-granted'));
} else {
return resolve(result);
}
} else {
console.log('UserStore::getEmailForFacebookLogin no result?');
reject(error);
}
}
);
new GraphRequestManager().addRequest(request).start();
});
}
and it successfully fetched the email via a graph request. So I'm not sure what's going on there.
That's using FBSDK ios 9.0.1 according to my Podfile.lock.
It appears 9.1.0 is out but I haven't tried it on a real device running 14.4.2 yet. I just kicked off a TestFlight build in my dev environment that will include 9.1.0 in order to see. I'll try to remember to post findings back here but if you do not see a post from you can assume it worked and I had some other higher priority thing going on (because, it worked...). If it broke you can be sure I'll be back here to triage :-)
from react-native-fbsdk-next.
Well I just found from where the problem comes. I have the Lockdown app installed on my iPhone which put the VPN iOS feature on. Then the Login to Facebook throw the connection error.
Not sure this is specifically related to react-native-fbsdk-next but so you know.
from react-native-fbsdk-next.
After you mentioned about VPN, it might be that your VPN is blocking Fb domain? Do you use any other app in your device that connects with FB? Or can you try to access the FB in general?
From the error it seems to be related to some network issue. I'm installing the newest version and will try to log into my app within my VPN to check also
EDIT
Even with VPN and newest iOS I could login normally with aforementioned versions
from react-native-fbsdk-next.
love it! thanks @mikehardy
from react-native-fbsdk-next.
Still missing reproduction, no activity. Can always reopen, but closing to clean issue list.
from react-native-fbsdk-next.
Related Issues (20)
- Build error: Showing Recent Messages Error [ERR_REQUIRE_ESM]: require() of ES Module... HOT 2
- support version 17 of facebook sdk with privacy manifests HOT 14
- Will this lib be updated to meet Apple's new third party sdk privacy manifest requirement? HOT 2
- Can't change to another account on login HOT 3
- iOS limited login HOT 14
- Email not retrieving from facebook login HOT 3
- Need help for the facebook sharing HOT 1
- Facebook SDK not initialized error when using react-native-fbsdk-next with Expo HOT 7
- FbLoginManager.loginwithPermissions was called with 1 arguments butt expects 3 arguments HOT 2
- LoginManager.logOut() doesn't remove app from Facebook "Business Integrations" HOT 1
- App switches automatically to limited login when updated to v13 HOT 4
- Access Token is invalid HOT 6
- React native app - Upgrade fbsdk to version 9.0.0 HOT 1
- Mobile product ads aka Advantage+ Catalog Ads not receiving params HOT 2
- Upgrading to v13.0.0 , build failed for android HOT 6
- iOS limited login does not return all possible fields HOT 1
- Invalid ID token from login response. HOT 3
- (iOS) ShareDialog.show(shareContent) does not show any sharing options.
- (iOS) Automatic purchase event is not logging in iOS sdk 17.0.0 HOT 1
- Compiling for iOS 13.0, but module 'ExpoModulesCore' has a minimum deployment target of iOS 13.4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-fbsdk-next.