Commit Graph

203 Commits

Author SHA1 Message Date
Dylan Vann 0aac5fa711 Merge branch 'master' of github.com:DylanVann/react-native-fast-image 2018-04-19 01:44:17 -04:00
Dylan Vann 3bcb02219c
Merge pull request #169 from tianling536/master
fixed cannot display local image on android
2018-03-19 08:00:03 -04:00
田领 62fc722872
fixed cannot display local image on android 2018-03-19 18:20:10 +08:00
田领 00e04535f3
fix cannot display local image on android 2018-03-19 18:18:56 +08:00
Dylan Vann 4b38b4ae88 4.0.0 2018-03-18 07:49:17 -04:00
Dylan Vann 6ac38f9617 Use gradle 3 for example. 2018-03-18 07:45:39 -04:00
Dylan Vann 86644acbcb
Merge pull request #164 from 100TAUSENDLUX-GROUP/master
better Quality Decoding for Android
2018-03-18 07:26:02 -04:00
Dylan Vann 5cc6201a79
Merge pull request #168 from DylanVann/revert-82-glide-v4
Revert "Upgrade android to Glide v4 "
2018-03-18 02:22:31 -04:00
Dylan Vann 71c5e63aee
Revert "Upgrade android to Glide v4 " 2018-03-18 02:22:12 -04:00
Dylan Vann 31126bcddc
Merge pull request #82 from october93/glide-v4
Upgrade android to Glide v4
2018-03-17 23:57:02 -04:00
Dylan Vann c315c34881
Merge branch 'master' into glide-v4 2018-03-17 23:56:32 -04:00
Dylan Vann 8e7ae60284 Setup cocoapods example. 2018-03-17 23:25:49 -04:00
Dylan Vann ab9285362c Setup example using react-native link. 2018-03-17 20:55:27 -04:00
Dylan Vann b2bf91d62b Create example folders / projects. 2018-03-17 20:37:26 -04:00
Dylan Vann 5035c2ecbb Fix test command. 2018-03-17 20:24:28 -04:00
Dylan Vann 22028b0307 Fix icons in example. 2018-03-17 20:21:58 -04:00
Dylan Vann 60130cb326 Move width and height to onLoad. Document dimensions event. 2018-03-17 20:05:24 -04:00
Dylan Vann eb78e9c2cd
Merge pull request #111 from OceanHorn/search_paths
Adding `Header Search Paths` to solve problems when:
2018-03-17 19:50:39 -04:00
Dylan Vann 709312725f
Call onLoadEnd regardless of if onFastImageError is defined.
onLoadEnd should always be called.
Thanks to @kdong007 for pointing this issue out.
2018-03-17 02:42:52 -04:00
Til Wessel 26042d472a Revert "deleted exampleCode"
This reverts commit 7eb051a752.
2018-03-14 14:40:34 +01:00
Til Wessel c81081417e Revert "fake commit"
This reverts commit 11d672bbbb.
2018-03-14 14:40:24 +01:00
Til Wessel 11d672bbbb fake commit 2018-03-14 14:15:09 +01:00
Til Wessel 7eb051a752 deleted exampleCode 2018-03-14 13:27:06 +01:00
Til Wessel efbb1c2dd5 set the GlideBuilder to use higher quality decoding 2018-03-14 10:47:18 +01:00
Dylan Vann 8279ecda47
Merge pull request #107 from jeremyclee/resource-info-onloadend
Added resource width and height information to the onFastImageLoad an…
2018-03-11 19:35:21 -04:00
Dylan Vann 8f857af34d Format podspec. 2018-03-11 19:28:54 -04:00
Dylan Vann 04865c210a Fix tests. Update dependencies and format command. 2018-03-11 19:19:39 -04:00
Dylan Vann 753420bb17 Update vector icons. 2018-03-11 19:17:59 -04:00
Dylan Vann e4e67307a5
Merge pull request #143 from patrickkempff/master
[iOS] Added CocoaPods compatibility
2018-03-11 19:06:19 -04:00
Dylan Vann a4ac9f2834
Merge branch 'master' into master 2018-03-11 19:06:01 -04:00
Dylan Vann ec8e5dd496 3.0.2 2018-03-10 19:16:27 -05:00
Dylan Vann a4ce9c0ec5 Update readme. 2018-03-10 19:16:16 -05:00
Dylan Vann 78dba6de9e 3.0.1 2018-03-10 19:14:48 -05:00
Dylan Vann 961fa9b82e Rename to index. Remove unused utils. 2018-03-10 19:14:36 -05:00
Dylan Vann aff03a8651 3.0.0 2018-03-10 19:12:45 -05:00
Dylan Vann 5cff979757 Update snapshot. 2018-03-10 19:12:19 -05:00
Dylan Vann 39af5768b5 Prettier. 2018-03-10 19:10:59 -05:00
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
Jeremy Lee a3b56dd8b6 added width and height to load end in iOS 2018-03-09 15:38:09 -08:00
Patrick Kempff 04257fd444 Added podspec reference to package.json 2018-03-08 07:13:27 +01: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