To be correct, it is not disabled anywhere, it was previously implemented for iOS only. The iOS native camera/capture view has an additional boolean property to allow the user to crop+pan a photo in place before returning to the app. This was exposed in the cordova camera api on iOS only. In like 2011.
More recently ( last year [1] ) the same feature landed in Android, however, it is not exactly the same thing. On Android, there is no guarantee that the Crop-Intent exists, in which case it doesn't matter if the cordova-camera getPicture method was called with allowEdit or not. Also, on some devices, there are multiple apps providing a Crop-Intent, so the user will have to choose one. There are tests for it, but of course, they are manual ... Should we update the docs and claim Android support for it, or does it have usability/implementation issues that make us not want it? [1] https://github.com/apache/cordova-plugin-camera/pull/12 @purplecabbage risingj.com On Tue, Mar 31, 2015 at 1:56 PM, Raymond Camden <raymondcam...@gmail.com> wrote: > From what I could see, every platform - but iOS - has it disabled. > (imo, when a feature is ONE platform only, it should really be called > out earlier in the docs.) Going to make a demo now cuz I want to see > too. > > On Tue, Mar 31, 2015 at 3:06 PM, Joe Bowser <bows...@gmail.com> wrote: > > What does allowEdit do? Does it crop across devices? The problem is that > > this is super vague and doesn't make any sense. Edit can mean anything > from > > a file permission to "Open Photoshop Mobile". If there's a thread where > we > > decided on it, that'd be cool, but right now it smells like an > undocumented > > feature. > > > > On Tue, Mar 31, 2015, 11:18 AM Shazron <shaz...@gmail.com> wrote: > > > >> Isn't this just allowEdit? > >> https://github.com/apache/cordova-plugin-camera/pulls? > >> utf8=✓&q=is%3Apr+is%3Aclosed+crop+ > >> < > https://github.com/apache/cordova-plugin-camera/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aclosed+crop+ > > > >> > >> On Tue, Mar 31, 2015 at 10:38 AM, Joe Bowser <bows...@gmail.com> wrote: > >> > Hey > >> > > >> > I'm working on Camera plugin issues in JIRA, and I noticed that we > added > >> > Crop to the Camera plugin. I'm wondering when this was done, and > where > >> the > >> > JIRA issue or discussion of adding this feature took place. I'm > pretty > >> > sure this feature wasn't added properly to Android, since it seems to > >> > interrupt how the camera works pretty substantially. > >> > > >> > Can anyone direct me to where any of this took place so that I can > read > >> the > >> > justification as to why we added it? If it doesn't exist, I'm > probably > >> > going to create a JIRA issue for putting it in properly, since I'm > sure > >> > some users are expecting it. > >> > > >> > Joe > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org > >> For additional commands, e-mail: dev-h...@cordova.apache.org > >> > >> > > > > -- > =========================================================================== > Raymond Camden, Developer Advocate for MobileFirst at IBM > > Email : raymondcam...@gmail.com > Blog : www.raymondcamden.com > Twitter: raymondcamden > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org > For additional commands, e-mail: dev-h...@cordova.apache.org > >