Can Amazon SNS push notifications directly to mobile devices? - amazon-sns

The tutorial for Windows Phone 7 push notifications says that to implement Push Notifications, you need to call Microsoft Push Notification service which manages the sending of the notification to WP7 devices.
Does that imply that to send an AMZ SNS message, I need to create an intermediary web service that routes the SNS message to Microsoft Push Notification service?
What are the options for Android and iOS devices?

Amazon has API libraries for both Android an IOS, so you can implement them directly.
See:
http://aws.amazon.com/sdkforandroid/
http://aws.amazon.com/sdkforios/
There is also a windows/.net library that you might be able to use directly inside a windows phone.
http://aws.amazon.com/net/
I don't know anything about the windows phone platform and your on your own for that one.

Android has cloud-to-device-messaging (c2dm), which is a labs project by google. At this time it is free. I don't know about wp7 or. I believe iOS has their own system as well.

Microsoft forked AWS' .NET SDK to create a version for WP7.
https://github.com/Microsoft-Interop/AWS-SDK-for-WP

Related

How to subscribe to events over http in firebase messaging service?

As far as I understand for different mobile devices, firebase messaging service uses different protocols like web push, ans, google play services. But is there a way to notify non mobile device using this service?
Delivery of messages over Firebase Cloud Messaging is only supported to the SDKs listed in the documentation here, currently iOS, Android and Web. There is no documentation for the wire protocol that is used to deliver messages to these clients.
Also see these previous questions asking for delivery to Windows, macOS, and Linux:
How to receive push notifications from Firebase cloud messaging on Windows
Is it possible to develop flutter windows desktop with fcm push notification?
integration firebase messaging with mac os apps ? (Notifications)
Can we use FireBase cloud Messaging to send or receive messages or both ways using C++ on Windows Desktop/Console or Linux console appliction?

xamarin.forms push notifications server side

I implemented the .p12 Certificate for APN(Apple Push Notification) to my Windows Server.
Now I have an xamarin.forms App where i downloaded the Plugin.PushNotification.
I implemented in AppDelegate.cs RegisteredForRemoteNotifications, FailedToRegisterForRemoteNotifications and DidReceiveRemoteNotification Methods.
My question is, which Project (MVC, ASMX..) should I create on Server Side to send notifications to the Users who installed the App.
Furthermore I have an Portal programmed which is on this Server too. In this Portal I can send an message to the App too. But which Service do i Need ?
Thanks
No programming required at all :) Use https://onesignal.com for free, unlimited apps & notifications for iOS/Android + Web Push
In my WebApp I used PushSharp to send Notifications to different devices.
In my App I use Plugin.PushNotification and it works like a charm.
using push sharp for sending push notifications through FCM

Which push notification method to use for both iOS and android

i need to add push notifications to the "App" the "App" is cross platform that is Android and iOS , im doing to server side its not a problem , but what is my problem is i don't know which services to use .
do i use the native Apple Push Notification Service and in Android i use the Cloud Messaging ( or other native Android push service )
or i use the google : Cloud Messaging for both iOS and android ?
As per my opinion you should use Apple Push service for iOS and GCM for android.
You have 4 choices:
Use APNS for iOS, and GCM for Android.
Use GCM for both Android and iOS.
Use 3rd party sevices like parse.com, urbanairship, ... for all platforms (iOS, Android, windows, Unity,...)
Write the server-side yourself to support all platforms.
Reviews
Using APNS and GCM may be best by performance, as there is no other 3rd party there, but you have to build a server which can support both services. You wouldn't be paid in this choice.
Using GCM for both sides is another free choice choice in which you have to do implement only connection with GCM.
Using other 3rd party services like parse.com is very easy and can done within minutes, but you may be charged if you have a lot of transactions. Although by using parse.com you have more coverage on android devices. (e.g. GCM doesn't support android devices with no google play sevices APK installed)
Writing a server-side is very hard and time consuming, so do that if you really have no other choices. (like you want to run something like Whatsapp or Viber)
Now you should choose.

Phonegap notification options that work for both for iOS and Android

I am building mobile apps for iOS and Android using PhoneGap Build. I would like to send push notifications to both types of device using the same server-side process. Is this possible?
Apple's certification process to enable push notifications is painful, much more so than anything available for Android. Do I have to use it?
GCM (Google Cloud Messaging) says it supports both operating systems, but the more I read about it - with respect to Phonegap - the less I see iOS mentioned! And sadly the GCM/Phonegap plugin doesn't support subscribing to a topic, which is a way of sending one message out to all devices in one go via a 'global' topic.
UrbanAirship and PushWhoosh seem to integrate with Phonegap, but I am forced to use their website to create my messages. GCM looks more attractive in this respect, because I can get our own ASP.NET server to talk to GCM via HTTP and thus control messages from our databases.
Main question: Are there any options for a single server-side option which can send push notifications to both iOS and Android via a single Phonegap plugin? (Ideally I would control messages from my own server, where one message can go to all Android/iOS devices in one go, and avoid as many Apple certificates as possible.~)

Can use Google's Cloud Messaging for iOS in a hybrid app?

I am planning to build a "hybrid app" using PhoneGap which needs to have a iOS push notification engine.
And I want to use Google Cloud Messaging for sending push notifications to the iOS (I have used this for sending notifications to Android).
My questions here are:
Can I use Google Cloud Messaging for iOS in an hybrid app (using PhoneGap's https://github.com/phonegap-build/PushPlugin)?
Are there any changes that I may have to do while using the above plugin?
I have used the above PhoneGap plugin to receive notifications from GCM and APNS separately but this time I want to use the GCM for both iOS and Android.
Any help will be appreciated.
I also have used GCM and APNS separately for send push notifications to Android and iOs devices independently.
For all the documentation I've read, GCM for iOs devices is an approach of the APNS service but using the same structure that GCM is using for Android devices. I think that if you have used the APNService, you have found all the hard steps (certificates, using strictly a Mac for some things, ...) so, answering to your questions:
Yes, you can use the GCM for iOs with Phonegap plugin because GCM Server sends the data that PhoneGap's plugin is ready to receive (as you can see in the GCM Server Reference there are some data specific for APNS (nothing that you don't know if you have worked with APNS)).
If you are preparing a native app for iOs, you should see the GCM iOs Client documentation because you will have to use the iOs API but it's not your problem.
I don't expect that you have to do changes while using PhoneGap's plugin. You will only have to use PhoneGap's implementation for iOs devices and get ready to receive push notifications (but if you have some troubles, please, I will be pleased to know them).
Good luck!

Resources