Google Firebase Console -
Phone Gap / Cordova
:cordova plugin add cordova-plugin-firebase
https://firebase.google.com/
google-services www
:- My Project/ platforms/ plugins/ www/ config.xml google-services.json <-- GoogleService-Info.plist <-- styles /res/values/styles.xmlnotifcation:<?xml version="1.0" encoding="utf-8" ?> <resources> <!-- inherit from the material theme --> <style name="AppTheme" parent="android:Theme.Material"> <item name="android:windowDisablePreview">true</item> </style> <drawable name="notification_big">@mipmap/icon</drawable> <drawable name="notification_icon">@mipmap/icon</drawable> </resources>
:
https://www.npmjs.com/package/cordova-plugin-firebase