[ https://issues.apache.org/jira/browse/CB-9193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14962616#comment-14962616 ]
ASF GitHub Bot commented on CB-9193: ------------------------------------ Github user dpolivy commented on the pull request: https://github.com/apache/cordova-plugin-camera/pull/104#issuecomment-149044779 @jcesarmobile Is this a quirk just because it's only implemented on iOS, Android, and WP? @infil00p Actually, it is consistent on Android, and has nothing to do with whether the device has a library icon on their Camera activity (I'm not sure that any do?). We're simply showing an Intent Chooser that lets the user choose which Activity they want to launch, and the list includes all of the camera and file activities found on their device. That is consistent across all Android devices. And it's using the exact same intents that would be used if you chose to show the camera or library. Give it a try and see the behavior for yourself. I still think this feature is valuable and provides a better user experience in certain circumstances. We've had success using this in our app, and being a good citizen I've tried to make it available for others to take advantage of. There are some native limitations here, but if you truly wanted a consistent camera experience and UI across all platforms, you'd basically have to write to the raw camera APIs on each platform which is a significant departure from the current approach of this plugin. > [Camera] Add option to choose from library even if source is camera > ------------------------------------------------------------------- > > Key: CB-9193 > URL: https://issues.apache.org/jira/browse/CB-9193 > Project: Apache Cordova > Issue Type: Improvement > Components: Plugin Camera > Reporter: Dan Polivy > > There are many scenarios where an app might allow a user to take a picture > via the camera, OR choose a photo from their library. With the current camera > plugin implementation, the developer must first present some type of chooser > UI to allow the user to initiate either the camera, or the library. > A potentially more efficient approach is to launch the camera by default, and > within the camera UI provide an option to switch over to the library -- > similar to the way the default Camera app works in iOS. > I am working on a PR to add this functionality via a new CameraOptions > setting. -- 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