title: IN NativeScript not able to connect to Facebook
body: <p>I have installed pod</p>
  <blockquote>
  <p>pod 'FacebookSDK',</p>
  <p>pod 'FBSDKCoreKit'</p>
  <p>pod 'FBSDKLoginKit'</p>
  </blockquote>
  <p>This is installed properly.via pod file.</p>
  <p>code inside my app.js</p>
  <blockquote>
  </blockquote>
  <pre><code>const application = require(&quot;tns-core-modules/application&quot;); 
  if(application.ios){
  var AppDelegate = NSObject.extend({
         applicationDidFinishLaunchingWithOptions :function (application, launchOptions) {
           var gglDelegate = false;
           try {
              var errorRef = new interop.Reference();
              GGLContext.sharedInstance().configureWithError(errorRef);
              var signIn = GIDSignIn.sharedInstance();
              gglDelegate = true;
          } catch (error) {  console.log(error);    }
          var fcbDelegate = FBSDKApplicationDelegate.sharedInstance().applicationDidFinishLaunchingWithOptions(application, launchOptions); // facebook login delegate
                                    return gglDelegate || fcbDelegate;
        },
       applicationOpenURLSourceApplicationAnnotation : function (application, url, sourceApplication, annotation) {
           var fcbDelegate = FBSDKApplicationDelegate.sharedInstance().applicationOpenURLSourceApplicationAnnotation(application, url, sourceApplication, annotation); // facebook login delegate
            var gglDelegate = GIDSignIn.sharedInstance().handleURLSourceApplicationAnnotation(url, sourceApplication, annotation); // google login delegate
             return fcbDelegate || gglDelegate;
          }                         
  },{
       name: &quot;AppDelegate&quot;,
       ObjCProtocols:[UIApplicationDelegate , UIResponder ]  
  });  
  }
  application.run({ moduleName: &quot;app-root&quot; });
  </code></pre>
  <p>i am trying to use demo <a href="https://github.com/mkloubert/nativescript-social-login/tree/master/demo" rel="nofollow noreferrer">https://github.com/mkloubert/nativescript-social-login/tree/master/demo</a> , but in my project. But i am not using Any nativescript framework. My project is based on simple plain javascript demo.typescript or angular does not work on my project.</p>
  <p>but still i am having this error</p>
  <p><a href="https://i.stack.imgur.com/sZDBP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sZDBP.png" alt="enter image description here" /></a></p>