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 –