jodybrewster / react-native-linkedin-login

React Native Linkedin login
71 stars 42 forks source link

Not receiving any respponse? #36

Open bisht2ankit opened 6 years ago

bisht2ankit commented 6 years ago

I am using react-native-linkedin-login. All I have done but not receiving any response from app. Any ideas?

ayushnawani commented 6 years ago

Same here, not getting any response from app in successBlock

jodybrewster commented 6 years ago

@ankitbisht143 @ayushnawani Sorry for the delay will look into this soon

ivanstnsk commented 6 years ago

This still has the issue

oriharel commented 5 years ago

Same in iOS. After coming back from the native app, the login() promises doesn't resolves.

oriharel commented 5 years ago

@ayushnawani @Airomad I got it working by adding this code to AppDelegate.m:

- (BOOL)application:(UIApplication *)application
            openURL:(NSURL *)url
            options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options {

  if ([RCTLinkedinLogin shouldHandleUrl:url])
  {
    return [RCTLinkedinLogin application:application openURL:url sourceApplication:options[UIApplicationOpenURLOptionsSourceApplicationKey] annotation:options[UIApplicationOpenURLOptionsAnnotationKey]];
  }
...
RavindraMaddukuri commented 5 years ago

same here, I can't get any data from the app

adybuciuman commented 5 years ago

any update on this issue?