cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Kinard <cmarc...@gmail.com>
Subject Re: CB-7312 Camera Plugin uri scheme
Date Tue, 19 Aug 2014 19:13:04 GMT
+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 <jsoref@blackberry.com> 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.
> 


Mime
View raw message