Cordova Slack Digest

Thu, 09 Sep 2021 08:21:06 GMT

User count: 4614

Join the conversation at slack.cordova.io

Channel #general (2 messages)


Wed, 08 Sep 2021 12:40:10 GMT

@hariforever8087 says

HI, We are using cordova windows app build on top of reactjs. After react 16 upgrade we have observed drastic performance degrade. Below is the our current configuration.

cordova -v ==> 7.0.1 cordova platform list ==> windows 6.0.1 npm -v 6.9.0 node -v v10.16.3

cordova plugin list cordova-plugin-background-mode 0.7.3 “BackgroundMode” cordova-plugin-camera 4.0.3 “Camera” cordova-plugin-device 2.0.3 “Device” cordova-plugin-dialogs 2.0.2 “Notification” cordova-plugin-file 6.0.2 “File” cordova-plugin-file-opener2 2.1.3 “File Opener2” cordova-plugin-file-transfer 1.7.1 “File Transfer” cordova-plugin-globalization 1.11.0 “Globalization” cordova-plugin-inappbrowser 3.0.0 “InAppBrowser” cordova-plugin-ios-base64 1.0.0 “iOSBase64” cordova-plugin-ios-camera-permissions 1.2.0 “iOS Permissions” cordova-plugin-mfp 8.0.2021070503 “IBM MobileFirst Platform Foundation” cordova-plugin-mfp-jsonstore 8.0.2018090453 “IBM MobileFirst Platform Foundation JSONStore” cordova-plugin-network-information 1.3.4 “Network Information” cordova-plugin-okhttp 2.0.0 “OkHttp” cordova-plugin-print-pdf 4.0.0 “PrintPDF” cordova-plugin-printer 0.7.3 “Printer” cordova-plugin-secure-storage 3.0.2 “SecureStorage” cordova-plugin-splashscreen 4.0.3 “Splashscreen” cordova-plugin-whitelist 1.3.3 “Whitelist” cordova-plugin-zip 3.1.1 “cordova-plugin-zip”

Have anyone observed the similar issue? Or have any solution ?

Wed, 08 Sep 2021 13:50:56 GMT

@norman137 says

pretty sure windows apps uses an IE based webview, and I haven‘t used an older react on IE, in my experience IE11 (not a windows app, but an actual IE11 browser) was always slow with React 16, presumably because you require a ton of polyfill code for features that IE11 doesn’t support but React 16 depends on.

At my company, we always built alternate simple UI for IE that gets used while in an IE environment.

Channel #cordova-ios (1 messages)


Thu, 09 Sep 2021 08:15:59 GMT

@hilah1999 says

Hi Someone know how to doing style in ios? I did my style in css I worked on chrome, In android all good, but in ios there is somethings not good, How to do that?

Channel #cordova-android (3 messages)


Wed, 08 Sep 2021 17:50:14 GMT

@joel says

Hi, hoping someone can confirm if Cordova Android 10.X is required (or recommended) or not for targeting Android 11 / API level 30.

Wed, 08 Sep 2021 17:52:24 GMT

@norman137 says

you can try 9.x and the <preference name=“android-targetSdkVersion” value=“30” />

Wed, 08 Sep 2021 18:53:13 GMT

@joel says

Trying out Cordova Android 10, Gradle 7.1 and Android Studio 2020.3.1. Everything builds and runs fine, but the IDE is reporting errors importing Cordova modules, like import org.apache.cordova.CordovaPlugin;, it complains Cannot resolve symbol 'CordovaPlugin'. Interferes with intellisense, etc. Anyone encountered this, inklings for a fix?