I am developing an Ionic application, which has a NestJS backend. I want to send push notifications to the user, when he receives a friend request, or something similar, but my main problem is I am not using firebase (which seems to handle them well), I am using Neo4j. Is there a simple way I could handle push notifications in my case?
Also, I am not an expert in push notifications, so I was thinking, is there a way to send a push notification from my NestJS backend, when a certain endpoint/method is executed?
You can send push notification using OneSignal which support Nest you can check this plugin onesignal-api-client-nest
and for ionic you can check the official plugin from here
Related
I had just replaced my app with supabase from firebase in flutter app.
Firebase has firebase_messaging that provide push notification to device token.
Is there any facilities to create function in supabase and send notification to selected user with device token while changing in database.
If yes than please suggest some function else suggest some method to send notification.
Supabase does not provide a mechanism to send push notifications at this point, so you can use FCM or other push notification sending services to send them out to the users.
If you are going with FCM, you can setup your own backend using Firebase cloud functions or other backend service that you prefer to send the notifications from.
Typically, you would want to send push notifications to your users when there is some kind of change in the database, like when there was a new message sent or someone liked a post. You can listen to these events using Supabase database webhooks. With database webhooks, you can send your backend a request whenever you receive certain data change happening in your database.
I'm making a mobile app that has push notification, from frontend I'm using flutter and backend I'm using laravel api and Postgres12 as database. I need to do a push notification where laravel will notify flutter of new notification whenever the database is updated. How to make a a reliable connection between flutter and laravel and that the push notification will work. Please help I have try searching for answers everywhere but I couldn't find the one that can help me solve the problem.
Better I understand, you can not make your own push notification server. What you can do is use the available services like firebase and can't doesn't mean impossible.
read this link
Check out this Awesome Notification Package. This might be helpful for you!
I have an app in which I'm using sveltekit with static adapter to build a mobile application using CapacitorJS,
I would like to send push notifications from the server to the client app but I don't want to use any third party like firebase, one signal etc, Please is there any means that would help, I read about service worker but not sure how it would work, thanks in advance
Maybe i don't understand clearly your question, but why you can't use capacitor solution for push notifications ?
https://capacitorjs.com/docs/apis/push-notifications
I have developed an app and it is published sucessfully on iOS and Android. I have integrated push using the App42 Push Notification API which works great, but is quite expensive. I am storing the device tokens on my peronal MySQL-database which is hosted on my webpage. I am wondering if there are any other Push Notification Services that supports sending of push notifications using PHP/HTML using device tokens and API keys?
I have researched following:
Parse
OneSignal
PushWoosh
PushWizard
Pushover
None of them seems to support sending of push notifications using PHP or HTML.
Nearly all of them support sending push notifications via a RESTful interface/web-service which needs to be consumed by your PHP.
Parse: https://parse.com/docs/rest/guide/#push-notifications
OneSignal: https://documentation.onesignal.com/reference#create-notification
I am sure few of the others also support sending push notifications via an API.
I'd like to implement some push notifications from Twitter in my app. I can connect to Twitter's stream of user-related events using Sreaming API. Do I need some 'middleman' server between Twitter API and an iPhone app in order to push a notification to an app ? Maybe I can do it using Parse.com Cloud Code or something similar ?
This question may be helpful not only in the case of the Twitter API but also in case of any server that a developer don't have any access to.
To push a notification you would generally need a server of your own which has been configured to send a notification when some event occurs. If you are using Parse as a backend for your app, you can leverage their backend to allow you to implement Push Notifications or use a service like UrbanAirship
In the case of the Twitter API, you will need to implement some middleman in either case to get the data from Twitter for your user and parse it to see whether some event has occurred and then send off a notification either using your own custom logic directly to Apple's servers or using Parse or UrbanAirship (or some other service)