This worked for me, sending notifications from the Firebase console.
All you need is to add these 3 plugins
ionic plugin add cordova-plugin-inappbrowser
ionic plugin add cordova-plugin-fcm
ionic plugin add cordova-plugin-velda-devicefeedback
And go to Firebase Console
- Create New Project
- Add a Name to your project
- Select which platform you like (ios/android)
- Add your Package Name which is the id of your app, (you can see it in your config.xml something like id=“com.ionicframework.someTest123”) It will give you a file google-services.json
- Paste it in the platforms/android/ directory
- Then run ionic build android on your CLI
- And you can now go to Notifications Page > New Message Make sure to select the app (id of the app) you added before sending push notification.
Now I just need to work out how to send notifications from the app.