cordova-plugin-media-capture icon indicating copy to clipboard operation
cordova-plugin-media-capture copied to clipboard

App crashes on video request on iOS 15.2 (ionic/angular)

Open vadimwe opened this issue 3 years ago • 5 comments

Bug Report

Problem

What is expected to happen?

Starts video recording on iOS 15.2

What does actually happen?

App crashes on video request on iOS 15.2

Information

Install plugin and request video recording

Command or Code

Environment, Platform, Device

iOS 15.2 iPhone X

Version information

Ionic:

Ionic CLI : 6.18.1 (/usr/local/lib/node_modules/@ionic/cli) Ionic Framework : @ionic/angular 5.8.4 @angular-devkit/build-angular : 12.2.10 @angular-devkit/schematics : 12.2.10 @angular/cli : 12.2.10 @ionic/angular-toolkit : 4.0.0

Cordova:

Cordova CLI : 10.0.0 Cordova Platforms : android 10.1.0, ios 6.2.0 Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 18 other plugins)

Utility:

cordova-res : 0.15.4 native-run : 1.5.0

System:

Android SDK Tools : 26.1.1 (/Users/vs/Library/Android/sdk) ios-deploy : 1.11.4 ios-sim : 8.0.2 NodeJS : v14.18.1 (/usr/local/bin/node) npm : 6.14.15 OS : macOS Big Sur Xcode : Xcode 13.2.1 Build version 13C100

Checklist

  • [ x] I searched for existing GitHub issues
  • [x ] I updated all Cordova tooling to most recent version
  • [x ] I included all the necessary information above

vadimwe avatar Jan 22 '22 18:01 vadimwe

+1

alphagamer7 avatar Feb 14 '22 18:02 alphagamer7

+1

sajath-45 avatar Feb 14 '22 18:02 sajath-45

+1

agbrock avatar Mar 02 '22 20:03 agbrock

Can you try updating to latest version of the plugin and if the problem still persists provide a sample app where the issue can be reproduced?

jcesarmobile avatar Jun 02 '22 00:06 jcesarmobile

I experienced the same "problem" ... my issue was, that I didn't provided a NSMicrophoneUsageDescription.

The documentation mentions this for the capture.captureImage part, but it is needed for Audio and Video.

Wyndala avatar Feb 26 '23 20:02 Wyndala