Understanding PhoneGaps automatic PushNotifications - android

I am learning with this tutorial to send notifications: http://devgirl.org/2013/07/17/tutorial-implement-push-notifications-in-your-phonegap-application/.
It seems really easy but very limited.. So this way I can only send a notification manually with Node. But what if my app has to send a notification everytime something is updated in my database? Is that possible? Is it possible to send the notification if the user is not using the App at the moment?
All help appreciated,

Yes, it's possible. The phonegap-plugin-push could help for your purpose.

Related

how to send remote notification in nativescript

We have a requirement to send notification to the Mobile App Users on periodic basis. (Say Every day morning 6 AM). We are using Nativescript to develop the Mobile Application.
Can someone help to confirm if this can be achieved? if yes, Any sample code/plugin/directions will be highly appreciated.
Thanks!!
If you want to do it from within your app, this might help (not using myself)
https://github.com/EddyVerbruggen/nativescript-local-notifications
Another solution could be to generate scheduled notifications from your server and push them to your app via FCM. In which case you could use this plugin https://github.com/NativeScript/push-plugin (I'm using this)
Yes, possible. Checkout the nativescript-plugin-firebase or nativescript-push. You will have all the details documented in the ReadMe along with sample code.
You might setup a job in your server which would fetch all the list of users and their device tokens you want to send push notification to, pass it on to FCM.

How send push notification for one user using phonegap

my question is to send push notification to a user in my app using PhoneGap.
I'm looking on the web but found nothing related to my question. I found ways to send to all users but do not need it.
somebody can help?
Thanks!!!

Simple Push Notification in Android

I am Making the Chatting application
which require to send push notification in android.
I really don't have any idea about it because I am very new in Android.
So how can I get push notification when I receive message from other User of application.
Please make it as simple as possible.
Any help will be appreciated.
Thank you.
you will get all info here
http://developer.android.com/google/gcm/index.html
and here is example
http://www.androidhive.info/2012/10/android-push-notifications-using-google-cloud-messaging-gcm-php-and-mysql/
this will help you..

Notification system

I've been looking at notifications for an app I'm making and I'm looking for a similar functionality to the Facebook app. There you receive notifications even though you are not in the App (by receiving something via WiFi/3G).
I've noticed for example that after you restart your phone (and without opening facebook) the notifications still arrive.
It is an important part of my app because it is used to display alerts of failures on a machine.
Anyone knows how to do that or what material I should read for that?
Thank you for your time.
Google cloud messaging user notifications does this.
http://developer.android.com/google/gcm/notifications.html
Push notifications is what you're looking for.
http://developer.android.com/google/gcm/index.html
I'd go with Google Cloud Messaging. It will send broadcast to your device in which you can decide if to raise a notification or not
refer to this link :http://developer.android.com/guide/topics/ui/notifiers/notifications.html
try this out !!

What is the best approach for this project?

I'm planning to build an app for iOS and Android where the user has an account and can add friends. He can also post something, just like on facebook and all of his friends get a push notification and can react to it.
My question is: Which technologies do I need to use to accomplish this? A webservice with a database in the background? Can I do this with XAMPP?
Before going native, I wanna try out Appcelerator Titanium, any tips you can give me?
Thanks.
The simple way is "webservice with a database in the background" & your middleware should send the notification to platform server which will notify to individual devices for push notification.

Categories

Resources