Cordova Slack Digest

Wed, 03 Feb 2021 08:38:17 GMT

User count: 4352

Join the conversation at slack.cordova.io

Channel #general (7 messages)


Tue, 02 Feb 2021 20:56:49 GMT

@dpogue says

⚠️ Hey folks, npm v7 is now the default version of npm, and currently not compatible with Cordova. https://github.blog/2021-02-02-npm-7-is-now-generally-available/

Our recommendation right now is to use npm v6: npm install -g npm@6

There‘s some work in progress to make Cordova compatible with npm v7, but it needs further testing before we’re ready to release it.

Wed, 03 Feb 2021 02:03:35 GMT

@chadwick.blackford says

today is not my day… any idea?

2021-02-03 03:00:39.652866+0100 myapp[5830:498521] [Camera] Failed to get device from -[AVCaptureDevice defaultDeviceWithDeviceType:AVCaptureDeviceTypeBuiltInWideAngleCamera mediaType:AVMediaTypeVideo position:1]
2021-02-03 03:00:39.653100+0100 myapp[5830:498521] [Camera] Failed to get device from -[AVCaptureDevice defaultDeviceWithDeviceType:AVCaptureDeviceTypeBuiltInWideAngleCamera mediaType:AVMediaTypeVideo position:1]
2021-02-03 03:00:39.653177+0100 myapp[5830:498521] [Camera] Failed to find device BackWide for mode Photo. Falling back to BackWide
2021-02-03 03:00:39.653269+0100 myapp[5830:498521] [Camera] Failed to get device from -[AVCaptureDevice defaultDeviceWithDeviceType:AVCaptureDeviceTypeBuiltInWideAngleCamera mediaType:AVMediaTypeVideo position:1]
2021-02-03 03:00:39.653391+0100 myapp[5830:498521] [Camera] Failed to get device from -[AVCaptureDevice defaultDeviceWithDeviceType:AVCaptureDeviceTypeBuiltInWideAngleCamera mediaType:AVMediaTypeVideo position:1]
2021-02-03 03:00:39.653450+0100 myapp[5830:498521] [Camera] Failed to find device BackWide for mode Photo. Falling back to BackWide
2021-02-03 03:00:39.653533+0100 myapp[5830:498521] [Camera] Attempting to configure a mode with out a preset or device format! Results may be unexpected.
2021-02-03 03:00:39.653821+0100 myapp[5830:498521] [Camera] Failed to get device from -[AVCaptureDevice defaultDeviceWithDeviceType:AVCaptureDeviceTypeBuiltInWideAngleCamera mediaType:AVMediaTypeVideo position:1]
2021-02-03 03:00:39.653934+0100 myapp[5830:498521] [Camera] Failed to get device from -[AVCaptureDevice defaultDeviceWithDeviceType:AVCaptureDeviceTypeBuiltInWideAngleCamera mediaType:AVMediaTypeVideo position:1]
2021-02-03 03:00:39.654001+0100 myapp[5830:498521] [Camera] Failed to find device BackWide for mode Photo. Falling back to BackWide
2021-02-03 03:00:39.656777+0100 myapp[5830:498521] [Camera] Attempting to use an unsupported session preset AVCaptureSessionPresetInputPriority on device (null)
2021-02-03 03:00:39.669340+0100 myapp[5830:498521] [Camera] Failed to find video output connection for <AVCapturePhotoOutput: 0x280b9ca40>
2021-02-03 03:00:39.777506+0100 myapp[5830:498286] [Camera] CAMModeAndDeviceCommand configuration failed! (Error Domain=CAMModeAndDeviceCommandCannotCaptureErrorDomain Code=-32200 "(null)")```

Wed, 03 Feb 2021 02:08:01 GMT

@chadwick.blackford says

@timbru I think I have the same problem like here https://github.com/apache/cordova-plugin-camera/issues/676

Wed, 03 Feb 2021 02:08:12 GMT

@chadwick.blackford says

but we do not use cordova-camera plugin

Wed, 03 Feb 2021 05:54:27 GMT

@thangdx175 says

Hello everybody? Do you know which lib we can use to get gif image from IOS? Thanks so much. I tried with cordova-camera-plugin, but seems it only return a jpg/ png as a result.

Wed, 03 Feb 2021 06:11:32 GMT

@ashankar says

I want to run a particular use case by everyone…. had a small discussion about this few days back… but I am still trying to understand whats going on

I am using the InAppBrowser … I open up a “blank” window… lets say “https://site1.com” on site1 .. there is a button which calls a method… and eventually tries to do window.open("<https://site2.com>") I have seen this particular use case working properly few years back…. But now.. it doesnt …. I am assuming this has something to do with the window.open changes done in the InAppBrowser… but reading the documentation just confused me

Wed, 03 Feb 2021 07:25:56 GMT

@ashankar says

never mind… i think I have figured out the issue… it seems that wkwebview doesnt play nicely with window.open

Channel #cordova-ios (2 messages)


Tue, 02 Feb 2021 11:43:16 GMT

@javarea says

Hi guys, just one question. How i can install cordova-ios 6.2.0? or i still can't install? Thanks

Tue, 02 Feb 2021 11:45:24 GMT

@erisu says

It is not officially released yet and going though a voting process.

If you want to still use it, to test it out you can install it by using the repo+tag reference.

But remember the vote can always fail for any reason.

Channel #cordova-android (1 messages)


Tue, 02 Feb 2021 23:40:43 GMT

@chadwick.blackford says

Hallo guys! By using singleInstance I can’t upload images…. any idea how I can go back to the app?