Commit Graph

6 Commits

Author SHA1 Message Date
Marco Cimmino 544dd9d473 Unify returned value between Android and iOS implementation, (#83)
previously Android implementation worked differently and to the returned
absolute path a 'file:' is prepended.

This different behaviour may causes issues/bugs when handling the response from an
unified code base point of view and also the returned uri on the Android native code
is not generated properly using native functions to do so.

This patch fixes this incoherence, but also extends the returned value to add:
absolute path, file name, file size and the uri.
Refactored Android code to make it easier to read and more robust to
case sensitive file names.
2017-07-18 23:05:26 +02:00
cfogelklou af2a09e1d8 Add basic support for rotation on iOS (#46) 2016-09-20 17:08:27 +02:00
Luke Fanning 9b3d0fd29b Add support for PNG compression on iOS (#43) 2016-09-12 19:57:49 +02:00
superAndrew af9f77d965 Add outputPath to options (#16)
* Add outputPath for android

* Add outputPath for ios

* Update readme

* Move outputPath to the end

* Update readme
2016-06-30 19:07:42 +02:00
Almouro 125365ec6b Handle images from RCT Image store
On iOS, when cropping an image with ImageEditor, it returns an uri starting with rct-image-store which could not be read by this module
2016-03-17 19:21:03 +01:00
Florian Rival 0d4db6341f Initial commit 2015-12-02 22:02:19 +01:00