googlesamples / google-services

A collection of quickstart samples demonstrating the Google APIs for Android and iOS
https://developers.google.com
Apache License 2.0
3.05k stars 2.53k forks source link

Using google-services.json in seprate module with different flavors #567

Open Girish-Setti opened 1 year ago

Girish-Setti commented 1 year ago

Iam using multi-module architecture application so I create a serapte module for google service with 2 flavors. When i create new module throw the error : No matching clent found for package name 'com.example.android.googleservice ' I added apply plugin: 'com.google.gms.google-servie' in newmodel gradle file

Application Package Name : com.example.android New module package name: com.example.android.googleservice