I've been working on implementing Google's ID provider login in Nativescript using the nativescript-social-login plugin. While it works smoothly on Android, I've hit a roadblock with iOS.
Following the instructions from the plugin creator, I realized that some classes required additional definition files for TypeScript. After researching, I found out that the method to achieve login with Google has changed recently in iOS due to some deprecated pods. Attempting the new approach, I even created a d.ts file for the GIDSignIn delegate as shown below:
declare class GIDSignIn{
public static sharedInstance(): GIDSignIn;
public handleURLSourceApplication(url: NSURL, sourceApplication:NSString, annotiation: id): boolean;
}
Despite successfully compiling the application this way, it crashes when I try to tap the login button.
While inspecting the Xcode build, a warning informs me that the Firebase instance has not been configured. How should I proceed with configuring it in the Typescript code?