I used AWS SNS to send notification on multiple devices, in AWS SNS i created some Topics and Subscribe Endpoint ARN (user device in AWS) to Topic and Publish notification on Topic to send notification to all subscribers by PHP.
Now i am switching to Azure, and want to implement same application in PHP, after some research i find out this link:
https://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-php-how-to-use-topics-subscriptions
Is there any way to implement my requirement without using Service Bus. Also dosen't understand Why Topic and Subscription are in Service Bus and unable to use it directly. Or is there some reason to use it via Service Bus.
I am not familiar with AWS SNS, but I think what you're looking for is Notification Hubs on Azure.
Azure Notification Hubs provide an easy-to-use, multi-platform,
scaled-out push engine. With a single cross-platform API call, you can
easily send targeted and personalized push notifications to any mobile
platform from any cloud or on-premises backend.
You can check out the official documentation on how to use Notification Hubs from PHP, or refer to this sample implementation of a REST wrapper for sending notifications using the REST APIs of Notification Hubs from a PHP back-end.
Related
We are using Firebase Cloud Messaging for iOS and Android. Just wondering if its possible to create a web application that has a form whereby we can send push notifications to both platforms at once - assume we know the topics to send to. (maybe using POST/cURL requests)
yes you can send the push notification in some of the web browsers using firebase integrations (web push notifications)
please go through the following link
https://developers.google.com/web/fundamentals/push-notifications/
https://www.w3.org/TR/push-api/
https://firebase.google.com/docs/cloud-messaging/js/client
I'm new to android and php, I've been watching tutorials and implementing it. I'm making an app in which i want to send push notifications, I've come across many tutorials but some of them were only implemented on a single device where in my case i want to send it to all my app users(students who will be using my app). If there's any way to deliver messages via notification, I've made an app and in Live section, I want to send push notification inside an activity. How do i do it?
I've integrated firebase in my app but it doesn't support multiline messsage's. I'm fairly new to php, If there's any tutorial I could implement please suggest.
You can use Google Cloud Messaging as well as Fire base Cloud messaging
i am sure to help you this link for multiple devices
Google Cloud Messaging
http://www.androidhive.info/2012/10/android-push-notifications-using-google-cloud-messaging-gcm-php-and-mysql/
Firebase Cloud Messaging
http://www.androidhive.info/2016/06/android-firebase-integrate-analytics/
I am new with IBM Bluemix and I want to add PHP code for sending push notifications on both iOS and Android devices.
My app is built with the Xamarin platform for both type of mobile devices.
The backend is created in PHP with the Codeigneter framework.
I see in the Dashboard there is direct user interface for sending a push in Bluemix, but I want to send a Push on run-time for example: some user sending a friend request and the other user automatically receiving a push notification.
There is not a PHP SDK library, but you could accomplish your behavior by checking out the Push Notifications Swagger documentation:
https://mobile.ng.bluemix.net/imfpushrestapidocs/
First you would register your mobile app so it receives push notifications (using the Android or iOS Client SDKs available here). Then you could have your backend send the push notification to a specific device on the event that a friend request is sent by using the REST API (as outlined in the Swagger docs).
I'm trying to get push notification for all the three mobile platform(Android, iOS, Windows phone). I tried looking for many push notification service. like pushwoosh etc... But all have sdk for mobile. Are there any open source that I can use in my server so that it pushed notification for all three platforms. I'm new to this concept. Please suggest. Thanks.
There is a project called pushd (https://github.com/rs/pushd) that you might be interested in. It supports GCM (Google Cloud Messaging) for Android and APNS (Apple Push Notification Service) and also Microsoft's push service.
pushd is a nodejs project that exposes an easy to use JSON/http interface. There is fantastic debugging/logging options.
EDIT: Microsoft has a service (Notification Hubs) that works on all devices which is free for 500 devices. Facebook also recently bought Parse.com which provide a similar service, although not free.
I am developing an application and in that application I need to implement push notification.
Can anyone suggest me how to do develop the server in PHP (Json, Zend Framework if possible) and provide me a good tutorial on push notification?
"Android Cloud to Device Messaging (C2DM) is deprecated". Its new version is Google Cloud Messaging (GCM). There is plenty of information and source code examples on developer.android.com.
Here is another useful post for Android Push Notifications.
Whenever you want to send message to an android device your Server contacts -> Google Server Contacts -> android device .
So you integrate your ZF application with google c2d api . Here you can find one such implementation of this type of integration with ZF
http://blog.digitalstruct.com/2010/11/21/android-c2dm-with-php-and-zend-framework/