I was searching for an API like EasyAPNS for Android. EasyAPNS allows to add PUSH Notifications in iOS with minimum codeing required and all tested stuff to reduce development time. I was interested to find similar thing for Android too so I may not need to write the whole backend and service stuff for Android. Have you come across any API so far?
I know how notifications in Android works and how can a service be used to generate notifications. The service in Android must listen for remote requests and as they may arrive, it will add to the notification tray.
Well, Minimoesfuerzo did a plugin that integrates UrbanAirship and PhoneGap Android. That may provide you the functionality you need:
http://minimoesfuerzo.org/2011/06/3/urban-airship-integration-android-phonegap-app/
Related
I wish to be able to push notifications from my own asp.net Web API REST service to be received by an Ionic 2 application, whether or not it is running, perhaps show a notification and then be able to click on this to open the Ionic2 application. I know nothing about Mobile notifications and want to know if I am on the right track.
I see there is an Ionic Native plugin here to enable the app itself to run in background, but going here for more information, there is the following statement...
Store Compliance ‼️
The plugin focuses on enterprise-only distribution and may not compliant with all public store vendors.
This makes me think I will have problem particularly with the apple store.
I then wondered if the other option is to run a separate service (perhaps using Xamarin as it seems to be able to do this) on the Android/iOS devices, send the notifications to this, and then have the service open the application perhaps using the Deep Linking
Alternatively, I found this article on something called PushSharp. I am a little confused with this as it used this library, and also seems to use SignalR (why both - not sure where the SignalR comes into it)
Also, is mentions "Google Cloud Messaging for Android". Even though I am sending notifications from me own server, is this something I use as an "in between", ie my server sends notifications via the "Google Cloud Messaging"?
Am I on the right track here, do I need a separate service, or the Mobile platforms have notifications built in, so I can use this can have this open my perhaps not running application?
Thanks in advance for any pointers here
Can I install 2 Pusk SDK Service in an app (Android and iOS)? we need to migrate from ExactTarget to Parse or UrbanAirship, but managers need time to migrate, so, we want to use ExactTarget for Marketing automation process (already configured) AND use Parse internally for calling API triggers notifications.
if you are working on native android apps then i suggest to use google cloud messaging for sending push notifications,in my experience i use UrbanAirship for Web apps only,using multiple SDK is not good idea because if you are working with one technology/process for notifications then its easy to configure any problem if occurred in future..
There's nothing 'wrong' with using two SDKs to handle push notifications. For iOS, delivery is handled by APNS (Apple), and for Android, delivery is handled by GCM (Google). So, the delivery of the notifications will not change. The SDKs that are provided by the services you listed above are normally used to:
1) Handle the arrival of the notifications
2) Record/manage the audience to which notifications can be sent to
3) Provide analytics for the notifications that were just sent.
The biggest concern/issue that you probably will have will be the handling of your audience. Services such as Urban Airship and Parse, provide the convenience of managing your device information. Without going into too much detail, you have to know WHO you are sending notifications. Depending on which provider you choose, you will need to migrate that device information from old to new. Here's some links that will get you going on that, but let me know if you have any other questions:
Apple:
https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/ApplePushService.html
Google:
https://developers.google.com/cloud-messaging/server-ref
We are developing step by step game and need to send a notification to all players of current game when someone made his turn. We have a REST server that uses jersey + jackson implementation.
We know that it is possible to use Google Cloud Messaging for this purpose, however it doesn't support windows phone platform (we want to support Android, iOS, Windows Phone). Yes, Microsoft has their own server, but it requires to learn API of 2 services. Also, we found that server sent events protocol exists that can help us.
Is it good idea to use SSE (on all mobile platforms) instead of push notifications or there are some better solutions?
Thanks.
Using SSE is a bad usage for your requirement, as it will only work when your app is running, no notifications will be received when your app is closed.
You should use the notification system of each plateform you target (GMC for Andorid, Apple Push Service for ios, etc.)
Each device needs to register to the notification server and then you can send notifications to registered devices.
Since your targetting multiple plateforms, it would be easier to use a third party service that will do the registering and message dispatching to all your targetted plateforms through a simple API.
As suggested by Rahul Mathur, Parse is a known and reliable provider. Other possibilities include AWS SNS, Urban Airship, PushWoosh, and a lot more !
I suggest you to use parse as it is easy to implement
For android : https://parse.com/tutorials/android-push-notifications
For iOS : https://parse.com/tutorials/ios-push-notifications
You can also customise your php script on parse console.
Assuming my application is based on HTML5/Jquery mobile (Cross platform web app),
How is it possible to create push notifications for Android/iOS ?
Also, does it include developing different "notifications engine" for
each device? (in other words: Do I need to implement two different background processes for each type of device?)
I'd be really glad to get a full answer/references to my conflict.
I have searched for the forum's previous answers but it seems like the threads are quite old so i preferred opening my own question.
GCM is the Google Cloud Messaging Service for Android, while APNS is the push notification service for iOS, both of them are very similar.
If you're already using html5 and jQuery, I would suggest you to use Phonegap which is a framework that allows you to create mobile apps using only html5 css3 javascript(jQuery) it was very useful for me and they've a push notifications plugin which works for Android and iOS.
Be sure to check Phonegap and Phonegap Build (which is a very interesting service)
Regards
1)
Apple has Apple Push Notification Service (APNS) to push out alerts.
More details at
https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/ApplePushService.html.
Google offers a comparable Google Cloud Messaging Service (GCM).
Details at http://developer.android.com/google/gcm/index.html. UPDATE: GCM does support iOS as a client, so can be used for both Android and iOS, with some work. (Technically, it will be an APNS when it reaches the iOS device.)
2) Not sure I understand what you mean by "background processes", If you are referring to backend service/originator of notifications,then the service needs to be able to communicate i with both the Apple APNS or Google CDM using the interfaces supported by these services and send out alerts in appropriate format. If you are looking for a third party service for sending out push notifications, you can checkout UrbanAirship or Parse which can send notifications to either platform.
I have my Titanium Application for Android and now I want to implement Push Notification for Android in Titanium. I have my back-end service which get all notifications for me but I don't have knowledge about Google Cloud Messaging and what are the relation between them (i.e Push Notification and GCM). Please Provide me guidelines and way how to do it. Thanks in Advance!
Doing push notifications with Titanium is probably going to require a 3rd party service, most, if not all, are subscription fee based.
I've been looking to this myself for some planned future projects using either Titanium or Apache Cordova(Phone Gap).
The most popular recommendation I've been getting is Urban Airship It looks like they have some pretty nice features, but I haven't looked much further into it than that.
For Titanium, you can use this module (Open Source): https://github.com/liccowee/Google-Cloud-Messaging--Titanium-.
In examples, you see how to implement it in your app.