I've got a server written in Scala/Java. I want to make an app in PhoneGap/Cordova which uses push notifications.
I would prefer to have one codebase for both Android and iOS. Is there a way to do universal push notifications for both Android and iOS.
Is using Parse Push REST API for that purpose a good decision, cosidering that I've already got my own server?
If it sounds opinion based, excuse me. I'm new in this topic, and just want to decrease the redundancy as much as possible.
Not sure about Parse, but clientside if you are using Cordova then the PhoneGap Push Plugin should be what you are looking for, it's available for iOS, Android, Windows and others and let's you handle the Push Notifications in Javascript.
I don't know how you could solve this platform independent on the server side, though.
Related
I'm new to the concept of push notifications and sending them from Amazons SNS service so apologies if this is a stupid question.
For our current app we are wanting to target both android and iOS devices. We've successfully created a platform application in SNS that uses firebase to target android devices.
We initial thought that we could use the same platform application for iOS as firebase supports pushing to iOS devices. However, the AWS documentation indicates that you have to create a separate platform application which uses APSN to push to iOS devices.
Is it the correct approach to have multiple SNS platform applications for each device operating system you're trying to target?
Any advice would be appreciated, thanks David.
I thought I’d provide the outcome we came to just in case anyone might find it useful. After looking into firebase it seemed an obvious choice for it to replace SNS. The notification side of firebase is free and much easier to integrate into our app as opposed to SNS where it seems you have to worry about multiple notification providers for each mobile platform. The documentation around firebase is a lot better than what is available for SNS.
Why is it so damn hard to find a reliable solution for sending push notifications on your own? I need a solid solution for sending close-to-real-time notifications to separate Android devices using WCF.
I should not have to rely on 3rd party notification services like Google's FCM. I should be able to have a notification pushed to a user's device without their application running in the foreground and have that application open when the user selects that notification. Even when the phone reboots, the phone should still be able to process your push notifications without needing to start your app first.
Have any of you Pros accomplished this yet? If so, show us the code because there are way too many half-baked solutions out there that are either too old or never actually worked.
I'm using Cordova through Intel's XDK, but I don't care what environment you're using, just show us something that actually works.
Thanks
Do not use Cordova cross platform solutions for this. Either use native IDEs per platform or use cross platform solutions that translate a common code base into native code per platform.
I have a rails application and I would like to send notifications to users on their mobile. I only need simple text notifications, but I can't afford to write an application for any operating system.
Is there any simple way to do that? (gem, third-party services)
Boxcar might be what you are looking for? http://boxcar.io/help/api/providers
Web Notifications might be a solution in the future.
I created a gem in order to create a central push notifications, it supports iOS and Android at the moment, but i will add more platforms.
Maybe this will help you, its a single gem that makes iOS an Android at the moment, and its fairly easy to implement
here is the link: https://github.com/NicosKaralis/pushmeup
Anyone tried out Titanium c2dm for android?I am using Titanium version 1.8.1 And i want to do small Push notification Using C2DM server.If anyone Implemented help me!Thank U
#Sugan.s Titanium has direct access to Urban Airship which supports push notifications to Android, Blackberry, and iOS. It's the most recommended, and easiest approach to Push notifications within Ti.
As suggested already, Parse is another great resource.
I have worked some in Android and got to do some small apps in android. Now I am newly working in titanium. I am stuck on how to do push notification in titanium for android? The problem is even a little worse. I need to do push notification for all versions of android. As google is providing c2dm but it is only for v2.2 and above. I got to know something about urban airship but not sure that it could be used in titanium. Also to use urban airship we need to install a seperate app which is not fully recommended. Any support will be highly welcomed. Please response as quickly as possible. Thanks in advance.
Rai,
It's not good form to ask, essentially, the same question in multiple ways. You need to read up on the titanium API, as I answered in How to write android code in titanium