Will not initiate LinkedIn authentication window on iPad

We have successfully integrated Linkedin iOS sdk into our application. It works great on iPhone devices. But when I try to do this on the iPad, it will not work. The problem is that it will not authenticate to the iPad. It simply opens a link to the main page, but does not redirect the application. He remains stuck on the linkedin homepage. Even I also tried using ios sdk links on iPad.

func application(application: UIApplication, openURL url: NSURL, sourceApplication: String?, annotation: AnyObject?) -> Bool {
    if LISDKCallbackHandler.shouldHandleUrl(url) {
        return LISDKCallbackHandler.application(application, openURL: url, sourceApplication: sourceApplication, annotation: annotation)
    }
    return true
}

The authorization screen or the above code will not start on the iPad.

+4
source share
1 answer

, SO . , . FWIW, iPhone , LI. LI, LI , . iPad . LI SDK. , - , , , iPad, iPhone.

+3

Source: https://habr.com/ru/post/1607215/


All Articles