Is there a possibility to review the sent notifications?
And also an overview about which endpoints received the notifications.
All about notification feature you can find in the documentation.
There is no API to view sent notifications. You can try to realize some logic with confirmation response on endpoint side based on received notifications.
Related
I'm using FCM FirebaseMessaging to send push notifications to user of my app.
Is there a way to get all notifications sent to one single user or I have to store them in Firestore db?
It's not entirely clear to me what you mean by "get all notifications sent to one single user". But if you're trying to get a history of all messages previously sent to a user via the FCM API, that's not possible. FCM doesn't remember anything about messages previously sent. You have to keep that record yourself, if that's what you need.
I have an Azure Web Service which is using an Azure Notification Hub to push data notifications using FCM via Firebase to a Xamarin Android App. Initially the app is getting a token which is posted to the web service. The web service then sends it with the data to the notification hub which is sending it to Firebase. The response back from the hub is indicating a successful transfer it seems from the notification properties and the ReqID property. But the notification is not reaching the app. Is there a way to see individual notifications' status on the Firebase site? Currently I don't see anything under the "Cloud" report for Data.
[
Thanks for asking question! One of the notification failure point could be when sending it from FCM to user device. To confirm this, you may try getting a delivery receipt from FCM.
You may refer to this article Receive delivery receipts. It says for Android and Chrome client apps, you can get delivery receipts which can be sent from FCM to your app server. To enable this feature, the message your app server sends to FCM must include the field delivery_receipt_requested. When this field is set to true, FCM sends a delivery receipt when a device confirms that it received a particular message. Also check for firewall on the user's network.
I want to send message from Amazon Simple Notification Service(SNS) to the http endpoint. There is no proper solid documentation on how to do that. Though I had read Amazon SNS documentation still I could not get entire picture.
Can anyone give me simple example on how Amazon SNS and http endpoint work together?
There good documentation for what you asking: http://docs.aws.amazon.com/sns/latest/dg/sns-dg.pdf
Look at the page #147, it describes what steps you need to do for sending messages to HTTP(s) endpoint.
Also check this example which describes how to create topic, subscribe endpoint, confirm subscription and start to receive notification messages from SNS (uses Java SDK): https://github.com/mfine/AmazonSNSExample
General picture is:
On the publisher side:
create topic and subscribe some endpoint to receive messages. After subscribing endpoint to topic, the endpoint will receive SubscriptionConfirmation message.
start publish to topic so your endpoints will receive notification messages
On the subscriber side (your endpoint should be able to handle at least confirm subscription request and notification messages):
confirm subscription: make HTTP GET request to the "SubscribeURL" URL which comes inside the body of the confirm subscription request. Before you confirm subscription your endpoint will not receive any messages from SNS
receive notification messages and do what you want
I am using mobilefirst push notification service in my application. I am using rest api to send the message to GCM.
GCM receives and send it back to the mobile device too but in the device I am able to see the push message in the log, but not in alert which is the event source I have registered in my client device.
You have received a notification intended for Push.ALL tag. This is a broadcast notification and will not appear within the callback you registered with your Eventsource subscription.
You should use the onMessage callback API, as described in KnowledgeCenter and GettingStarted.
We are planning using Amazon SNS to send push notification to our users. I am wondering what happens if I do the following programmatically (not important but with PHP SDK)
Create a topic on the fly
Subscribe 10000000 users
Send a push notification to this topic
Delete the topic immediately after sending the push notification
Will all subscribers receive the push notification?
Don't do this. Nothing in the docs say that SNS snapshots the topic when you publish, so don't rely on that behavior even if it seems to work.