Push Notifications

In 2022, how would you add real push notifications to a framework7 android and ios app?
I’ve tried so many things and everything is a dead-end. It would be great if there were a tutorial somewhere that still works. I’m currently trying with firebase but not having great luck. Is that even possible? Thanks for any help.

Firebase is a great platform, it’s not too difficult to learn and has many great features. It’s not so much that you are adding Push Notifications to a Framework7 app, it’s more that you are adding the feature to a Cordova or Capacitor app. Framework7 is essentially the front-end framework, with Javascript features to support the user interface. But the heavy lifting of code logic is written within your own Javascript code specific to your app, which is where the integration of a platform like Firebase or Azure comes in. You can put any front-end framework on your app to provide the UI, but it is up to you to code the integration with third-party services.

Hello, if you are using Cordova, you con check this plugins:
for Android Cordova Plugin Push
And for iOS cordova-plugin-firebasex

The last one cordova-plugin-firebasex you can use for both. platform, but i have made the Android version first and don’t modify.
I send the notifications with Firebase.

1 Like

Now is 2025, Welcome to the Future lol. Kidding aside, has anyone successfully implemented push notification in FCM?Cordova plugins are very outdated… now i have no choice but to try onesignal

This is a great Firebase Cordova plugin which demonstrates many useful features, such as push notifications. I’ve successfully built their sample project in Xcode and deployed to my device, and used the Firebase interface to send a push notification to my phone. GitHub - dpa99c/cordova-plugin-firebasex: Cordova plugin for Google Firebase

1 Like

really? i knew this plugin but it gave me errors during building… if that works for you then ill try it again… thank you

I’ve just launched an app with notifications. I’ve changed my code from cordova to capacitor, and create the app with Framework 7 8.3. I’ve used Firebase as framework to send the notifications. I’ve developed the backend with Laravel 12