Tuesday, 19 October 2021

Project name and ApplicationID match but i still get this error: No matching client found for package name 'capacitor.android.plugins'

my build.gradle(:app) has the following applicationid enter image description here

defaultConfig {
    applicationId "io.ionic.starter"
    minSdkVersion rootProject.ext.minSdkVersion
    targetSdkVersion rootProject.ext.targetSdkVersion
    versionCode 1
    versionName "1.0"
    testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

and my google-service.json has the following package_nam:

"client": [
    {
      "client_info": {
        "mobilesdk_app_id": "1xxxx",
        "android_client_info": {
          "package_name": "io.ionic.starter"
        }
    },

the manifest file has this package name as well:

<manifest
    xmlns:android="http://schemas.android.com/apk/res/android"
    package="io.ionic.starter">

but for some reason I keep getting this error:

Execution failed for task ':capacitor-cordova-android-plugins:processDebugGoogleServices'.
> No matching client found for package name 'capacitor.android.plugins'


from Project name and ApplicationID match but i still get this error: No matching client found for package name 'capacitor.android.plugins'

No comments:

Post a Comment