Ionic FCM plugin: topic subscription

I am following this link https://ionicframework.com/docs/native/fcm/ to integrate Firebase cloud messaging to my ionic project. The goal is to subscribe client to a specific topic. When I run the following commands, to install the plugin using capacitor:

npm install cordova-plugin-fcm-with-dependecy-updated
npm install @ionic-native/fcm
ionic cap sync

I get the following error when I run the application, just after installing the plugin:

> Task :capacitor-cordova-android-plugins:processDebugGoogleServices FAILED
Parsing json file: C:\angular-workspace\last_chance\android\capacitor-cordova-android-plugins\google-services.json

> Task :capacitor-android:generateDebugRFile

FAILURE: Build failed with an exception.

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

I placed google-services.json file under the folder \android\capacitor-cordova-android-plugins, I think it’s in the right place, but I get the error

What went wrong please ?