457 Commits

Author SHA1 Message Date
Jeremy Lee
eae1c7a486 Added resource width and height information to the onFastImageLoad and onFastImageLoadEnd events 2017-12-12 13:34:29 -08:00
Bart Tegenbosch
eac670b2dc Use OkHttpClientProvider to allow extending preconfigurated clients. 2017-12-07 23:47:36 +01:00
Dylan Vann
c508247542
Update README.md 2017-12-02 19:44:58 -05:00
Dylan Vann
d86246fa53 v2.0.0 v2.0.0 2017-11-30 00:05:23 -05:00
Dylan Vann
1eb2f4d53e Add packed version to gitignore. 2017-11-30 00:01:27 -05:00
Dylan Vann
b4b1794258 Update dependencies. Remove support for View.propTypes. 2017-11-29 23:45:54 -05:00
Dylan Vann
a388be82cd Use global import syntax. 2017-11-29 23:23:46 -05:00
Dylan Vann
b45acef707 Merge branch 'master' into wz366-master
# Conflicts:
#	package.json
2017-11-29 22:34:02 -05:00
Dylan Vann
40b4c88585 Update prettier files. 2017-11-29 22:32:48 -05:00
Dylan Vann
ddd57d32e1 Change to prepare script, remove changes to SDWebImage. 2017-11-29 22:29:43 -05:00
Dylan Vann
f4ab55c3d5 Merge branch 'master' of https://github.com/wz366/react-native-fast-image into wz366-master 2017-11-29 22:23:55 -05:00
Dylan Vann
a6b1e48696
Merge pull request #64 from tdekoning/master
Image resizing - Fixing resizemode support.
2017-11-29 22:21:29 -05:00
Dylan Vann
cf07dd2a82 Update the example app and docs. 2017-11-29 22:02:37 -05:00
Dylan Vann
12d58a27cb Add supported node and yarn versions. 2017-11-28 23:52:39 -05:00
Dylan Vann
711151df72 Update circle config to 2.0. 2017-11-28 23:37:46 -05:00
Dylan Vann
d43330eb76 Update dependencies. 2017-11-28 23:26:03 -05:00
Kingsley Ochu
061c9475c2 Remove redundant meta-data from manifest 2017-11-14 19:40:53 +01:00
Kingsley Ochu
66c0e16795 Clear up unused imports 2017-11-14 12:27:40 +01:00
Kingsley Ochu
ee408a9eb7 Add a custom request listener class 2017-11-14 11:48:16 +01:00
Kingsley Ochu
610a264e23 Refactor ViewManager to match glide 4 requirements 2017-11-14 11:46:42 +01:00
Kingsley Ochu
4625953e9d Implement LibraryGlideModule as GlideModule has been deprecated 2017-11-13 11:45:16 +01:00
Dylan Vann
17a5a7e96e Merge branch 'iRoachie-viewPropTypes' 2017-11-12 14:22:10 -05:00
Dylan Vann
1d9ca5aa7f Merge branch 'viewPropTypes' of https://github.com/iRoachie/react-native-fast-image into iRoachie-viewPropTypes 2017-11-12 14:21:29 -05:00
Kingsley Ochu
29741ea140 Update fastimage module to use RequestOptions 2017-11-12 11:44:08 +01:00
Kingsley Ochu
09b46283ea Upgrade glide, okhtt3 to 4.3.1 2017-11-11 11:42:49 +01:00
Dylan Vann
d7d0038e49
Merge pull request #30 from iRoachie/fixes
Allow number as source
2017-11-05 23:13:29 -05:00
Wes Zheng
1d16c7c218 Fix for yarn not fetching git submodules 2017-10-30 19:22:48 -07:00
Wes Zheng
4e2dba4924 Minor import style fix 2017-10-30 19:22:29 -07:00
Wes Zheng
8859f63041 use application context to avoid deallocated view error when split screen on android 2017-10-20 10:40:06 -07:00
Dan Hodos
ddebbc146b 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.
2017-10-19 11:48:22 -05:00
Ted de Koning
c2bcb78fac Image resizing - Fixing resizemode support. 2017-09-15 16:38:34 +02:00
Dylan Vann
f2d96719ac 1.0.0 v1.0.0 2017-08-08 01:08:04 -04:00
Dylan Vann
bdf86d0ebf 0.1.4 v0.1.4 2017-08-07 23:53:37 -04:00
Dylan Vann
f21522c409 Fix adding more views as listeners for a URL.
You cannot add items to a Collections.singleTonList...
2017-08-07 23:53:24 -04:00
Aaron Taylor
367024bcbd Remove override of createJSModules
Since of recently in master the unused createJSModules has been removed and ReactPackage's no longer contain the definition of createJSModules. There for it must be removed in order to not yield a compile error. This is breaking change.

facebook/react-native@ce6fb33
2017-08-07 23:24:59 -04:00
Dylan Vann
d15c0722ed 0.1.3 v0.1.3 2017-08-07 22:31:49 -04:00
Dylan Vann
7dae162bfb 0.1.2 v0.1.2 2017-08-07 22:29:11 -04:00
Kyle
5c18fb656c Gracefully deprecate View.propTypes 2017-08-02 10:33:03 -04:00
Kyle
5f59333a8d Allow number as source 2017-08-02 10:25:09 -04:00
Dylan Vann
d83b01e82c Update README.md 2017-07-30 21:55:21 -04:00
Dylan Vann
5831d22653 Merge pull request #18 from DylanVann/feat/progress
Feat/progress.
2017-07-26 22:29:55 -04:00
Dylan Vann
a60fd67919 Fix style. 2017-07-26 22:25:23 -04:00
Dylan Vann
0629faccce 0.1.1 2017-07-26 22:04:05 -04:00
Dylan Vann
aa6c1836e7 Fix android progress events. 2017-07-26 21:57:15 -04:00
Dylan Vann
5205ef4a4e 0.1.0 2017-07-26 21:45:01 -04:00
Dylan Vann
8953b5aecd Add test of multiple progress callbacks to example. 2017-07-26 21:33:21 -04:00
Dylan Vann
1666f7c4e5 Make android and iOS view loading events conform to API of React Native's Image.
This will make using this library as a drop in replacement easier.
This commit also fixes some issues in the android progress implementation.
2017-07-25 00:44:08 -04:00
Dylan Vann
6c720f5020 Fix iOS progress implementation to conform to React Native's image.
Includes:

- onLoadStart
- onProgress
- onError
- onLoad
- onLoadEnd

Also changes to use the prop-types package.
2017-07-23 22:28:35 -04:00
Dylan Vann
7e0b966595 Format with prettier. Remove PropTypes. Fix tests. 2017-07-05 04:22:59 -04:00
Dylan Vann
c643347d4c Add android progress callback. 2017-07-05 04:10:21 -04:00