google/santa-tracker-web

Speed Sketch: Network error when it is embedded

Closed this issue · 0 comments

Speed Sketch does not work. All the responses to drawing results in an error: "There was a network error". The entire log is below. This happens only when the game is run inside a WebView.

2018-10-11 13:26:22.193 14575-14575/com.google.android.apps.santatracker.debug I/chromium: [INFO:CONSOLE(1)] "Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/5093566007214080", source: https://maps.gstatic.com/mapfiles/santatracker/v201712241017/scenes/speedsketch/speedsketch-scene.js (1)
2018-10-11 13:26:22.221 14575-14575/com.google.android.apps.santatracker.debug I/chromium: [INFO:CONSOLE(0)] "Failed to load https://inputtools.google.com/request?ime=handwriting&app=santa&dbg=1&cs=1&oe=UTF-8: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://santatracker.google.com' is therefore not allowed access.", source: https://santatracker.google.com/embed.html#speedsketch (0)
2018-10-11 13:26:22.234 14575-14575/com.google.android.apps.santatracker.debug I/chromium: [INFO:CONSOLE(2)] "[object Object]", source: https://maps.gstatic.com/mapfiles/santatracker/v201712241017/scenes/speedsketch/speedsketch-scene.js (2)