I have WebView android app for our website, running on wordpress core.
On the website we are using social network extension, so users can send private messages, reply to the comments and so on. For that we have on website a notification panel.
Now the task:
Is it possible to use the notifications on the website and send it somehow to the android app as push notification?
What is the best way to do it? Or is there a developer that can help me with this?
You have to add the FCM message sending function to the wordpress server or your server.
After that, you need to add the FCM receiving part in Android and send the device_id to the server so that the FCM message can be received.
Related
I developed app for my Wordpress site and i integrated push notifications in it using FCM, when i send notification manually from firebase console, notification is received successfully but i don't know how to connect it with wordpress so that when new post is published, then notification is automatically sent.
Thanks in advance.
I am begginer
You can install this WordPress plugin to get the work done
https://github.com/dream-space/wp-fcm/
It's very easy to configure this plugin!
I have a net core Back-End (3.1).
I created a page in which admin should enter title and description and pick a user to send a notification.
I want to send notification payload to Apple devices and not to an android device similar to a custom notification.
there is a platform-specific notification in Firebase Cloud Messaging documentation .
However, I was not able to implement it .
If you wanna only send the notification to Apple devices only. Then APNS Push notification push gateway will be suitable for you. See here
Certainly, FCM can also deal with this issue. You need to add the ApnsConfig to your request and send it to the FCM server.
If you cannot implement it, you need to mention more detail about your issue (trace log, exception info, etc.)
I am new to azure and firstly i want to send push notification by azure portal, so i was reading this tutorial https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-android-push-notification-google-fcm-get-started
i have already a blank android app and i want to send push notification by that blank app so can i do it with that or i have to make a new blank app which should be configured with azure notification hub as described in above links point(Connect your app to the notification hub) after connecting with FCM ?
Please help me
It IS possible, but NOT recommended as your referenced documentation said as below.
This example of sending notifications from the client app is provided for learning purposes only. Since this will require the DefaultFullSharedAccessSignature to be present on the client app, it exposes your notification hub to the risk that a user may gain access to send unauthorized notifications to your clients.
If you are making your app for public purpose, bad user could get security key of push notification and could send spam messages. So, to address this issue, you need to create Azure WebApp to register and send push message.
I'm using AWS SNS to push messages to Android devices. Is there a way to send text message from a web application preferably Django to an Android device ? I tried using the boto library but there isn't an example in the documentation for pushing a message to a device. Can someone please point me in the right direction or help me figure out how to do this.
SNS sends email or push messages to phones. It does not send SMS.
You'll need to use a service like Twilio for that.
Hi I want to send notifications from android app to facebook. To send facebook notification i got this link : https://developers.facebook.com/docs/concepts/notifications/ But i am not sure how to use this link in android to send notification.
Please can any body guide me for this?
You can't send notifications from an Android app. Tried to POST using the link you provided and got the following error:
{"error":{"message":"(#200) Only web canvas apps can send app notifications","type":"OAuthException","code":200}}
Maybe you could use this one:
https://developers.facebook.com/docs/android/send-requests/
We're not allowed to send notifications from Android app using the notifications API, nor sending App Requests from non game app using Requests APIs. I'm interested too to know how can we notify the user from non-game-android app.