Buildfire: PHP API To send notifications - notifications

I am using php api to send push notifications to users using docs provided here
https://sdk.buildfire.com/AWSGatewayPublicAPI/#/push_notifications/post_push_notifications_schedule
Is there a way I can send notification to all devices which has app installed but not logged in?
Thanks,
Chandresh

You don't have access to send a push notification to all devices, the group_id is required.
but you can create a service in your plugin and subscribe the users to your plugin group, this way you can send a PN to all subscribed users.

Related

WhatsApp messaging webhook does not work in production mode

I am trying to create a connection between our WhatsApp Business account and our website where we gather all messages sent to our business on different channels (through our own app, text, WhatsApp, ...).
I've followed this tutorial (https://developers.facebook.com/docs/whatsapp/cloud-api/get-started) and have everything set up: our WhatsApp Business is working correctly, I've added a Meta App and I've set up the webhooks with a connection to my node.js backend.
When I click Test next to the "Messaging" webhook, I receive the message on my node.js backend and website. So I know this side is working as it should.
I've then used the Graph API to subscribe my Meta app to the messages with the business id of the WhatsApp with the correct permissions. When checking the subscribed apps with the {business_id}/subscribed_apps endpoint, I can see my Meta app. So I believe everything is set up correctly.
My Meta app is also set to "production".
However, when I try to send a message with my personal WhatsApp to my business WhatsApp, I receive nothing on the webhook.
I checked the logs on my server and nothing is being received, so I know it's not an issue in my node.js backend.
Is there something else I need to do to make this work? Does the Meta app need to be verified to use the webhook in production? If so, how can I do this? The guide for verification says I need a platform and login insctructions, but the Meta app is really only a webhook without an interface.
Thanks in advance.

Hpw to do In app notification from Backend [duplicate]

This question already has an answer here:
How to send In-APP Notification in Firebase using Python SDK for Android | iOS
(1 answer)
Closed 4 months ago.
Is it possible to send in-app notification from spring boot app?
Based on the docs and sdk firebase-admin I could send push notifications. But for in app messaging I am not sure that will help send notifications from backend server
In-app messaging, as its name implies, is for messages that are triggered from (and displayed) inside the app. When the user is not actively using the app, you'll usually instead want to send a notification to Cloud Messaging, with shows up in the notification panel.
There is no direct way to trigger In-app messaging from your own server, but since the triggers are based on Analytics events - you could send a message from your server to the device (for example as a data message through FCM) and then use that in the app as a signal to log a certain analytics event that then triggers In-app messaging.
Also see:
Firebase In-app messaging send message whenever we need option?
How to send In-APP Notification in Firebase using Python SDK for Android | iOS

Does GCM support notifications over SMS

I'm working on a project that respond to users by sending SMS for their request.
Right now I use telerivet for forwarding the SMS to my back end.
I want to know whether I can use GCM to send SMS notification.
Just to add to what #Nilesh already said, you can actually check if a certain app would provide SMS services. Simply look into the uses-permissions in its manifest.
As you can see in the required components of the GCM manifest, it does not require SEND_SMS or RECEIVE_SMS permissions, which you would have needed to support sending or receiving SMS, respectively.

Android App push notification with AWS (DyanmoDB) and GCM

I have android app like twitter. I want a push notification on User1 app when User2 follows User1.
I have AWS (dynamodb) as backend and integrated with GCM. I am able to publish message from AWS sns console manually also. But i want norification to be sent automatically when someone follows other guy. Right now my app directly talks with DynamoDB there is no server in between.
I want to know to publish notification programatically should i write server where i should make a call to update DynamoDB (instead of directly updating it) and publish message to GCM. OR User1's app itself should publish a message for User2 ?
I need to know very urgently.. I could not find any explanation of that sort anywhere.
Thanks in advance.
You should implement a backend server and your app only communicates with your server.
Your app requests to your server to send a message to another user, and the server is responsible to update in the DynamoDB and tell SNS to send a push.
Hope it helps.

Push Notification on google docs doc update

I have no experience with push notifications, but I have been working with iOS for a while. How do I send a push notification to a user (i.e. a little red '1' in the app icon like mail or messages) when a google docs document has been updated? Is there even a way?
You can do this on spreadsheets, but it will require some setup for each person who uses your app.
Follow these instructions to get notifications from Google when
a spreadsheet is modified.
Create a server that will save your e-mail username and password and notice when Google e-mails you a notification of a new
modification.
Set up your server to interact with Apple's Push Notification Service (here's some info)
Apple: Local and Push Notification Programming Guide
Apple: Troubleshooting Push Notifications
Mark Aufflick: Introduction to Apple Push Notification Service
It's complicated, but it could make a killer app. There's also a GMail API you could use to get access to the user's inbox feed.