Auto send push notification from app server

Multi tool use
Multi tool use


Auto send push notification from app server



Is there any way to send a push notification from server when a user complete a task? For example: A todo app will notify on that date with push notification. I want to use firebase and firestore for storing user tokens.
Alarm manager can be a solution that I have found but I don't wanna use it.





Have you seen onesignal.com ?
– Dima Kozhevin
Jun 30 at 15:25




1 Answer
1



It sounds like you're looking for a tool that allows you to schedule transactional notifications. What sort of server technology are you using?



From a high level you could do something like this:
1) user adds a task in the Android application
2) android application sends request to server to save the task
3) you have some code that runs in some sort of on task save callback that schedules a block of code to run in the future using crontab, celery or something similar.
4) the block of code that runs in the future is an api call to twilio to send a push notification



relevant links: https://www.twilio.com, https://firebase.google.com/docs/cloud-messaging/, http://www.celeryproject.org/, https://en.wikipedia.org/wiki/Cron






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

FtXfxNKz7GittSBPCgM o17R znoosh DDPlZkxxE1cqff4 b1hp,vvG79N uoy
QV3ZNm3l,hruxJmgj83zDBtNLG23HwWyidAEM,PyERoLOt DjcWcJ cx,B6FHk6N7eaoAdxq

Popular posts from this blog

PySpark - SparkContext: Error initializing SparkContext File does not exist

django NoReverseMatch Exception

List of Kim Possible characters