FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
129 stars 26 forks source link

Several push notification errors including Unknown error on sending. #4860

Open charliefabley opened 4 days ago

charliefabley commented 4 days ago

Can we access your project?

Current Behavior

We have two databases set up one for production and one for development and they both show the same issues. Quite simply we can configure the push notifications without issue, but when it comes to actually sending a push notification we get a send error. See image. This however was preceded by some very unexpected behavior, which was that when it was working, which was only forty-eight hours ago, I discovered that sending a push notification would alter the permissions of the entire database so that, for instance, images would stop showing on the application. I would have to redeploy the firebase permissions before the images would return, and then if I sent another push notification, the permissions for it again be altered. However today having deactivated push notifications and reactivated them in one project, I now get an unknown error. If I return to the other database where I made no changes I get the same unknown push notifications error.

Looking at the console logs to determine what might be causing this, it appears that the error reported has something to do with firebase rules which is managed by Alex@Flutterflow.io. See the image below for that log. This indicates to me that we are genuinely talking about some kind of permissions issue, although at first I thought that that seemed improbable, all the indications are that that symptom could indeed be the root cause of the issue.

Expected Behavior

There would be no errors and push notifications would be received.

Steps to Reproduce

Go to settings and push notifications and attempt to send a push notification.

Reproducible from Blank

Bug Report Code (Required)

IT4KkvLlw4x2ruZE7rruK/lVtCYWNjsja7sslsJtbwAdNYvpG7YMS8+kMxJVXemndGNEL2H8/WI0/tqJudmXA+UoHyytRaJcwZBUawrKIXm5acmWEKmOPGtRL+NJJVyw34m3rRRCIfpfSl4a1Dque+TJYz3tGL7MIkUeDcj+Jp3XnGOqQ0SLb3kNh1JWeC/v

Visual documentation

image image image

Environment

- FlutterFlow version: Lates
- Platform: Web
- Browser name and version: Chrome
- Operating system and version affected: NA

Additional Information

The bug report code provided points to a place where we use push notifications comment but it is not where the error occurs. It is not possible to get a bug report code if we are in the setting section where the bug is apparent.

Alezanello commented 3 days ago

Hello!

Thank you for reaching out!

I was unable to replicate this issue on a new blank project, which suggests it may be specific to your project. Could you please reach out to our support team via the in-app chat or by emailing support@flutterflow.io? They will be able to investigate the specific details of your project and help resolve the issue.

Thank you for your understanding!