Sat, 22 Aug 2020 08:21:06 GMT
Join the conversation at slack.cordova.io
Fri, 21 Aug 2020 08:31:28 GMT
@ucheozoemena says
Hi folks, is there a way to delay loading plugins that you know you won‘t need until a very specific scenario in the app? For instance I want to have a sharesheet but it’s in a part of the app that won't be used often. Right now I have to install the sharesheet plugin and the script is injected as part of the initial app load so it has to be parsed and executed, but I would like to avoid that until I absolutely need the plugin. Is this possible? Thanks.
Fri, 21 Aug 2020 15:52:45 GMT
@aquinn says
Hi all, camera plugin seems to be incompatible with ios 13: https://github.com/apache/cordova-plugin-camera/issues/647 Any ideas?
Fri, 21 Aug 2020 17:11:35 GMT
@fghdgsfa says
Hi what does timestamp mismatch warning mean cor derivedData in xcode and how to “fix” that?
Fri, 21 Aug 2020 20:59:46 GMT
@jacob.wallace says
Hi all, I‘m currently building an iOS app using Cordova. I haven’t been able to find any information on how to disable the “haptic feedback” or small vibration that occurs when you tap and hold (long press) for a few milliseconds within the app. I have places where users will need to press and hold various UI buttons, and the vibration is pretty jarring since it's not providing useful feedback to the user. Is there a way to disable this vibration with a Cordova API for iOS?
Fri, 21 Aug 2020 15:52:33 GMT
@aquinn says
Hi all, camera plugin seems to be incompatible with ios 13: https://github.com/apache/cordova-plugin-camera/issues/647 Any ideas?
Fri, 21 Aug 2020 14:28:45 GMT
@daviesd says
Does anyone else get this when running “cordova run android” and targeting an emulator (on a mac)? If I have the emulator already open, it works.
emulator: ERROR: Could not load OpenGLES emulation library [libOpenglRender]: dlopen(libOpenglRender.dylib, 1): no suitable image found. Did find: /Users/daviesd/Library/Android/sdk/emulator/lib64/libOpenglRender.dylib: code signature in (/Users/daviesd/Library/Android/sdk/emulator/lib64/libOpenglRender.dylib) not valid for use in process using Library Validation: library load disallowed by system policy e
Fri, 21 Aug 2020 14:28:50 GMT
@daviesd says
Fri, 21 Aug 2020 14:29:43 GMT
@erisu says
During any of my recent testing or during release, I personally have not seen this.
Fri, 21 Aug 2020 14:30:07 GMT
@norman137 says
Maybe try reinstalling the android sdk stuff
Fri, 21 Aug 2020 14:30:27 GMT
@daviesd says
Ya, I just did. Hmm... ok... I'll try a few things and keep ya posted. Thanks
Fri, 21 Aug 2020 14:31:00 GMT
@norman137 says
Worst case scenario, something on your mac replaced the file with malicious intent.
Fri, 21 Aug 2020 14:32:14 GMT
@norman137 says
Could also try installing an older version of the emulator, maybe a recent release is not signed properly or something.
Fri, 21 Aug 2020 14:32:28 GMT
@erisu says
What if you try in the
AVD Manager
> Deselect the flag “Use Host GPU” under Emulated Performance.
Fri, 21 Aug 2020 14:34:50 GMT
@erisu says
Actually that might be old settings. I was reading up on others who seen this type of issue in general.. The setting seems to be now a dropdown and mine is set to automatic and I didn’t have this type of issue. But I also have not run the system update yet which I will do later.
Fri, 21 Aug 2020 14:36:29 GMT
@daviesd says
ya, i was just gonna say... i don‘t have that settings. lol. ok... i thought I “solved” this a few months back, but now that I upgraded to the latest cordova-android I’m seeing it again. I'll let ya know what I find out.
Fri, 21 Aug 2020 15:05:22 GMT
@daviesd says
hmmmm... got it working... not sure what did it though... a combination of allowing permissions or uninstalling and reinstalling the emulator.
Fri, 21 Aug 2020 15:05:25 GMT
@daviesd says
Fri, 21 Aug 2020 15:39:50 GMT
@daviesd says
I‘m updating a few plugins that now have androidx support. However, not all of them do. So i’m getting the error This project uses AndroidX dependencies, but the ‘android.useAndroidX’ property is not enabled. Set this property to true in the gradle.properties file and retry. What is the correct way to handle this? Not upgrade until all my plugins support androidx? Configure AndroidXEnabled in config.xml? But then what happens to the plugins that don't support it?
Fri, 21 Aug 2020 15:40:24 GMT
@daviesd says
cordova-plugin-androidx-adapter?
Fri, 21 Aug 2020 15:40:41 GMT
@norman137 says
yah androidx is not compatible with the old support libraries
Fri, 21 Aug 2020 15:40:46 GMT
@norman137 says
that plugin should help I think though
Fri, 21 Aug 2020 15:41:19 GMT
@dpogue says
You cannot mix plugins that use AndroidX with plugins that do not use AndroidX, without using some sort of tool to convert (which I think cordova-plugin-androidx-adapter does)
Fri, 21 Aug 2020 15:41:30 GMT
@dpogue says
and then you'll need to set AndroidXEnabled=true in config.xml
Fri, 21 Aug 2020 15:41:49 GMT
@daviesd says
ok, i'll try that. thanks.
Fri, 21 Aug 2020 15:43:05 GMT
@dpogue says
It's currently impossible for a plugin that needs those helpers to be compatible with both the support library and AndroidX. Thanks Google 😕
Fri, 21 Aug 2020 16:10:19 GMT
@jcesarmobile says
You can use jetifier and a postinstall script
Fri, 21 Aug 2020 16:14:56 GMT
@norman137 says
jetifier I believe only works on aar / jar files,
Fri, 21 Aug 2020 16:44:06 GMT
@dpogue says
There's a jetifier npm module that you can run on Java files. It basically runs a regex and find&replaces all the references in the source files
Fri, 21 Aug 2020 17:44:21 GMT
@jcesarmobile says
Yeah, I mean the npm package
Fri, 21 Aug 2020 17:45:08 GMT
@jcesarmobile says
That’s what we recommend to capacitor users that use some cordova plugin that isn’t updated
Fri, 21 Aug 2020 17:45:24 GMT
@jcesarmobile says
No complains so far
Fri, 21 Aug 2020 17:47:02 GMT
@norman137 says
Ah, wasn't aware of the npm package.
Fri, 21 Aug 2020 17:50:00 GMT
@jcesarmobile says
The jetifier option from android studio also works, but changes get lost on prepare I think, and requires to open android studio, which most people won’t want