0
我正在尝试整合iOS的最新Linkedin SDK。Linkedin ios SDK createSessionWithAuth更新错误
当我请求createSessionWithAuth我得到一个警报视图与文本:“你需要更新LinkedIn应用程序,以便与LinkedIn连接”
我复制的代码直出的示例应用程序。
[LISDKSessionManager createSessionWithAuth:[NSArray arrayWithObjects:LISDK_BASIC_PROFILE_PERMISSION, LISDK_EMAILADDRESS_PERMISSION, nil]
state:@"some state"
showGoToAppStoreDialog:YES
successBlock:^(NSString *returnState) {
NSLog(@"%s","success called!");
LISDKSession *session = [[LISDKSessionManager sharedInstance] session];
NSLog(@"value=%@ isvalid=%@",[session value],[session isValid] ? @"YES" : @"NO");
NSMutableString *text = [[NSMutableString alloc] initWithString:[session.accessToken description]];
[text appendString:[NSString stringWithFormat:@",state=\"%@\"",returnState]];
NSLog(@"Response label text %@",text);
}
errorBlock:^(NSError *error) {
NSLog(@"%s %@","error called! ", [error description]);
}
];
只要在此确定,您确定您的设备上安装了LinkedIn iOS应用程序的最新版本? –
绝对确定其最新版本。甚至删除LinkedIn并重新从澳大利亚商店重新安装,以确保。 –
Linkedin v8.8.1 –