You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 18, 2024. It is now read-only.
expo-service-worker.js generates an error in the log when listening to message events because event.data is not necessarily of type string (I have 4 messages in which event.data is a json object, not a string).
Expected Behavior
I just launched a website created from an expo project, and the errors appeared. I don't know what sends these messages (but I suspect it is firebase related).
Observed Behavior
I get the following message in my console (4 displays of this error)
Uncaught SyntaxError: Unexpected token o in JSON at position 1
at JSON.parse (<anonymous>)
at expo-service-worker.js:8
(anonymous) @ expo-service-worker.js:8
Description
expo-service-worker.js generates an error in the log when listening to message events because event.data is not necessarily of type string (I have 4 messages in which event.data is a json object, not a string).
Expected Behavior
I just launched a website created from an expo project, and the errors appeared. I don't know what sends these messages (but I suspect it is firebase related).
Observed Behavior
I get the following message in my console (4 displays of this error)
Environment
Reproducible Demo
I'll try to create a project that illustrates the issue.
I believe the following should do it, but I'm a bit short on time (will try it tomorrow)
The text was updated successfully, but these errors were encountered: