/* at: plugins/cordova-plugin-fcm/scripts/fcm_config_files_process.js Now change the file like this: */ // change var strings = fs.readFileSync("platforms/android/res/values/strings.xml").toString(); // to var strings = fs.readFileSync("platforms/android/app/src/main/res/values/strings.xml").toString(); // AND //change fs.writeFileSync("platforms/android/res/values/strings.xml", strings); //to fs.writeFileSync("platforms/android/app/src/main/res/values/strings.xml", strings); /*After that, copy the google-services.json file to the following directories: platforms/android/google-services.json platforms/android/app/google-services.json */
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter