Currently I'm trying to set up push notifications and have followed the documentation accordingly. When I go to do a manual trigger test, it fails with an Unknown Error
, which provides me no context or hints as to what's going wrong.
Push Notification Manual Trigger Failing With Unknown Error
I ended up going into the code and generating a FCM code for my device manually, then going into firebase console > messaging > Create your first campaign > Firebase Notification messages > Filled out the notification fields > Send Test Message > Entered my FCM token and pressed send.
This successfully sent a push notification to my device as expected. Despite adding my device here and getting a successful push notification via firebase directly, the manual trigger from Flutterflow still gives an ambiguous Unknown Error. I have tried setting the region to match the region id shown in firebase console > functions and it's the same region as what's beneath my functions, including sendPushNotificationsTriggers. Not sure what else to try because firebase seems to be functioning as expected so it leads me to believe this is something on Flutterflows part.