We are trying to use Ionic’s hook for copying push notifications service config files by adding it in config.xml.
<hook type="after_prepare" src="package-hooks/copy_google_services_config_files.js" />
as prescribed in link -
After applying this hook, build fails on Ionic cloud with following error in output.
Adding ios project…
Creating Cordova project for the iOS platform:
Name: XXXXX XXXXX
iOS project created with email@example.com
Error: Invalid data, chunk must be a string or buffer, not object
Can anyone please help us in resolving this error?