Is there any documentation on how to build a custom notification server for Android? I am currently using GCM but due to the nature of the app and the fact that notifications are a very important feature in my app, I would rather implement this service internally so that I can control the throughput and not have any artificial limitations (even if it's hundreds of thousands of notifications per day). I also would like to use the same notification server later on with the iOS version of the app and for that reason, a custom built notification server is much preferred.
I would ideally like to know what's involved in order to write a similar messaging system (on the Android front-end). To further clarify, I would like to understand how (on top level) the GCM notification internally works on Android and how to replicate that functionality on my own.
Any help would be greatly appreciated.
Thank you
for the last 3 months I feel the same way as you do.
1, you should read this first mqtt.
2, and give yourself 1 hour of watching this
3, theres alot of examples out there on how to integrate client and over here for the server.
EDIT: some success stories here from facebook.
Its worth a shot. :) hope this will help you :)
I think Pushwoosh does exactly what you want to do. There also exists UrbanAirship, but unlike Pushwoosh UrbanAirship's service isn't free.
Related
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.
Can I use Onesignal to send a notification of order changes to an Android device then if the user already opened the application on order's page/view the notification will be not shown but the order status on that page will be changed?
If yes, can I know the reference of documentation/tutor? If no, what are alternative ways to do it?
I have a project using Onesignal to send the notifications to the android devices. Currently just Simple notif, but my boss asked me to make the mobile app can auto change status order without user action. I'm a backend engineer, not an android dev so I don't know what really works of Onesignal in android. I just know Onesignal can be used to send the notification but what about data process after notification sent?
This is what I understood: Your app has some kind of market or something from which people can order stuff. So, you want to know if OneSignal can send automated notifications as the order status changes?
If I have got it correct, my best guess will be, no. OneSignal can only manually send out notifications. The closest one can get with OneSignal to automations is scheduling notifications to be sent later. To achieve your purpose, your Android devs will probabaly have to write some code on their own and integrate it some way with the order status and all. Or else, your boss will have to appoint a few people who can track the order of the people and manually send out notifications to them using OneSignal (but, identifying the correct device might not be so easy).
That's my guess. But, OneSignal's support team is pretty nice. They might take a few days to answer, but, it's worth asking them if they can help your developers integrate the order status and OneSignal's notifications in some way.
My application is simple just alot of posts and every post has many comments.
I want to notify users when a comment is posted with a real time notification method.
I use laravel for backend and android for frontend , i found something called pusher , is there any method better than pusher for my app ?
or this is the method to use now for my app?
Pusher is a paid service the better option is Firebase Push Notifications which are really easy to use and free of cost for large amount of usage.
It also provide a lot of customization and easy to work with it.
I'm working on an app that will allow authors to send push notifications to readers on their mobile devices. I've already created a backend in Yii2 (php framework) that gets data from an author.
However, now that I'm working on the app (using ionic.io), I seem to have encountered a problem. Here are the requirements that seem to be conflicting:
I'd like to send push notifications to all readers that are subscribed to an author whenever that author inputs data into my backend.
These push notifications should be scheduled by the author.
The author should have access to analytics on their books on my backend.
The backend should have a count of how many readers are subscribed to each author (for billing purposes)
I've looked into things like parse, but it doesn't seem to provide me with any method of solving requirements 3 or 4. I've also looked into ionics push notification system but I can't seem to find enough on it to understand how this would all be possible.
Being that this is a reader centered app, I'm also going to need support for Kindle Fire.
Can anyone point me in the right direction? Even if I have to change from developing in ionic to another language I'm open to suggestions from the more experienced devs.
EDIT 1: I've already developed functionality for parts 3 and 4 in my backend, however I'm mostly unsure as to how I can populate it and keep it up to date with what's happening on parse's side (should I choose to go that route). Currently, it can only populate itself from my backend testing methods.
I am developing an app in android in Eclipse IDE. The app modality requires that any user can challenge his/her friend to do a certain activity. Whenever a user does so, the friend will immediately get a notification in his/her phone. Even more, the user who challenged the friend, will also receive a notification when the friend accepts the challenge. Is there any particular way I can provide this functionality? I know how to generate notifications. But the server side interaction is quite confusing. Should I check the server database through the app at frequent intervals and check for such activities in database? I think the procedure will hamper the performance of the app. I would be very grateful if anyone can suggest a good way.
But the server side interaction is quite confusing.
As you're pointing out, it's the server part not the Android one what's confusing here. If you don't have any constraints on the server part, I'd recomend to use Socket.io http://socket.io/ They have a tutorial for connecting socket.io with Android: http://socket.io/blog/native-socket-io-and-android/
It seems that you don't really need an interaction between the differents users but only a way to notify them. I always used Google Cloud Messaging to do so. It enables you to receive push notifications. As you said, checking the server periodically is battery/data consuming and not the best way to do it.
This link might help to set up GCM : http://www.androidhive.info/2012/10/android-push-notifications-using-google-cloud-messaging-gcm-php-and-mysql/.