Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android 10 video select path error still not fixed (even if it should?) #790

Closed
ge93tef opened this issue Mar 21, 2022 · 1 comment
Closed

Comments

@ge93tef
Copy link

ge93tef commented Mar 21, 2022

Bug Report

Problem

Wen trying to select a video from the gallery an error occurs saying the path is not found.

What is expected to happen?

The video gets loaded into the app

What does actually happen?

Error: Error copying file File: [cordova]/localhost/sdcard/DCIM/Camera/20220314_175211.mp4 to 'temp1'. The file or directory was not found (Cordova: NOT_FOUND_ERR).

Information

The problem is probably the same as in #573 because if I use that fork instead it works perfectly. The ticket is closed so I expected it to work.

Command or Code

Environment, Platform, Device

Samsung Galaxy S9

Version information

cordova-plugin-camera: 6.0.0
Android: 10

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
@breautek
Copy link
Contributor

In v8 external storage paths are now passed as content:// uris and utilises the media store APIs for temporary access grants.

file:// paths that was previously used does not work on API 29, but did work on API 30+ with proper permissions.

Should be fixed by:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants