I’m developing an app for ios, android and web. I’m just using one project vs code for everyone. In almost everything works. But, I do not know how to implement a push messaging for both web and android together. I was able to make both work on different projects. But when I run into Android it runs the web service work and gives error.
Links I’ve used:
- For android- https://angularfirebase.com/lessons/ionic-native-with-firebase-fcm-push-notifications-ios-android/
- For web - https://angularfirebase.com/lessons/send-push-notifications-in-angular-with-firebase-cloud-messaging/
I’m using Ionic 4.
Ionic Cordova Firebase for the pushs.
Does anyone have any idea how I can do this?