Commit Graph

29 Commits

Author SHA1 Message Date
Dylan Vann f31a44fc07
Upgrade to glide 4 with progress listeners working. (#201) 2018-05-10 02:40:04 -04:00
Dylan Vann 1edb6fd76a Remove unused imports. 2018-05-08 16:24:36 -04:00
Dylan Vann a4e6ef3002 Revert increasing buildToolsVersion and targetSdkVersion. 2018-05-06 03:47:33 -04:00
Dylan Vann 52ccc8ce9a Revert change to android manifest. 2018-05-06 03:44:02 -04:00
Dylan Vann bf67634a44 Fix android project. 2018-05-06 03:39:22 -04:00
Dylan Vann 1cbc838e33
Merge pull request #101 from btegenbosch/hotfix/use-okhttpclient-provider
Use OkHttpClientProvider to allow extending preconfigured clients.
2018-05-03 12:17:55 -04:00
Dylan Vann be1564fe54 Invert if to reduce nesting. 2018-04-24 22:57:26 -04:00
Dylan Vann 599abfafaa
Merge pull request #172 from Kouznetsov/master
Added null check on  getCurrentActivity()'s return value.
2018-04-24 22:54:57 -04:00
Rayron Victor bbdfd33aaf Using SDK Version variables from root project
Instead of assuming the `compileSdkVersion`, `targetSdkVersion`, etc, read it from the root project.
Default `compileSdkVersion` and `targetSdkVersion` to the latest versions.

Android Target API Level 26 will be required in August 2018.
https://android-developers.googleblog.com/2017/12/improving-app-security-and-performance.html
And the React Native team is already working on this:
facebook/react-native#17741
facebook/react-native#18095
2018-04-24 14:56:37 -03:00
Karim Harat 6099d91c23 Added null check on getCurrentActivity()'s return value 2018-03-27 11:18:05 +02: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 d4210c0ed0 Fix default resizeMode on Android. 2018-01-30 22:04:33 -05:00
Dylan Vann de4f40a3a3 Fix android caching / preloading. 2018-01-30 21:54:22 -05:00
Bart Tegenbosch e657a168e8 Added missing OkHttpClientProvider import. 2018-01-29 21:03:08 +01:00
Jeremy Lee 6c1d1f805b fixed error with submitting the same map to the event emitter 2018-01-03 14:20:44 -08:00
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 b45acef707 Merge branch 'master' into wz366-master
# Conflicts:
#	package.json
2017-11-29 22:34:02 -05: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
Ted de Koning c2bcb78fac Image resizing - Fixing resizemode support. 2017-09-15 16:38:34 +02: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 aa6c1836e7 Fix android progress events. 2017-07-26 21:57:15 -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 c643347d4c Add android progress callback. 2017-07-05 04:10:21 -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
Flávio Caetano 4c87fc0337 Enables prefetching images 2017-06-08 18:52:59 -03:00
Dylan Vann 1ee6d37bd4 🚩 Initial commit. 2017-04-17 18:42:16 -04:00