I’m developing an application using react native, and I’m going to deal with the push notifications. So I was looking for some information and tutorials but there is none ressources about sending notifications push using strapi, all the ressources are with th following stack : “Expo + firebase + React Native”.
So I have some questions :
Is it possible to send push notifications using strapi ?
Is it possible to send push notifications using firebase even if I'm using strapi ?
Do I have to do somthing inside strapi if (for example) I want to send an notification every time I add an article in my strapi backend ?
thank you for helping
Related
I am unable to use push notification service API in the website. Can someone help me with the complete process?
I'm using Firebase to send notifications to my React Native frontend. Notifications come through fine when the app is closed, but user's don't receive the notification while they are inside the app. How can I force the notification through every time?
the notifications are received but not showing when the app is open (foreground) you will have to use this or similar solution to show the notification on the screen in this case.
check this link
I have used it on android and iOS with no problems.
You can't "force" them but you can handle them
Currently, I'm building one chat application using react native amplify, it works fine when both users are online and are on the same screen ( stack screen to be specific ), I'm able to show push notifications to users for the new message using a react-native-push-notification package (local push notification).
I want to extend this functionality for app running in the background (similar to Whatsapp) and show push notifications if any new message comes for the user. I attempt to do so using FCM service, but found it's might not be best for messaging, and mostly used for campaigns.
Any better idea, how to do this?
You can take a look at react-native-push-notification and OneSignal libraries
I doing a application with react native, expo and firebase.
I want to send notifications on my device but I would like to know the best way to do it.
I got the expo token and device token , so I can send notifications on the ‘https://exp.host/--/api/v2/push/send' url .
I could do a firebase cloud function that send to this url the notifications.
But I would like to know if we have another way to do it ?
I can do a function that listen to change on the realtime database with the « on » function to make notifications.
Or use some socketIo with firebase function ?
Or maybe use the device token ?
I don’t like to use a lots of external service, if I could use the firebase cloud message it would be good.
If you guys have some tips or advice.
Thanks for all help.
Hi I am new to Xamarin forms App development. I recently set up Push Notifications through App center & Firebase. This allows me to send push notifications through their console. However Is there Library or Nuget Package By which I can send These Push notifications through .NET? i.e Send a push notification through my C# Code.
Preferably not using Web Request etc.
This is broad question. We can't provide you exact solution. I have collected all the Proper Links these should get you Setup your App Center and your Xamarin Forms Apps. Please follow the instruction throughly.
Configure App Center Push Server :
As you said, You have already setup the App Center to send push notification. I hope you setup all the instruction correctly otherwise use the following link to read more in details :
iOS : https://learn.microsoft.com/en-us/appcenter/sdk/push/ios
Android : https://learn.microsoft.com/en-us/appcenter/sdk/push/android
Configure your Forms App:
To Setup your Xamarin forms app to receive the Push notification. Please following the following :
https://learn.microsoft.com/en-us/appcenter/sdk/push/xamarin-forms
Send/Subscribe/UnSubscribe the Push notification:
You can call the App Center Push notification API which will send the push notification to specified Device or to the group of devices.
Please go through the following link to learn more about App Center Push API's:
https://learn.microsoft.com/en-us/appcenter/push/pushapi
Let me know; If you stuck on specific problem.