[
https://issues.apache.org/jira/browse/CB-8777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14995637#comment-14995637
]
ASF GitHub Bot commented on CB-8777:
------------------------------------
Github user thehuijb commented on a diff in the pull request:
https://github.com/apache/cordova-plugin-camera/pull/80#discussion_r44224879
--- Diff: src/android/CameraLauncher.java ---
@@ -270,18 +279,20 @@ public void getImage(int srcType, int returnType, int
encodingType) {
croppedUri = null;
if (this.mediaType == PICTURE) {
intent.setType("image/*");
- if (this.allowEdit) {
+ if (this.onlyGalleries) {
--- End diff --
you're probably right, but since the allowEdit option was already forcing
the galleries only option, I thought this way would have the least impact
> add android option to only display gallery type apps on getImage
> ----------------------------------------------------------------
>
> Key: CB-8777
> URL: https://issues.apache.org/jira/browse/CB-8777
> Project: Apache Cordova
> Issue Type: New Feature
> Components: Plugin Camera
> Environment: Android
> Reporter: Serge Huijben
> Priority: Minor
> Labels: Triaged, android, features
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> Add an option to allow only Gallery type apps to launch on getImage.
> current behaviour would launch an activity that allows the use to select
> files from filesystem, remote filesystem (drive, dropbox, onedrive, etc) and
> galleries.
> I would like to add a switch option onlyGalleries that if set to true would
> allow the user to only get images from gallery type apps on the device.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]