But I think the FileHelper class should be moved somewhere else (not sure where), so other plugins can use it and not just the camera plugin. I have a file chooser plugin and I use very similar code to get the real urls
2015-07-08 23:52 GMT+02:00 Joe Bowser <[email protected]>: > I just tried it and it doesn't work. I think we should probably adopt > this, since I don't have a better solution to this problem. I'll pull it > in tomorrow if I don't see any objections. > > On Wed, Jul 8, 2015 at 1:32 PM Joe Bowser <[email protected]> wrote: > > > That makes sense. I'll whitelist the Content URI and see if that > resolves > > the issue. I do think we need something to get real URIs on Android but > > this seems like the wrong place for it. > > > > On Wed, Jul 8, 2015, 1:21 PM Nikhil Khandelwal <[email protected]> > > wrote: > > > >> I remember seeing a PR, that mentioned content:// was not working > because > >> of the whitelist plugin not supporting it when '*' was specified and/or > >> because CSP did not include it. That PR and discussion did not go > anywhere: > >> https://github.com/apache/cordova-plugin-whitelist/pull/6 > >> > >> I have myself not tried the scenarios here and I wonder if they are > >> related. > >> > >> Thanks, > >> Nikhil > >> > >> > >> -----Original Message----- > >> From: Joe Bowser [mailto:[email protected]] > >> Sent: Wednesday, July 8, 2015 11:42 AM > >> To: dev > >> Subject: [Android] Camera Plugin Request > >> > >> Hey > >> > >> Since for some reason the browser doesn't resolve content URIs anymore, > >> I'm tempted to pull this into Camera. > >> > >> https://github.com/apache/cordova-plugin-camera/pull/93 > >> > >> The problem I have with it is the large amount of code that is being > >> added, and I want some more people to look at it before I OK it. If > that > >> could happen, that'd be awesome. > >> > >> Thanks > >> > > >
