I have converted Article Website to Android App using WebView.
How to use push notification for any update of Article in Android?
there are many platforms available for push notification in android. you can use Firebase Push notification OR OneSignal Push notification. OneSignal provides an admin panel for sending push notification so it is easy to use.
Related
I am using Unity3d OneSignal SDK for sending a push notification.
I have to setup Local Push notification using the onesignal SDK, can it possible?
As well, I also want to Cancel all previous set notifications.
I am trying this method : OneSignal.ClearOneSignalNotifications();
But it can't works.
I am developing a Cordova app having a Java backend. I want to know if it's mandatory to use GCM service in order to show a push notification in Android/iOS (in notification tray)?
I am using Apache Kafka, MQTT brokers in my backend. Is it possible to show push notification using these solutions, i.e. using completely self defined solutions?
Using MQTT & other brokers I am able to send realtime data to users but how to show those message as native notification in notification bar is my problem.
Yes, you will need to use GCM to send push notifications to Android devices. You can even use GCM to send push notifications to iOS devices (GCM makes request to APNS (Apple push notification service) to make it work).
But GCM for iOS isnt trusted much.
You can use any backend to send push notification to your devices. You just need to make a request to GCM/APNS.
This is the cordova plugin for push notification.
Integrating with GCM is damn easy, but it takes a little effort with APNS.
Most people use third party paid services like Pushwoosh to implement their push backend because its convenient. There is a free alternative OneSignal but it tracks your usage.
Follow this guide to setup push for APNS. (You can just use the Setup certificate part from this guide, since you are not using C#)
To receive push you need use/implement GCM(and actually FCM, because of GCM deprecation)
To show notification from app it is unnecessary to implement GCM/FCM
I am using push notification in android push notification like GCM and i want to add IOS push notification in GCM.
Admin will set text in text box and than notification will be sent to both device like android and IOS devices.
Thanks
You can use gcm for android & apns for IOS seperately or use 3rd lib such as https://parse.com/tutorials/android-push-notifications.
In 1st solution, when phone connects to your web server. Web server must recognize client is android or ios. And later when web server wants to send message to client it will send push notification to GCM or APNS.
Push Notification PhoneGap - With reference to http://www.pushwoosh.com/enable-multiple-notifications-in-android/
I am getting Multiple Notifications in the status bar, however only latest notification data is available.
Is their any way to get specific notification data?
Thanks in advance.
I'm currently developing android apps using phonegap + jquery mobile. I need to add notification bar in my application. Currently, I'm using Notification phonegap plugin to handle notification. But it didn't send notification when application closed. Is there any solution to keep my user recieve notification even application is closed? Can I use Google Cloud Messanging to solve it?
Thank you and sorry for my bad english
You can use push notifications. The following plugin handles both Android and iPhone notifications:
https://github.com/phonegap-build/PushPlugin
A notification will be shown whenever a push message is received and it contains a message attribute.