Push notification in android using deacon - android

I want to implement push notifications on my application. I want to push directly from my servers, and thus cant use Google's C2DM or Xtify..
I learnt about the deacon project, but facing problems using it.
Firstly, my complete project is in Windows, and the Meteor server runs only in linux.. is there any work around?

Related

GCM Push notifications with Titanium

Background info:
I need to use GCM push notifications in Titanium project. I tried using https://github.com/morinel/gcmpush module, but it doesn't suffice my needs as I need to show the custom layout notifications. I built the layout for custom notification in my Titanium project - success. But, this module overrides the custom layout notifications and shows it's own.
We are using AWS server where we are sending the notifications.
Issues:
- Receive a push notification from GCM.
- Show the notification in the custom layout that I built.
I have been facing this issue for long. Is there any module/any other way that can help me achieving the solution?
I have tried various modules but did not work. Maybe I have missed anything to try?
Maybe I should connect my AWS server to use Arrow Push notifications? If that can be a solution, how?
Can anybody please enlighten me on this?
Thanks!
One of the most feature rich push notification modules out there, right now, is Ti.Goosh. I recommend using this module.
It allows for a lot of customisation.
Next to that, Appcelerator offers some options to make custom notifications locally. Look at the Docs for more info
This is what I use:
Android client: Ti.Goosh
Android backend: FCM (Firebase Cloud Messaging from Google, this also supports browser notifcations in case you expand your platform once...)
IOS client: Default Appcelerator registration, see docs
IOS backend: Default where you stream the notifications to APNS
Take a look at FCM, GCM is deprecating in the future so it's not worth it implementing it now.

gcm push notifications, progressive webapp

I followed the google documents to create a progressive webapp and I've just implemented push notifications, however whenever I close the app I don't get any notifications.
Other apps like whatsapp seem to be able to send those notifications is there a difference between native notifications and gcm push notifications from a progressive webapp?
There absolutely no difference between the two, the rendering part is the same, it just that native ones are the notifications that comes from a apk generated app and the other one is rendered using google chrome or any web browser that support the functionality.
Beside the service worker with the help of manifest.json file will use the GCM ( Google Cloud Messaging) to send notifications to end users.
I worked and implemented such functionalities before, and I got my notification directly to the browser and my android phone as well, therefore I created a Github repo with nice documentation that simulate just that using Nodejs and simple web interface, please feel free to check I guess it holds what you seek :
Link : https://github.com/houssem-yahiaoui/webpush-notification

pubnub push notification titanium android

I using pubnub chat for android using titanium appcelerator platform, I had just crossed about the push notification to android via pubnub , It provides its own development kit for the chat clients but i tried to use it for android, I couldn't there is existing sample for ios but not for android actually.
Anybody had crossed this issue...let me know how to use this.
Pub nub help link for push notification....
When using PubNub in an Android app (Phonegap or Native), you do not need to use GCM because you can implement a subscribe at boot service that forwards incoming messages to the background app using Intents. See this example for more details:
https://help.pubnub.com/entries/21720011­Can­my­Android­App­Receive­Messages­While­Inactive
That KB article has a link (hard to see in the article) that will lead you to the Subcrib-at-Boot example in the PubNub Andriod github repo here:
https://github.com/pubnub/java/tree/master/android/examples/SubscribeAtBoot­
Android with Phonegap
You need to implement a Phonegap JavaScript/Java bridge which has a bit of work that can be implemented by following our Android Subscribe­-at ­Boot (above) service solution and piece it together.
http://www.tipsfromsiliconvalley.com/2013/07/06/create­a­service­on­android­with­phonegap­ap plication/
Actually it is pretty simple as i thought to create a pubnub notification. We have to simply run background service and in that do the following steps.,
Add background service using this BOOT_COMPLETED Titanium module ,
Before suscribe a new channel inside the background service code. (for eg.: MY_notify_channel),
Next go to your chat screen , Next to the line that you are publishing to your private dynamic channel, Publish once again to our MY_notify_channel .
That's it when ever you publishing you get a message received in your service box, you have segregate your message in that and then create a notification manually.
Titanium.Android.Notification link

iOS Android and windows Push notification

I have an application for for iOS, Android and Windows mobile.I want to send notifications to the application. AFAIK as someone new to this, I think that I need to send the notifications from my server to GCM server for Android and APNS for iphone, I have no idea for windows.
I was hoping if I can send the notifications directly to the phone (setting up a XMPP server , what the IM messenger usually use (JABBER,EJABBERD etc.)) without going to APNS of GCM .
EDIT : The application is an enterprise application so some customers don't want to share aur route their data across GCM or APNS servers.
Is that possible, please guide me to the same .
Thanks.
Take a look at https://github.com/Redth/PushSharp, It's a pushnotification service library for Windows, IOS and Android
Push notifications for Windows Phone: http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff402558(v=vs.105).aspx
Or you can use a service like Parse.com that allows you to manage push notifications for all he platforms using one API.
The library does that for you, you first need to do some configuration Check here.
Look a the samples.

Push Notifications using Rails server

I have a rails server and a backend. Is it possible to send a push message using my rails server to both iPhone and android app?
Yes, it is possible. Here are gems that I used recently in my projects: Android push service and Apple push service
They are well documented so you should not face big troubles about setup.
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
here is the link: https://github.com/NicosKaralis/pushmeup
Try using grocer gem for ios push notifications. Thats pretty easy to setup and get going.

Categories

Resources