[
https://issues.apache.org/jira/browse/CB-10488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15608423#comment-15608423
]
ASF GitHub Bot commented on CB-10488:
-------------------------------------
Github user vladimir-kotikov commented on the issue:
https://github.com/apache/cordova-plugin-media-capture/pull/53
Tested and confirm, it works well. Also there is a couple of manual tests
added for this in 7e28e9cb1d60e54ecb1e29e61d38329d9c0e62f0
> MediaFile.getFormatData does not work with localURL; changed with fullPath
> --------------------------------------------------------------------------
>
> Key: CB-10488
> URL: https://issues.apache.org/jira/browse/CB-10488
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Media Capture
> Environment: Android, iOS
> Reporter: Tanase Butcaru
> Labels: Android, iOS, media-capture, triaged
>
> _MediaFile.getFormatData_ result data was empty (filled with default "0"
> values) for all types of capture: image, video & audio.
> Problem encountered on Android & iOS.
> I solved this by changing the url passed to native code from _localURL_ to
> _fullPath_.
> Tested with two different Android phones (5.1 & 4.4) & one iPhone 5 (iOS 9).
> The fix works!
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]