You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Michael Schmidt (JIRA)" <ji...@apache.org> on 2015/10/29 08:25:27 UTC
[jira] [Created] (CB-9897) android getPicture() with
destinationType FILE_URI returns content provider instead of file url
Michael Schmidt created CB-9897:
-----------------------------------
Summary: android getPicture() with destinationType FILE_URI returns content provider instead of file url
Key: CB-9897
URL: https://issues.apache.org/jira/browse/CB-9897
Project: Apache Cordova
Issue Type: Bug
Components: Plugin Camera
Affects Versions: 1.2.0
Reporter: Michael Schmidt
Camera options:
- destinationType: Camera.DestinationType.FILE_URI,
Situation: getPicture() on android returns content provider instead of file url
Problem: Other platforms return the file url - camera on android is inconsistent
This requires for every camera usage a workaround on android - there is even a plugin for this: https://github.com/hiddentao/cordova-plugin-filepath
-> $window.FilePath.resolveNativePath(fileUrl, function(fileEntry)
-> directly resolve to native file url on android
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org