[jira] [Commented] (CB-11995) Media Capture plugin's captureImage crashes the app on Android 7.0

2016-12-07 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-11995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15730605#comment-15730605
 ] 

ASF subversion and git services commented on CB-11995:
--

Commit 108c2eff02700c90103e63c09e8144d965aff03f in 
cordova-plugin-media-capture's branch refs/heads/1.4.x from [~alsorokin]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-media-capture.git;h=108c2ef
 ]

CB-11995 (android) Do not pass a file URI to the camera


> Media Capture plugin's captureImage crashes the app on Android 7.0
> --
>
> Key: CB-11995
> URL: https://issues.apache.org/jira/browse/CB-11995
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
>Reporter: Alexander Sorokin
>Assignee: Alexander Sorokin
>  Labels: triaged
>
> This issue can be reproduced by running media capture plugin's manual tests.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-11995) Media Capture plugin's captureImage crashes the app on Android 7.0

2016-10-12 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-11995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15568240#comment-15568240
 ] 

ASF GitHub Bot commented on CB-11995:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cordova-plugin-media-capture/pull/72


> Media Capture plugin's captureImage crashes the app on Android 7.0
> --
>
> Key: CB-11995
> URL: https://issues.apache.org/jira/browse/CB-11995
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
>Reporter: Alexander Sorokin
>Assignee: Alexander Sorokin
>  Labels: triaged
>
> This issue can be reproduced by running media capture plugin's manual tests.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-11995) Media Capture plugin's captureImage crashes the app on Android 7.0

2016-10-12 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-11995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15568238#comment-15568238
 ] 

ASF subversion and git services commented on CB-11995:
--

Commit 108c2eff02700c90103e63c09e8144d965aff03f in 
cordova-plugin-media-capture's branch refs/heads/master from [~alsorokin]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-media-capture.git;h=108c2ef
 ]

CB-11995 (android) Do not pass a file URI to the camera


> Media Capture plugin's captureImage crashes the app on Android 7.0
> --
>
> Key: CB-11995
> URL: https://issues.apache.org/jira/browse/CB-11995
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
>Reporter: Alexander Sorokin
>Assignee: Alexander Sorokin
>  Labels: triaged
>
> This issue can be reproduced by running media capture plugin's manual tests.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-11995) Media Capture plugin's captureImage crashes the app on Android 7.0

2016-10-12 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-11995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15568128#comment-15568128
 ] 

ASF GitHub Bot commented on CB-11995:
-

Github user vladimir-kotikov commented on the issue:

https://github.com/apache/cordova-plugin-media-capture/pull/72
  
LGTM  


> Media Capture plugin's captureImage crashes the app on Android 7.0
> --
>
> Key: CB-11995
> URL: https://issues.apache.org/jira/browse/CB-11995
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
>Reporter: Alexander Sorokin
>Assignee: Alexander Sorokin
>  Labels: triaged
>
> This issue can be reproduced by running media capture plugin's manual tests.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-11995) Media Capture plugin's captureImage crashes the app on Android 7.0

2016-10-12 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-11995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15568066#comment-15568066
 ] 

ASF GitHub Bot commented on CB-11995:
-

Github user cordova-qa commented on the issue:

https://github.com/apache/cordova-plugin-media-capture/pull/72
  
Cordova CI Build has one or more failures. 

**Commit** - 
[Link](https://github.com/apache/cordova-plugin-media-capture/pull/72/commits/108c2eff02700c90103e63c09e8144d965aff03f)
**Dashboard** - 
[Link](http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-capture-pr/29/)

| Builder Name  | Console Output | Test Report | Device Logs  |
| :---: | :---:  |   :---: | :---:|
| [Windows 8.1 Store]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-capture-pr/29//PLATFORM=windows-8.1-store/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-capture-pr/29//PLATFORM=windows-8.1-store/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-capture-pr/29//PLATFORM=windows-8.1-store/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-capture-pr/29//PLATFORM=windows-8.1-store/artifact/)
 |
| [Windows 10  Store]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-capture-pr/29//PLATFORM=windows-10-store/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-capture-pr/29//PLATFORM=windows-10-store/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-capture-pr/29//PLATFORM=windows-10-store/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-capture-pr/29//PLATFORM=windows-10-store/artifact/)
 |
| [Windows 8.1 Phone]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-capture-pr/29//PLATFORM=windows-8.1-phone/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-capture-pr/29//PLATFORM=windows-8.1-phone/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-capture-pr/29//PLATFORM=windows-8.1-phone/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-capture-pr/29//PLATFORM=windows-8.1-phone/artifact/)
 |
| [iOS]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-capture-pr/29//PLATFORM=ios/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-capture-pr/29//PLATFORM=ios/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-capture-pr/29//PLATFORM=ios/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-capture-pr/29//PLATFORM=ios/artifact/)
 |
| [Android]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-capture-pr/29//PLATFORM=android/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-capture-pr/29//PLATFORM=android/console)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-capture-pr/29//PLATFORM=android/testReport/)
 | [Link]( 
http://cordova-ci.cloudapp.net:8080/job/cordova-plugin-media-capture-pr/29//PLATFORM=android/artifact/)
 |
 



> Media Capture plugin's captureImage crashes the app on Android 7.0
> --
>
> Key: CB-11995
> URL: https://issues.apache.org/jira/browse/CB-11995
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
>Reporter: Alexander Sorokin
>Assignee: Alexander Sorokin
>  Labels: triaged
>
> This issue can be reproduced by running media capture plugin's manual tests.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-11995) Media Capture plugin's captureImage crashes the app on Android 7.0

2016-10-11 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-11995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15565780#comment-15565780
 ] 

ASF GitHub Bot commented on CB-11995:
-

GitHub user alsorokin opened a pull request:

https://github.com/apache/cordova-plugin-media-capture/pull/72

CB-11995 (android) Do not pass a file uri to the camera

### Platforms affected
Android

### What does this PR do?
Fixes an image capture not to throw a FileUriExposedException on Android 7.0
https://issues.apache.org/jira/browse/CB-11995

### What testing has been done on this change?
Tested on Android 7.0 emulator as well as on various API level 19-22 
emulators.

### Checklist
- [x] [Reported an issue](https://issues.apache.org/jira/browse/CB-11995) 
in the JIRA database
- [x] Commit message follows the format: "CB-3232: (android) Fix bug with 
resolving file paths", where CB- is the JIRA ID & "android" is the platform 
affected.
- [ ] Added automated test coverage as appropriate for this change - *this 
can be tested only by manual test*.



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/alsorokin/cordova-plugin-media-capture 
CB-11995

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-plugin-media-capture/pull/72.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #72


commit 108c2eff02700c90103e63c09e8144d965aff03f
Author: Alexander Sorokin 
Date:   2016-10-11T15:04:32Z

CB-11995 (android) Do not pass a file URI to the camera




> Media Capture plugin's captureImage crashes the app on Android 7.0
> --
>
> Key: CB-11995
> URL: https://issues.apache.org/jira/browse/CB-11995
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
>Reporter: Alexander Sorokin
>Assignee: Alexander Sorokin
>  Labels: triaged
>
> This issue can be reproduced by running media capture plugin's manual tests.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-11995) Media Capture plugin's captureImage crashes the app on Android 7.0

2016-10-11 Thread Alexander Sorokin (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-11995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15565628#comment-15565628
 ] 

Alexander Sorokin commented on CB-11995:


The problem seems to be that we're passing a file URI to Camera app, which is 
not allowed in Android 7.0:
https://developer.android.com/reference/android/os/FileUriExposedException.html

> Media Capture plugin's captureImage crashes the app on Android 7.0
> --
>
> Key: CB-11995
> URL: https://issues.apache.org/jira/browse/CB-11995
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Media Capture
>Reporter: Alexander Sorokin
>Assignee: Alexander Sorokin
>  Labels: triaged
>
> This issue can be reproduced by running media capture plugin's manual tests.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org