+1 for documenting how uri's should be treated as per Josh's suggestion -1 for documenting in Next Steps or File Plugin, it would make this information extremely hard to find. How about a "URI's, Cordova and You" document for the core Cordova docs?
On Tue, Aug 19, 2014 at 12:13 PM, Marcel Kinard <[email protected]> wrote: > +1. Candidate for best practices section in "Next Steps" guide, or in the > File plugin docs? > > On Aug 19, 2014, at 9:49 AM, Josh Soref <[email protected]> wrote: > > > Vivek wrote: > >> Should'nt the camera plugin be standardized to return a common uri > >> scheme, By converting to a standard uri scheme before passing it to the > >> callbackContext. > > > > URIs should be treated as opaque. You shouldn't be relying on the URI to > > be anything, beyond something which can be resolved/loaded. > > > > I'm not opposed to picking some random protocol, but I'd rather we > > actively document that people should not be trying to parse URIs for any > > particular purpose, and should treat them as opaque references to data. > > > >
