Commit Graph

4 Commits

Author SHA1 Message Date
AntoineDoubovetzky ca0de304b9 style: use prettier 2018-06-13 19:34:15 +02:00
Gerhard de Clercq 615b06ea0e
Export under default in d.ts
The current typings do not work at all as they do not expect the function to be under 'default' and this means that either ts fails or your code does not work. My proposal here works but it suggests that a class exists even though it doens't but I am not sure how to do it in another way. Even though this is technically wrong it is better than what is now used.
2017-12-17 10:42:07 +02:00
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
William Candillon d762433fe8 Create index.d.ts (#64) 2017-01-30 14:06:30 +01:00