view push notifications in GCM - push-notification

Hello Experts,
I am developing an android application for an SAP mobile project. I am using PHP server-side scripting to send push notifications. The notifications are not seen on my GCM account under the project. Is it not possible to view them in GCM account or am I looking at some wrong place ? please help me with this.
Regards.

If you are trying to view GCM stats from the API Console, you won't see anything, since they are not enabled. You must you the developer console.
To view statistics and any error messages for your GCM applications:
- Go to the Developer Console.
- Login with your developer account.
You will see a page that has a list of all of your apps.
- Click on the "statistics" link next to the app for which you want to view GCM
stats. Now you are on the statistics page.
- Go to the drop-down menu and select the GCM metric you want to view.
Note: Stats on the Google API Console are not enabled for GCM. You
must use the Developer Console.
(Source)

Related

Why Google Cloud Console give No result found for Android Device Verification Api

I follow these steps in google cloud console :-
Google Cloud Console-> Select Our project -> Select API & Services -> Select Enable API & Services -> Search Android Device Verification API -> it gives "No Result Found"
why it gives this message while I want to enable Android Device Verification API feature. By Default Android Device Verification API does not show in API List on page Enable API & Services page and i want to include this feature in our project.
For another project when I search "Android Device Verification API" with above process it gives following error:-
There was an error while loading /apis/library/androidcheck.googleapis.com?project=chatme-342307. Please try again.
Request ID: 9929714032143206958
Kindly support above two problems.
First of all thanks for all viewing my question.
My problem has solved but i do not know it is exact answer or not.
I just remove app from project setting of my app in Firebase console then again create app in project setting and add with SHA1 and SHA256 then I search Android Device Verification it show in Result

Read Notification via web

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?

Does IBM BlueMix's Push Notifications service provide a console for authoring messages?

Not finding anything here:
https://console.ng.bluemix.net/docs/services/mobilepush/index.html
I'm looking for a web console for sending messages to apps - similar to what is offered by UrbanAirship and Parse (rest its soul).
Yes the IBM Push Notification service has a Push Dashboard where you can author messages, customize the notification payload, specify the target audience and send notifications to both iOS and Android in both Production and Sandbox modes.
Here's a screenshot of the Push Dashboard:
The docs go into it a bit here: https://console.ng.bluemix.net/docs/services/mobilepush/enablepush_ios.html#t_push_send
To access it you'll just need to create a Bluemix application using the MobileFirst Services Starter Boilerplate, and then navigate to the IBM Push Notifications instance from your application dashboard at which point you will be prompted to provide your .p12 certificate and/or GCM credentials.

IBM Worklight- Push Notifications to only Subscribed users

I need to know in worklight how can we send Push Notifications to only Subscribed User?
Please, don't give me reference link of IBM Worklight Console & Administration kind of link. If anyone can provide me exact code or how to do that, I would be pleased.
Did you look at the Event Source-based push notification tutorial and sample application? I do believe it does exactly that.
Learn about push notifications:
Overview: https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-1/foundation/notifications/push-notifications-overview/
Event source: https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-1/foundation/notifications/push-notifications-overview/#pnext_collapsible_1
Then scroll to the bottom of the page and select the desired environment and review the code and attached sample application.

Can I find out if an Android iOS or Windows Phone 8 push notification was delivered?

Can you interrogate the Apple (APNS), Google (GCM) or Windows Phone push notification servers after the fact to find if a notification was delivered?
I know that when a server initially sends the push notification there is a response to say whether the message was processed (but this doesn't mean delivered) or rejected by the notification server. But is there any way to subsequently find out via Android, iOS or Windows Phone 8 if the message was delivered?
Ideally I'd like to achieve this just by interrogating the vendor's push notification server, worst case I'm assuming I'd have to put something in my app to register that a given notification arrived and somehow transmit this success status back to my server.
APNS, GCM and MPNs don't offer this functionality.
You'll have to support it yourself, by sending an acknowledgment from the app to your server whenever a notification reaches your app.
For GCM you can view statistics of deliveries, but nothing for individual deliveries :
Viewing Statistics
To view statistics and any error messages for your GCM applications:
Go to the Developer Console.
Login with your developer account.
You will see a page that has a list of all of your apps.
Click on the "statistics" link next to the app for which you want to view GCM
stats.
Now you are on the statistics page.
Go to the drop-down menu and select the GCM metric you want to view.
Note: Stats on the Google API Console are not enabled for GCM. You
must use the Developer Console.

Resources