I am unable to use push notification service API in the website. Can someone help me with the complete process?
Related
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
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.
I need to configure push notifications for an Ionic 2 application for android devices.
I read here that in order to do that you need to login to Firebase console, create a project and so on...
So my question is, do I really need to log into Firebase to do this? I'm not using firebase in my app, so I don´t get why I need to create a project to get a SERVER_ID and SERVER_KEY. What if I delete that project in Firebase afterwards, then my push notifications will stop working?
Thanks
Yes, you do need an account to use Firebase Cloud Messaging because you'll need a key to send pushs.
You need the key to use device-to-device push via HTTP and you need a project to send notifications to a group or topics.
I don't think that there's a way to use push without creating an account in any service.
You don't need a Firebase account.
You can use azure notifications hub or amazon aws or google cloud service, ionic cloud, etc.
Any cloud services that provides a notification hub which is basically a server for receiving and redistributing to the registered parties to the specific platforms.
Please note that some of these are specifically mobile oriented meaning you wont have to write any server side code and others aren't.
I'm developing android and iOS application using cordova ionic and I include one signal notification as a feature in my app.
I register onesignal and test to push notification. It's work well.
Now I want to send onesignal notification from asp.net web api to perticular user.
I have tried this url but I failed. Also i am unable to get device token in my app.
Thank you.
You need to call window.plugins.OneSignal.getIds and store ids.userId from the callback.
You can then make a POST call to the https://onesignal.com/api/v1/notifications endpoint from your ASP.NET code setting the include_player_ids to the userId retrieved from your app.
There is an ASP.NET example towards the bottom of the endpoint documentation page listed below.
https://documentation.onesignal.com/reference#create-notification
I want to implement a push notification service. The idea is to use the GCM Service. Is it possible to read the notifications both via web app (the app is written in php using laravel) and via mobile app for the authenticated users using the same technology?
I think it is possible, I also see this tutorial that can help you to achieve that. It also use PHP as a sample, so it seems like your work will be easier:)
It explains here the basic steps that you need to achieve push notification. It has a sample code and a screenshot to make you understand more the content of this tutorial.
In developing this application, it involves two parts, a GCM Server Application that create Web application using Php to send message to User via GCM Cloud server and GCM Client Application that create Android application which receive messages sent from GCM Server Web App.
For more information you can also check this links:
Implementing Push Messaging for Chrome
How to send push notification to web browser?