Commit Graph

161 Commits

Author SHA1 Message Date
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
Dylan Vann ad4d8a5fe6 Add progress events for iOS. 2017-07-03 21:58:24 -04:00
Dylan Vann 02fd00c4a6 Update project to latest react native version. 2017-06-27 22:47:56 -04:00
Dylan Vann 46dab47e0c Update README. 2017-06-27 22:13:31 -04:00
Dylan Vann af13402d9b 0.0.11 2017-06-20 03:31:49 -04:00
Dylan Vann 5b2071bcdb 0.0.10 2017-06-20 03:31:37 -04:00
Dylan Vann 4e69ddd099 Merge branch 'fjcaetano-feature/prefetch' 2017-06-20 03:11:28 -04:00
Dylan Vann 46e08b46e2 Update to support preloading sources.
Sources for preloading have the same keys as the source prop.
Also update readme to document preloading.
2017-06-20 03:10:56 -04:00
Dylan Vann c21c24c4de Improve code style of examples.
Consts are preferable because readers don't have to think about potential
future code paths affecting the value.
2017-06-20 00:53:32 -04:00
Dylan Vann d2e13b958e Simplify start command. 2017-06-20 00:49:38 -04:00
Dylan Vann 1398551b19 Format with prettier. 2017-06-19 21:50:55 -04:00
Flávio Caetano 4c87fc0337 Enables prefetching images 2017-06-08 18:52:59 -03:00
Dylan Vann 1d25cb23a5 Update README.md 2017-05-04 03:31:01 -04:00
Dylan Vann 3141ee590f Fix TabBar in example. 2017-05-04 02:55:26 -04:00
Dylan Vann 5a93fee689 Update React Native and add gif support to iOS. 2017-05-04 02:45:28 -04:00
Dylan Vann ed3763fa94 Update README.md 2017-05-03 01:19:42 -04:00
Dylan Vann c3af8d87b6 0.0.9 2017-05-03 00:57:03 -04:00
Dylan Vann 7d77141bbc 0.0.8 2017-05-03 00:55:58 -04:00
Dylan Vann fa53ed94f1 Fix submodule installation. 2017-05-03 00:49:03 -04:00
Dylan Vann a259e17ae2 Remove unused image. 2017-04-28 15:47:08 -04:00
Dylan Vann 1f0acfccf6 Run prettier. 2017-04-28 11:31:58 -04:00
Dylan Vann 0939223060 0.0.7 2017-04-28 11:28:36 -04:00
Dylan Vann e1c7b98362 Add development instructions, credits, and licenses sections. 2017-04-28 11:27:58 -04:00
Dylan Vann 77cd58a272 Fix Xcode project. 2017-04-28 11:13:56 -04:00
Dylan Vann 6411ccf7da Add header search paths to library project. 2017-04-28 10:51:38 -04:00
Dylan Vann 494b8db09c Move Libraries to Vendor. 2017-04-28 10:47:30 -04:00
Dylan Vann cc42a43f43 Remove BuddyBuild configuration. 2017-04-28 10:45:26 -04:00
Dylan Vann 07a424ac09 Add logging of yarn workaround. 2017-04-24 17:04:30 -04:00
Dylan Vann 8729f77985 Attempt to fix yarn / BuddyBuild issue.
https://github.com/yarnpkg/yarn/issues/685
2017-04-24 16:46:30 -04:00
Dylan Vann b742aa70a0 0.0.6 2017-04-20 10:05:15 -04:00
Dylan Vann 52405ea616 Update prettier test name. 2017-04-20 10:05:02 -04:00
Dylan Vann abffb8fb28 Fix root ref for plain Image component. 2017-04-20 10:04:17 -04:00
Dylan Vann 4bba6db73a 0.0.5 2017-04-19 13:00:47 -04:00
Dylan Vann d6e9bc8313 🐛 Forward setNativeProps. Makes this component work with TouchableOpacity.
Fixes #1.
2017-04-19 12:59:02 -04:00
Dylan Vann e2635f7a3d Make README consistent. 2017-04-19 02:31:34 -04:00
Dylan Vann be4d624f55 0.0.4 2017-04-18 12:01:49 -04:00
Dylan Vann e98bacc84f Fix onLoad and onError on iOS. 2017-04-18 11:57:18 -04:00
Dylan Vann a891bcf014 0.0.3 2017-04-18 11:36:04 -04:00
Dylan Vann ebe6e86e0f Make jest ignore server project. 2017-04-18 11:34:43 -04:00
Dylan Vann ba3174ee48 Make FastImageExample work without a local server. 2017-04-18 11:34:36 -04:00
Dylan Vann 26fbc2fd98 Remove unused image. 2017-04-18 11:26:30 -04:00
Dylan Vann bd6cb0cae4 Remove cancellation code since sd_setImageWithURL already handles cancellation. 2017-04-18 10:53:30 -04:00
Dylan Vann 2e2a4175c4 🚫 Add error state. 2017-04-18 10:43:35 -04:00
Dylan Vann 9da1845f3b Add prettier-check to test. 2017-04-18 02:06:21 -04:00
Dylan Vann d6c4687a5c 🗒 sort-package-json. 2017-04-18 02:05:10 -04:00
Dylan Vann d36ad2d351 Run prettier. 2017-04-18 01:52:09 -04:00
Dylan Vann d36b4b5c4b Run prettier on example files and server. 2017-04-18 01:51:34 -04:00