Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ionic: No matching client found for package name org.apache.cordova (Firebase)

I am new to ionic1 framework and working on sidemenu ionic app. I am trying to make push notifications work through Firebase, with cordova-plugin-fcm for this, I have installed Firebase using

cordova plugin add [email protected] --save

plugin in my app.

when I run ionic run android, it gives build failure error:

Execution failed for task ':CordovaLib:processDebugGoogleServices'. No matching client found for package name org.apache.cordova

I have searched a lot, but not getting any solutions. Also, I have the same package name in my app config file and google-services.json file.

Please help me. I really need this.

like image 292
Nupur Avatar asked Feb 06 '17 10:02

Nupur


1 Answers

I know it's old but if someone has the same problem, check that your widget id in config.xml and package_name in google-services.json are the same.

like image 166
RobinFrcd Avatar answered Oct 10 '22 04:10

RobinFrcd