Closed sbutkovi closed 2 years ago
This is really odd - works without issue when running a browser build (even in release mode, on webkit) but I can reproduce on iOS. Will see what I can do to investigate further
Seems like this error is causing it (ie, the fetch for the puzzle data isn't completing), which appears to be a wkwebview (or rather cordova-plugin-ios-xhr?) thing. This also happens when trying to go after the (first) Eterna essentials quest when logging in.
{
"message": "Network Error",
"name": "Error",
"stack": "@file:///private/var/containers/Bundle/Application/1DBB2253-DA43-4D71-803E-7B6BF6DEACCF/Eterna.app/www/bundle.js?[chunkHash]:2:6194\n@file:///private/var/containers/Bundle/Application/1DBB2253-DA43-4D71-803E-7B6BF6DEACCF/Eterna.app/www/bundle.js?[chunkHash]:2:1256\n@file:///private/var/containers/Bundle/Application/1DBB2253-DA43-4D71-803E-7B6BF6DEACCF/Eterna.app/www/plugins/@globules-io/cordova-plugin-ios-xhr/src/www/ios/xhr-polyfill.js:1187:22\n@file:///private/var/containers/Bundle/Application/1DBB2253-DA43-4D71-803E-7B6BF6DEACCF/Eterna.app/www/plugins/@globules-io/cordova-plugin-ios-xhr/src/www/ios/xhr-polyfill.js:988:24\n@[native code]\n@file:///private/var/containers/Bundle/Application/1DBB2253-DA43-4D71-803E-7B6BF6DEACCF/Eterna.app/www/plugins/@globules-io/cordova-plugin-ios-xhr/src/www/ios/xhr-polyfill.js:691:39\n@file:///private/var/containers/Bundle/Application/1DBB2253-DA43-4D71-803E-7B6BF6DEACCF/Eterna.app/www/plugins/@globules-io/cordova-plugin-ios-xhr/src/www/ios/xhr-polyfill.js:705:25\n@file:///private/var/containers/Bundle/Application/1DBB2253-DA43-4D71-803E-7B6BF6DEACCF/Eterna.app/www/plugins/@globules-io/cordova-plugin-ios-xhr/src/www/ios/xhr-polyfill.js:729:19\nglobal code@file:///private/var/containers/Bundle/Application/1DBB2253-DA43-4D71-803E-7B6BF6DEACCF/Eterna.app/www/index.html#/quests/eterna_essentials/1?progression=true&tags=Introduction%20to%20RNA&firstQuest=true:1:24",
"config": {
"transitional": {
"silentJSONParsing": true,
"forcedJSONParsing": true,
"clarifyTimeoutError": false
},
"transformRequest": [
null
],
"transformResponse": [
null
],
"timeout": 0,
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"maxBodyLength": -1,
"headers": {
"Accept": "application/json, text/plain, */*"
},
"baseURL": "https://eternagame.org",
"withCredentials": true,
"method": "get",
"url": "/get/?type=puzzles&sort=date&puzzle_type=Progression&single=false&switch=false¬cleared=false&uid=null&tags=Introduction to RNA"
},
"status": null
}
Given the base URL, I have no idea why it's complaining about a null scheme. Maybe it doesn't like the spaces in the URL...? I'll try URL encoding it and seeing what happens.
I'm testing the app from the point of view of an unregistered user, and the tutorials do not seem to be loading (or if they do, it is taking a very long time - longer than ~3.5 minutes). I tried both on wifi and on my phone signal - neither worked. Is anyone else able to get it working? This testing is for 1.4.3 - I believe it was working just fine for me in 1.4.2.