1547877743
When you try to log in using the Facebook application, SDK returns error:
Error Domain=NSPOSIXErrorDomain Code=53 "Software caused connection abort" UserInfo={_kCFStreamErrorCodeKey=53, _kCFStreamErrorDomainKey=1}
The error is not reproduced in the case of authorization through Safari, only through the application and not every time.
My code:
- (IBAction)loginFacebook:(UIButton *)sender { FBSDKLoginManager *login = [[FBSDKLoginManager alloc] init]; [login logOut]; [login logInWithReadPermissions: @[@"public_profile",@"email"] fromViewController:self handler:^(FBSDKLoginManagerLoginResult *result, NSError *error) { if (error) { [self showError:error]; } else if (result.isCancelled) { NSLog(@"Cancelled"); } else { [LoadingView startLoading:@"" inView:[[UIApplication sharedApplication].delegate window] isProgress:NO showWithCheckmark:NO]; [[BackendService sharedBackendService] fbLoginWithAccessToken:result.token.tokenString successBlock:^() { [_errorView removeFromSuperview]; _errorView = nil; STOP_LOADING [self showMainVC]; } errorBlock:^(NSError *error) { STOP_LOADING [self showError:error]; }]; } }]; }
#objective-c
1547881045
Solved the problem in this way. Maybe someone else will be useful in the future. Minimum update delay helped me. Here is an example:
- (IBAction)loginFacebook:(UIButton *)sender
{
FBSDKLoginManager *login = [[FBSDKLoginManager alloc] init];
[login logOut];
[login
logInWithReadPermissions: @[@"public_profile",@"email"]
fromViewController:self
handler:^(FBSDKLoginManagerLoginResult *result, NSError *error) {
if (error) {
[self showError:error];
} else if (result.isCancelled) {
NSLog(@"Cancelled");
} else {
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 0.1 * NSEC_PER_SEC), dispatch_get_main_queue(), ^{
[LoadingView startLoading:@"" inView:[[UIApplication sharedApplication].delegate window] isProgress:NO showWithCheckmark:NO];
[[BackendService sharedBackendService] fbLoginWithAccessToken:result.token.tokenString successBlock:^() {
[_errorView removeFromSuperview];
_errorView = nil;
STOP_LOADING
[self showMainVC];
} errorBlock:^(NSError *error) {
STOP_LOADING
[self showError:error];
}];
});
}
}];
}
1598839687
If you are undertaking a mobile app development for your start-up or enterprise, you are likely wondering whether to use React Native. As a popular development framework, React Native helps you to develop near-native mobile apps. However, you are probably also wondering how close you can get to a native app by using React Native. How native is React Native?
In the article, we discuss the similarities between native mobile development and development using React Native. We also touch upon where they differ and how to bridge the gaps. Read on.
Let’s briefly set the context first. We will briefly touch upon what React Native is and how it differs from earlier hybrid frameworks.
React Native is a popular JavaScript framework that Facebook has created. You can use this open-source framework to code natively rendering Android and iOS mobile apps. You can use it to develop web apps too.
Facebook has developed React Native based on React, its JavaScript library. The first release of React Native came in March 2015. At the time of writing this article, the latest stable release of React Native is 0.62.0, and it was released in March 2020.
Although relatively new, React Native has acquired a high degree of popularity. The “Stack Overflow Developer Survey 2019” report identifies it as the 8th most loved framework. Facebook, Walmart, and Bloomberg are some of the top companies that use React Native.
The popularity of React Native comes from its advantages. Some of its advantages are as follows:
Are you wondering whether React Native is just another of those hybrid frameworks like Ionic or Cordova? It’s not! React Native is fundamentally different from these earlier hybrid frameworks.
React Native is very close to native. Consider the following aspects as described on the React Native website:
Due to these factors, React Native offers many more advantages compared to those earlier hybrid frameworks. We now review them.
#android app #frontend #ios app #mobile app development #benefits of react native #is react native good for mobile app development #native vs #pros and cons of react native #react mobile development #react native development #react native experience #react native framework #react native ios vs android #react native pros and cons #react native vs android #react native vs native #react native vs native performance #react vs native #why react native #why use react native
1622532701
React Native is an open-source framework that gives you wings to create truly native applications that do not compromise on your users’ experiences. TechAhead is a renowned React Native app development company having years of experience and a proven track record of delivering high-quality React Native app development services in record time. Get in touch with the TechAhead consultants to get started with your next mobile app project.
For more details read our full blog here https://dripivplus.com/reasons-to-consider-react-native-for-your-next-mobile-application-development/
#react native app development company #react native app developer #react native app development service #react native app development #react native application development company
1614750304
How do I start or create or post a Poll on Facebook? Know the ways to add options or make a poll on Facebook Page or Messenger.
make a poll on Facebook
add options to Facebook Poll
#how can i create a poll on facebook #create a poll on facebook #how to make a poll on facebook #how to do a poll on facebook #poll on facebook #create poll on facebook
1593420654
Have you ever thought of having your own app that runs smoothly over multiple platforms?
React Native is an open-source cross-platform mobile application framework which is a great option to create mobile apps for both Android and iOS. Hire Dedicated React Native Developer from top React Native development company, HourlyDeveloper.io to design a spectacular React Native application for your business.
Consult with experts:- https://bit.ly/2A8L4vz
#hire dedicated react native developer #react native development company #react native development services #react native development #react native developer #react native
1621573085
Expand your user base by using react-native apps developed by our expert team for various platforms like Android, Android TV, iOS, macOS, tvOS, the Web, Windows, and UWP.
We help businesses to scale up the process and achieve greater performance by providing the best react native app development services. Our skilled and experienced team’s apps have delivered all the expected results for our clients across the world.
To achieve growth for your business, hire react native app developers in India. You can count on us for all the technical services and support.
#react native app development company india #react native app developers india #hire react native developers india #react native app development company #react native app developers #hire react native developers