-
Notifications
You must be signed in to change notification settings - Fork 183
Open
Description
First line of this method:
public void signIn(PluginCall call) {
Intent signInIntent = googleSignInClient.getSignInIntent();
startActivityForResult(call, signInIntent, "signInResult");
}
generates an exception:
java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Intent com.google.android.gms.auth.api.signin.GoogleSignInClient.getSignInIntent()' on a null object reference at com.codetrixstudio.capacitor.GoogleAuth.GoogleAuth.signIn(GoogleAuth.java:81)
Both, clientId is defined in capacitor.config.ts and server_client_id in strings.xml.
3.4.0-rc.0 does not generate the exception, having the same conditions.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels