Sat, 05 Dec 2020 08:31:21 GMT
Join the conversation at slack.cordova.io
Fri, 04 Dec 2020 20:07:14 GMT
@gh says
Anybody using ReactJS with Cordova? Any tricks? or is it straightforward?
Fri, 04 Dec 2020 20:12:30 GMT
@norman137 says
👋
I have react app bundled by webpack, the bundled js goes into the
www
folder... and theindex.html
loads it up.
Fri, 04 Dec 2020 20:32:18 GMT
@jcesarmobile says
You can make users commit the www or add a build step in your server
Fri, 04 Dec 2020 11:46:02 GMT
@ucheozoemena says
Hi folks 👋 😄 does anyone know how to close the browser‘s native HTML date picker using any vanilla JS methods? I’m referring to a native datetime picker like this one for Android shown in the screenshot (for an
<input type="datetime-local" />
). I've tried different things and seen different suggestions including changing theÂtype
 of the input field, settingÂdisplay: none
 on the input field, replacing the input field (node.outerHTML = node.outerHTML
), blurring the input field (node.blur()
), setting its value to an empty string, and giving itÂtype="hidden"
. But none of these have worked. Whatever change I make to the element in the DOM, the native picker is unaffected and remains on the screen. Any ideas for how to achieve this? The solution must work on Android. Thanks!
Fri, 04 Dec 2020 14:17:38 GMT
@ucheozoemena says
Also has anyone experienced a flash when returning to the app after it was put in the background? I‘ve tried removing node in the
<body>
except for script tags and a single<div>
, but the flash still happens. I thought it was plugins but I’ve created a sample app with the same plugins and I don‘t see the flash in the sample app. I’ve tried commenting out everything in myonDeviceResume
handler and yet the flash happens, so I'm not sure what else could be at play. Anyone have any ideas I could explore? Thanks :simple_smile: .
Fri, 04 Dec 2020 14:34:18 GMT
@lukas says
Does it make sense to download plugins locally to make them install faster (we often wipe the cordova folder completely)? For example the Facebook plugin takes a couple of minutes to install (https://github.com/jeduan/cordova-plugin-facebook4)
Fri, 04 Dec 2020 15:03:51 GMT
@erisu says
I think downloading that plugin package and installing it from a local copy will not exactly solve your problem. The plugin’s npm package, itself, is only 61.4 kB. That shouldn’t take long. I think its the third-party libraries that it is downloading for the build. Those iOS pods and Gradle libraries could be large.
@lukas