Your firebase server key can be found in the firebase console, and the device token can be found using the “get firebase token” flow function in appgyver. The device token can also work for android but will not work for ios, it will be a different token.
***This problem had me stuck when testing: The token you get from a device when using appgyver preview will be different than the one you get when using your built app from testflight on ios and google play on android. Using the token you get from using the preview app will result in an error, you must use the token from your built app.
I also have the same problem. I am working on an app which allows user to fill a form (utility bills last dates) and later send them push notification (reminders) based on the dates entered in the form. The cloud messaging service in Firebase can instantly send push notifications to the target (only registered android app, not iOS), but I do not find a way to send push notifications customised for each user data. Is there a comprhensive tutorial preferably a video tutorial regarding it?
It is very hard topic and no one make video tutorial about it. In my app I want push notifications when timer is near the end. For example App set a timer for 6 months and when there is a 1 month left a user gets a push notifications “your timer is near the end, do smth”.
You can use any backend for it, but I use Xano as my backend, I simply import the general curl command which i got from appgyver and replace the firebase tokens with inputs so that each users device token can be inserted into the Curl. I am also a novice but I think it works as an external api request
For your use case I think you would need a “task” in Xano, which does a certain command indefinitely for example sending a push notification every minute to devices which need them. However I believe tasks are only available for paid plans.
Looking at your use case, I think you can send notifications through Appgyver, but it has to be triggered by something, I don’t know if it can “keep time” and trigger the notification based on it (when there is one month left) you may need to use a backend, if you aren’t already using it.
Hello, I’ve watched it but u didn’t show everything that I would need to make it work. Can u make more detailed tutorial? For example what should be in HTTP request, where this CURL request should be copied and how to set firebase properly? It is very hard to understand for non-programmer .