apache / apache/cordova-plugin-file

CB-13572 resolveLocalFileSystemURL in camera.getPicture not works

Open
#273 2 comments 0 reactions 0 assignees View on GitHub
bug platform: android
Dominant language
JavaScript
Stars
744
Forks
754
Avg merge
3d 4h
Merged PRs (30d)
1

Description

Cross post of CB-13572

The following url returned from Camera plugin returns Error 5 on Android

```
window.resolveLocalFileSystemURL("storage/emulated/0/DCIM/Camera/VID_20180920_161949.mp4",
function(entry){
console.log("works ok");
},
function(error){
console.log(error);
});
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Android call to resolveLocalFileSystemURL with the path returned by the Camera plugin, as shown in the issue body. Inspect how the plugin handles this path and Error 5; done means the returned camera video URL resolves successfully on Android.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, javascript
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.