Saturday, August 21, 2021

Using Android Device as Daily Function Calling API

Hi guys, it's a august month, I really want to share something worth today. I found an unique idea for my issue. This is about notification daily that's in Food Today app that I usually do it manually. Before I usually push notification about food holiday everyday. But the time when I pushed it. It's random not always exact time.

Then suddenly in my mind I think I can make it automatically pushing notification without third party like firebase function that now I have. I had it for backup data firebase in other project every week one time. Because you know it's quite expensive for me to do it daily. So I made it only once a week and so far I satisified.

And as you know in Android we can do periodic using AndroidAlarmManager you can check here https://pub.dev/packages/android_alarm_manager_plus. And I combine it with firebase notification so at spesific time 5:00 am everyday. And so far It always call the firebase notif. If you're curious about this app you can download it on Foodtoday.ungapps.com. Feel free to try and rate it.