russmedia-digital / cordova-plugin-google-signin

Cordova Google SignIn
Apache License 2.0
11 stars 29 forks source link

Android build failed #6

Open dhavalsoni2001 opened 2 years ago

dhavalsoni2001 commented 2 years ago

Task :app:processDebugGoogleServices FAILED

FAILURE: Build failed with an exception.

pghoratiu commented 2 years ago

Hi, it seems like you are missing the firebase configuration file. Did you perform the steps described in the README to configure firebase as well?

dhavalsoni2001 commented 2 years ago

There was firebase config file but I had to define path in config.xml like this:

<resource-file src="google-services.json" target="app/google-services.json" />

pghoratiu commented 2 years ago

We are using also firebase-x in our projects which handles this part in a separate step https://github.com/dpa99c/cordova-plugin-firebasex/blob/master/scripts/after_prepare.js#L39

Will need to either update the documentation with this information or create this step/update plugin configuration to make sure that file is being copied properly when this plugin is being used standalone.

mirko77 commented 2 years ago

@pghoratiu is it possible to use this plugin WITHOUT firebase?

pghoratiu commented 1 year ago

Not at the moment.

Topiya commented 1 year ago

Does anyone found any solution yet?