Push Notification #140178
-
Select Topic AreaQuestion BodyI am trying to build the Push Notification into my a Mobile app, which is built with Vue.js for frontend and Laravel for backend. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
What framework or tool did you use to build your mobile app? |
Beta Was this translation helpful? Give feedback.
-
All development environment is created and don't need anymore? |
Beta Was this translation helpful? Give feedback.
-
Okay, everything is clear.
Finally, Make sure to test your app on physical devices (iOS and Android) because push notifications may not work in the simulator or emulator. I hope these steps will be helpful to you. |
Beta Was this translation helpful? Give feedback.
Okay, everything is clear.
To implement push notifications in your Ionic (Vue.js) mobile app using Firebase, follow the steps:
Set up Firebase project.
Main Point is to register your app into Firebase with bundle ID.
Install Firebase and Firebase Messaging
Main Point is to install essential node modules into your Ionic app.
Configure Firebase in Ionic
Add the configuration into app.vue of your Ionic project.
Handle Push Notification with Capacitor
Need to handle notification using Capacitor's Push Notification API.
Setup Firebase Cloud Messaging (FCM)
Enable Cloud Messaging in your project settings.
Finally, Make sure to test your app on physical devices (iOS and Android) beca…