I’m having troubles compiling my Ionic 2 app on Ionic Cloud for platform iOS and Android when adding the cordova-plugin-fcm plugin.
It fails with the following error on iOS :
Error: cordova-plugin-fcm: You have installed platform ios but file ‘GoogleService-Info.plist’ was not found in your Cordova project root folder.
and this one on Android :
Error: cordova-plugin-fcm: You have installed platform android but file ‘google-services.json’ was not found in your Cordova project root folder.
I have of course correctly created my project on Firebase and downloaded both GoogleService-Info.plist and google-services.json and placed them in the root of my Ionic project.
It just seems that the command “ionic package build ios --profile dev” does not copy thoses files and therefore trigger this failure to compile.
Is there a config file were I have to add thoses 2 files so they get copied onto the Ionic Cloud ?
Any idea how I can fix this ?