apache / apache/cordova-plugin-camera

Not able to choose video for Photo Library in iOS

Open
#752 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
976
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

# Bug Report

## Problem
In Version 5.0.2, I was not able to select video from the photo library.

### What is expected to happen?

The video should be selected, and the getPicture method should return the path to the selected video.

### What does actually happen?

The app crashes on selecting the video.

### Command or Code

Git hub link to the sample code, this includes the platforms folder. [link](https://github.com/abhishek0196/ionic-cordova-camera)

### Environment, Platform, Device

### Version information

Ionic:

Ionic CLI : 6.10.2 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.6.11
@angular-devkit/build-angular : 12.0.5
@angular-devkit/schematics : 12.0.5
@angular/cli : 12.0.5
@ionic/angular-toolkit : 4.0.0

Cordova:

Cordova CLI : 10.0.0
Cordova Platforms : ios 6.2.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 5 other plugins)

Utility:

cordova-res (update available: 0.15.3) : 0.15.1
native-run (update available: 1.4.0) : 1.0.0

System:

Android SDK Tools : 26.1.1 (/Users/appdeveloper/Library/Android/sdk)
ios-deploy : 1.9.4
ios-sim : 8.0.2
NodeJS : v12.16.3 (/usr/local/bin/node)
npm : 6.14.4
OS : macOS Catalina
Xcode : Xcode 12.4 Build version 12D4e

## 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.