As the title says, is it possible to send push notifications to Google Play Store without the help of Azure Mobile Services?
Currently, I have an Azure VM and I have built my own custom implementations for sending messages to Google Play Store for push notifications. But I'm having trouble in getting the push notifications sent properly.
I can send the push notifications just fine using a non-Azure server though. Are there any specific configurations that I have to prepare to enable Azure VM to properly send push notifications?
I'm using Microsoft's WebAPI and publish the server project directly from Visual Studio using the Publish Wizard.
The expired push token is the culprit.
Related
I want to send push notification using firebase from my admin panel web page to the android phones registered in firebase database. I have tried sending notifications using PHP and mySQL but want to use firebase only to send notification. I have also tried sending notification from firebase console to android devices. But I want to use the firebase API to send notification from web to android devices.
Firebase Notification is a panel in the Firebase Console, where you can send messages to specific devices, device groups, topics and audiences. It cannot send messages to Web users (yet). There is no public API for Firebase Notifications.
There is an API for Firebase Cloud Messaging, on top of which Notifications is built. FCM support most ways of sending messages: specific devices, device groups and topics. It also supports sending to all platforms: iOS, Android and Web.
But sending messages to devices through FCM always requires that you specify the FCM Server Key. As its name implies, this key should only be used on trusted processes. The most common way to run a trusted process is to run it on your app server (for example using PHP code that runs on a hosted server). But you can also run it on your own machine. Firebase recently released Cloud Functions for Firebase, which allows you to run JavaScript functions on Google's hardware. Sending FCM messages is one of the documented use-cases for Cloud Functions for Firebase.
I want to implement GCM communication in order to create push notifications, from my application server to all the devices that my app is installed via GOOGLE's servers.
I have found a library that helps me do this the Parse library and using the dashboard given I've sent a push notification from server to device and vice-versa.
The thing is that I want to be able to use the push notification (server side) from my website and not having to log in in Parse's. I'm pretty clueless about this, So I'd appreciate any direction and suggestion given
You may start with these tutorial
Using asp.net
Redth/PushSharp - A server-side library for sending Push Notifications to iOS (iPhone/iPad APNS), Android (C2DM and GCM - Google Cloud Message), Windows Phone, Windows 8, Amazon, Blackberry, and (soon) FirefoxOS devices!
Push Messages to GCM server using visual c#.net application (server side).
And using PHP and MySQL
Android Push Notifications using Google Cloud Messaging (GCM), PHP and MySQL
And using Parse API
if you want to send pushnotification from parse API (not dashboard) then see
Push Notification Guide
There are docs in Parse for sending push notification from Ios,Android,.net,Javascript,php and REST services, use one them which is appropriate for you.
https://parse.com/docs/push_guide#top/JavaScript
I'm a total newbie in Android programming and I was wondering if it's possible to push a message or notification to my app from a server or computer and displays the message through a toast or an Alert Dialogue?
Yes you can start with Google Cloud Messaging for Android
For more info see http://developer.android.com/google/gcm/index.html
and may start with these tutorial
Using PHP and MySQL
Android Push Notifications using Google Cloud Messaging (GCM), PHP and MySQL
and using asp.net
Google Cloud Messaging for Android.
Push Messages to GCM server using visual c#.net application (server side).
You can also use a free service like www.AskingPoint.com (full disclosure in the Founder) to send Push or In-App Messages to your Apps. The Advantage of something like AskingPoint is that you can more easily target users using rules and also quickly and easily localize the message into other languages. Hope that helps. Our Android SDK Beta will be out next week.
I read about Google Cloud Messaging at http://developer.android.com/google/gcm/gcm.html.
It supports Third Party Application server to Android application push notification.
I am wondering whether it is possible to implement the same thing push/receive notification from an Android app on one mobile to the same Android app on another mobile using Google Cloud Messaging.
If not, is there any other free service available similar to Google Cloud Messaging?
An Android device can send a GCM message to another Android device. All it needs is the API Key (of the Google API Project ID that the app uses to register to GCM) an the Registration ID of the other device. Using these parameters it can send a GCM message to another device via an HTTP request.
Usually applications that use GCM require a 3rd party server in order to store the Registration IDs of all registered devices. If your app has a different way to let devices share their Registration IDs with each other without requiring a server, you don't need the server.
As far as I'm aware, there has to be a server in the middle to send the push notifications (Android -> Personal Server -> GCM Server -> Android)
So the Android device sending the notification would send some data to a script on the server (using a HTTP GET/POST), and that script would then send the push notifications to all the devices that you wanted it to
Following the example Code from google (GCM Client Example), you can build an app to get a registration ID for your device, but sending messages without a server wouldn't work in my opinion. I didn't tried by now, but what about using the Google Backend Starter, or (what I tried) using a Backend as a Service Provider like apiOmat if you can't afford or don't want to set up a server.
We are trying to send the notification to an Android App about any event generated in salesfoece(Like creating an account), using the Google's GCM(Google Cloud Messaging).
Here is the link that tell about the GCM ,
http://developer.android.com/guide/google/gcm/gs.html#android-app
I m using Eclipse for creating Android App and my GCM server gave me the SenderID and API key.
But the problem is , How can I use Salesforce as my 3rd Party Application,from where the notifications are generated.
Starting with the Spring 14 release, Salesforce supports Google ( GCM ) and Apple ( APNS ) mobile push notifications via the Connected Apps framework. Please check the Mobile Push Notifications Tip Sheet on Developer Force for more information: http://www2.developerforce.com/en/mobile/resources
You will likely need to monitor the API for events from salesforce by polling; otherwise you might be able to get events sent to a specific URL. I'm not positive that you can specifically send a push notification from salesforce itself.
However, with your application you should be able to build in some middleware to handle that.