Hello!
I’m trying to add a ‘google-services.json’ file to the Cordova project root folder as required by the cordova-plugin-fcm plugin (this plugin allows a receiving push notifications from Google Firebase).
I’ve tried adding the file to
/<meteor project root>/cordova-build-override/google-services.json
and
/<meteor project root>/cordova-build-override/platforms/android/google-services.json
However I still receive the following error:
While adding plugin cordova-plugin-fcm@2.1.1 to Cordova project: Error: cordova-plugin-fcm: You have installed platform android but file 'google-services.json' was not found in your Cordova project root folder.
Its initiated by this file: https://github.com/fechanique/cordova-plugin-fcm/blob/master/scripts/fcm_config_files_process.js#L84
Any idea what I’m doing wrong?
Thanks in advance