I need to send some push notifications to my app users when they do some stuff on our website.
I am using firebase to host my website, and am using ‘expo-server-sdk’ to make the request to push the notifications.
I am getting the following error:
Failed to load https://exp.host/--/api/v2/push/send: Response to preflight request doesn’t pass access control check: The ‘Access-Control-Allow-Origin’ header has a value ‘https://expo.io’ that is not equal to the supplied origin. Origin ‘https://bla.com’ is therefore not allowed access.
Does anyone know how to fix this?