As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
I have an app which have the option to login with facebook credentials and it works fine on iOS 9. However, it does not work in ios10. I always get the error 308 after enter the facebook credentials and hit done.
Has this something to do with facebook sdk or kinvey sdk? I am using the newest version of both.
Thanks in advance
Best Answer
S
Sandor Ferreira
said
about 7 years ago
1.40.9 Kinvey but now downloading 3.3.0 to check if the problem gets solved.
I'm not getting the same errors. The problem with facebook SDK is the new feature on Xcode 8 I think, just enabling Keychain on target capabilities worked for me
1.40.9 Kinvey but now downloading 3.3.0 to check if the problem gets solved.
I'm not getting the same errors. The problem with facebook SDK is the new feature on Xcode 8 I think, just enabling Keychain on target capabilities worked for me
P
Pranav J
said
about 7 years ago
Joao,
If you keep the same Kinvey version and downgrade the FB SDK does it work for you?
Thanks, Pranav Kinvey Support
S
Sandor Ferreira
said
almost 7 years ago
João, can you post the code you're using to log the user in Kinvey using facebook credentials?? I can't manage to do that event login correctly on facebook
João Pedro Furriel
I have an app which have the option to login with facebook credentials and it works fine on iOS 9. However, it does not work in ios10. I always get the error 308 after enter the facebook credentials and hit done.
Has this something to do with facebook sdk or kinvey sdk? I am using the newest version of both.
Thanks in advance
1.40.9 Kinvey but now downloading 3.3.0 to check if the problem gets solved.
I'm not getting the same errors. The problem with facebook SDK is the new feature on Xcode 8 I think, just enabling Keychain on target capabilities worked for me
1 person has this question
- Oldest First
- Popular
- Newest First
Sorted by PopularJoão Pedro Furriel
It worked for me too! Thank you Sandor! You saved my life!!!
Regards
1 person likes this
Sandor Ferreira
I solved the problem with facebook SDK but now Kinvey doesn't login
You have to enable Keychain on your project on xcode to have the fb SDK running
Sandor Ferreira
Great, thank you!
Pranav J
Sandor,
Thanks,
Pranav
Kinvey Support
João Pedro Furriel
Sure:
This is a custom button (not the plain old default "login with facebook") initialization:
[[self customLoginButton]
addTarget:self
action:@selector(loginButtonClicked) forControlEvents:UIControlEventTouchDown];
And this is the method associated with the button:
-(void)loginButtonClicked {
FBSDKLoginManager *login = [[FBSDKLoginManager alloc] init];
[login
logInWithReadPermissions: @[@"public_profile", @"email", @"user_friends", @"user_birthday", @"user_location", @"user_hometown"]
fromViewController:self
handler:^(FBSDKLoginManagerLoginResult *result, NSError *error) {
if (error) {
NSLog(@"Process error");
} else if (result.isCancelled) {
NSLog(@"Cancelled");
} else {
NSLog(@"Logged in");
NSString* acessToken = [[result token] tokenString];
[self didTapLogInWithFB:acessToken];
[[self customLoginButton] setTitle:@"Logout Facebook" forState:UIControlStateNormal];
}
}];
}
Sandor Ferreira
1.40.9 Kinvey but now downloading 3.3.0 to check if the problem gets solved.
I'm not getting the same errors. The problem with facebook SDK is the new feature on Xcode 8 I think, just enabling Keychain on target capabilities worked for me
Pranav J
If you keep the same Kinvey version and downgrade the FB SDK does it work for you?
Thanks,
Pranav
Kinvey Support
Sandor Ferreira
João, can you post the code you're using to log the user in Kinvey using facebook credentials?? I can't manage to do that event login correctly on facebook
-
Why do I get "Undefined symbols" errors when building with KinveyKit?
-
How do I register push tokens?
-
When using social login, to perform a log-out, do I need to log out of the social network, Kinvey, o
-
How can I assign additional properties to users?
-
Does KinveyKit support 64-bit ARM devices, such as iPhone 5s?
-
Authorization Token Invalid or Expired
-
BOOL and how it is stored in the database.
-
Offline saving throwing errors
-
Custom endpoint not able to form request object
-
Security through business logic
See all 437 topics