push notifications PERMISSION_DENIED...

Database & APIs

I’m currently developing an iOS app but have hit a roadblock with push notifications.

I’ve followed the manuals for setting up Apple and Firebase, but when I try to test push notifications using the “Manually Trigger Notifications” feature in FlutterFlow, it gets stuck on loading and times out.

After checking the logs for Firebase Functions (sendPushNotificationsTrigger and addFcmToken), I found this error:

“Unhandled error Error: 7 PERMISSION_DENIED: Missing or insufficient permissions."

Unfortunately, none of these worked, so I decided to reach out for help.

If anyone has encountered this issue before or has any suggestions for potential causes or solutions, I would greatly appreciate your advice.

Thank you so much in advance!

What have you tried so far?

I’ve tried a few things to resolve the issue, such as:

• Editing roles in Firebase based on suggestions from ChatGPT.

• Re-uploading the APNs authentication key in Firebase Cloud Messaging.

• Deleting all the Functions and redeploying them.

Did you check FlutterFlow's Documentation for this topic?
Yes
2
3 replies