Commit Graph

151 Commits

Author SHA1 Message Date
Dylan Vann 0104116bae Switch to always using a wrapping view.
This will now support using borderRadius within style for cropping for all corners
on iOS and Android in react-native@0.54.1.
2018-03-10 19:10:34 -05:00
Dylan Vann 3938371219 Update example react-native version. 2018-03-10 18:59:46 -05:00
Dylan Vann 20e709e9a8 Update start command and lockfile. 2018-03-10 18:43:06 -05:00
Dylan Vann 364869b4d8 Move example and example server.
Better folder naming.
2018-03-10 18:40:27 -05:00
Dylan Vann 38107d5b4f 2.2.6 2018-03-07 23:31:00 -05:00
Dylan Vann 763e811893 Fix merge issues. 2018-03-07 23:12:10 -05:00
Dylan Vann 557986f9b5
Merge pull request #74 from tablexi/dh-ensure-on-load-end-and-on-load-get-called
iOS: Ensure onLoad and onLoadEnd get called
2018-03-07 23:11:05 -05:00
Dylan Vann fd5e7357fa
Merge branch 'master' into dh-ensure-on-load-end-and-on-load-get-called 2018-03-07 23:10:43 -05:00
Dylan Vann 8cafd670bf Make property names consistent and add example. 2018-03-07 23:04:28 -05:00
Dylan Vann 438fd11dc1 Update project iOS project team. 2018-03-07 22:23:51 -05:00
Dan Hodos d9f7299154 iOS: Ensure onLoad and onLoadEnd get called
Setting properties from JS to native components does not guarantee any
order (as far as I know). Because of this, `setSource` can get called
and complete before `setOnFastImageLoad` and `setOnFastImageLoadEnd`,
which results in the callbacks never firing.

This change implements a simple check for these callback properties
getting set after the image has loaded, and fires them at that time.
2018-03-07 22:10:23 -05:00
Dylan Vann 3521132a51 2.2.5 2018-02-13 12:07:42 -05:00
Dylan Vann 9fe58bc7f3 Add borderRadius to type definitions. 2018-02-13 12:07:23 -05:00
Dylan Vann 32c5134b68
Update how-is-caching-handled.md 2018-02-03 23:50:40 -05:00
Dylan Vann c89e1500e1 2.2.4 2018-01-31 22:40:49 -05:00
Dylan Vann 82ce8246c0 Fix typings for enums. 2018-01-31 22:40:40 -05:00
Dylan Vann 050a0def71 2.2.3 2018-01-31 22:19:16 -05:00
Dylan Vann beea38eb81 Remove unused typelevel-ts. 2018-01-31 22:18:59 -05:00
Dylan Vann c35d51634f 2.2.2 2018-01-31 22:16:56 -05:00
Dylan Vann ac667495d2 Refactor typings. 2018-01-31 22:16:32 -05:00
Dylan Vann ab12d8de4f 2.2.1 2018-01-31 21:48:00 -05:00
Dylan Vann 7e7412e1f7 Add types to included files. 2018-01-31 21:47:53 -05:00
Dylan Vann 1579d5323e 2.2.0 2018-01-31 21:43:32 -05:00
Dylan Vann 01dea791b9
Merge pull request #116 from ascariandrea/types-definition
Created types definition.
2018-01-31 21:40:51 -05:00
Dylan Vann 99173cd0f5 Add test for not passing a uri. 2018-01-31 20:27:36 -05:00
Dylan Vann 864a73e09f 2.1.4 2018-01-31 20:23:26 -05:00
Dylan Vann 507df3db6a Fix prop order to be consistent. 2018-01-31 20:23:16 -05:00
Dylan Vann 1cf545253c
Merge pull request #132 from brunolemos/patch-1
Fix style prop not being passed to Image component.
2018-01-31 20:21:54 -05:00
Bruno Lemos f6beea6324
Fix style prop not being passed to Image component
Fix #130
2018-01-31 17:49:37 -02:00
Dylan Vann 5a67ff2cf0
Merge pull request #105 from coconautti/fix-documentation-default-resize-mode
Fix documentation for default resize mode.
2018-01-30 22:24:08 -05:00
Dylan Vann 8aa6c6bc13 Add documentation on how caching is handled. 2018-01-30 22:16:14 -05:00
Dylan Vann a78950dcf9 2.1.3 2018-01-30 22:04:40 -05:00
Dylan Vann d4210c0ed0 Fix default resizeMode on Android. 2018-01-30 22:04:33 -05:00
Dylan Vann b36b3a4618 2.1.2 2018-01-30 21:54:52 -05:00
Dylan Vann de4f40a3a3 Fix android caching / preloading. 2018-01-30 21:54:22 -05:00
Dylan Vann 906c81af78 Rename images. 2018-01-30 21:04:23 -05:00
Dylan Vann e8f6df93b2 Add rectangular border radius example. 2018-01-30 20:42:58 -05:00
Dylan Vann 194619921b Fix tests. 2018-01-30 20:36:30 -05:00
Dylan Vann 006d0b0a9b 2.1.1 2018-01-30 20:33:35 -05:00
Dylan Vann d4fb891a07 Update readme.
Add notes on border radius.
2018-01-30 20:33:26 -05:00
Dylan Vann 954432a284 2.1.0 2018-01-30 20:27:05 -05:00
Dylan Vann 0e33ea74bc Remove engines, it was causing issues for users. 2018-01-30 20:26:09 -05:00
Dylan Vann 82b469369d Put status bar underlay on main example page. 2018-01-30 20:24:45 -05:00
Dylan Vann 2df16ca038 Remove children support.
Keeping the API similar to Image.
2018-01-30 20:13:30 -05:00
Dylan Vann 6731991d14
Update README.md 2018-01-29 01:47:23 -05:00
Dylan Vann 3a33bdaa27 🔘 Add border radius support to android and refactor and update examples. 2018-01-29 01:42:29 -05:00
Dylan Vann 737452bfa8 Add gif from example. 2018-01-14 01:35:50 -05:00
Dylan Vann 6febcbf3f7 Remove flow comments. We weren't using it anyways. 2018-01-13 18:59:04 -05:00
Dylan Vann 74aee3afb8 Reload example with button instead of interval.
Show preloading outside of component.
2018-01-13 18:28:23 -05:00
Dylan Vann 07ee611c32 Make engines more permissive, update example. 2018-01-13 18:26:52 -05:00