How send push notification for one user using phonegap - android

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!!!

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.

Sending a Push Notification to Android Application Users

I have created an android application for which i want to send push notification to the app users using GCM. Have read that GCM doesn't use Mobile numbers to send notification to app users. My question is that how can i use GCM to send notification to specific users,and also can some one help with procedure of setting up GCM for android Apps?
Thanks in advance !
First of all you should read the documentation as Aditay Said.
GCM communicates with your app using your pacakge signature and app id which you provided in googole developer console.
Here is a helpful link for you , This will help you to achieve your goal
https://neurobin.org/docs/android/push-notification-gcm-client-server/
N.B: Don't forget to accept my answer if you got your answer

Understanding PhoneGaps automatic PushNotifications

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.

How to make notifications appear automatically?

Im new to programming in especially android so please assume I know very little. So I have this app in which the user types in their email, name and their question and sends all this information to a website in which I can see all this information so that i can give an appropriate response. I then send my answer and the user can then see the answer in their application to their question.
Im using android studio and I have to create an activity or something that will generate/ show a notification automatically( without any user interaction) after I answered their question. How can I do this?
You should use Google Cloud Messaging Library for achieving this.
So, when you answer any question, it will send push notification to user on device (like whatsapp) and when user click on that, it will open your answer over there, so user can read it.
Here is library link with sample as well:
https://github.com/google/gcm

Can I identify gmail notification for new mail from my android application

Can i identify notifications and get the details of the notifications from my android application? if so,can any one help me please...
You got no access to what notifications are currently posted. App could do some broadcasting on events that may interest others but I doubt GMail app does so, so answer is rather "no".

Categories

Resources