I release flutter web app in firebase hosting and this app have function use send notification using firebase this function blocked in release Because it contains core issue is there any solution to this issue
note: I use this API to send notification
https://fcm.googleapis.com/fcm/send
I try to add this in header
res.header(“Access-Control-Allow-Origin”, “*”);
res.header(“Access-Control-Allow-Methods”, “GET,PUT,PATCH,POST,DELETE”);
res.header(“Access-Control-Allow-Headers”, “Origin, X-Requested-With, Content-Type, Accept”);
and I disable web security in build
Majd Sabreen is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.