jodybrewster / react-native-linkedin-login

React Native Linkedin login
71 stars 42 forks source link

[iOS] After webview login : Authorization failed Error Domain=LIALinkedInERROR Code=2 "(null)" #8

Closed mlumbroso closed 7 years ago

mlumbroso commented 7 years ago

Hi,

thanks for this very useful plugin. I've successfully used it on Android, but I have some trouble in iOS, at least testing on simulator in Webview. I see the login page, I can identify myself, then it closes the webview and does move forward, with this error on console :

Authorization failed Error Domain=LIALinkedInERROR Code=2 "(null)"

Any idea what could be wrong there?

Thanks

mlumbroso commented 7 years ago

It is probably linked to this : http://stackoverflow.com/questions/30232359/ios-linkedin-api-error/37583830#37583830

Maybe you should update SDK to 1.0.7 ? Don't know if it will fix the problem though...

mlumbroso commented 7 years ago

I looked at the issues, forgot to check out the pull requests, my bad... I saw there was a pullrequest about it that was merged one month ago #6 , can you just update the npm package then?

If not possible I'll get directly from Github the last version I guess.

Edit: I confirm the fix is working, thanks @Fjandin

jodybrewster commented 7 years ago

@mlumbroso Thanks this has been fixed.