slack-digest/2021-01-15.md
Fri, 15 Jan 2021 09:06:47 GMT
Join the conversation at slack.cordova.io
Thu, 14 Jan 2021 22:21:17 GMT
@info460 says
Hello, wandering if anyone implemented sucessfully http://Radar.io|Radar.io into Cordova, for me the last requirement cause error when building: no suitable method found for onCreate(no arguments)
Thu, 14 Jan 2021 13:56:39 GMT
@werner.haingartner says
hey all, I have problems after updating to 6.x and so from uiwebview to wkwebview. when i'm now launching the app, I see just a white screen. https://cordova.apache.org/howto/2020/07/18/uiwebview-warning.html Regarding this instruction, i think that the wkurlschemehandler is a problem, but I dont't understand how this:
<preference<preference name="hostname" value="localhost" />``` is really working? or what it should do?
Thu, 14 Jan 2021 14:07:10 GMT
@norman137 says
if it's working, your document origin would be
<app://localhost>White screens are usually caused by JS errors occurring on startup. To see them launch the safari web inspector then press cmd+r while the inspector is focused. The inspector only captures log events when it is opened and attached so it doesn't record startup errors. This will refresh the webview with the inspector still attached so you'll see those kind of errors. This may give you some better insights.
Thu, 14 Jan 2021 14:34:48 GMT
@mario.kurzweil says
I’m having a similar problem as @werner.haingartner. As I set the
schemeandhostnamein config.xml my login screen is finally shown, but now I’m facing some CORS problems. (cordova-ios 6.1.1)My config.xml and error message in safari:
Thu, 14 Jan 2021 14:37:36 GMT
@norman137 says
CORS is a backend configuration thing.
Some resources that will help you get a full understanding how it works and what your backend should do: https://breautek.com/2020/07/14/enabling-cors/ https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS