- Fix: Invalid type cast in image not found check
- Breaking: ImageNotFoundException.originalException is now of type
Object
instead ofPlatformException
- Feat: Fallback url support added in
FirebaseImageProvider
- Fix: ImageNotFoundException not thrown when the file is not found on the server
- Update firebase_core and firebase_storage dependencies' max version
CacheOptions.metadataRefreshInBackground
field removed (Breaking).CacheOptions.checkForMetadataChange
field deprecated and usedCacheOptions.checkIfFileUpdatedOnServer
field instead.- Fixed
FirebaseCacheManager.clearCache
method not clearing db entries. FirebaseCacheManager.copyToCache
method added- Tests added
- Minor fixes (#19)
- Fixed bug in
FirebaseCacheManager.getSingleFile
method not checking for whether the file exists or not.
- Upgrade uuid dependency to >=3.0.0 <5.0.0 (#14)
- Initiate FIrebaseCacheManager in load method in FirebaseImageProvider
- Added subDir field to FirebaseImageProvider's toString() output
- Implemented
ImageProvider.loadImage
method - Fixed downloading image twice when the source is Source.server
- Do no cache file if the source is Source.server
FirebaseImageProvider
instance equality issue fixed- CacheOptions.shouldCache field removed (breaking)
- CacheOptions.checkForMetadataChange is not false by default (breaking)
- Deprecated CacheOptions.metadataRefreshInBackground field (will remove this field in future)
- Added modifiedBefore arg in FirebaseCacheManager.clearCache method
- Added basic error handling in
FirebaseImageProvider
, Now you can check if the error isImageNotFoundException
in Image.errorBuilder callback to indicate file not found on the server. - FirebaseUrl() constructor now support both firebase or google storage url
- Fixed
FirebaseCacheManager.clearCache
method not respecting the subDir field and clearing the entire cache
- fixed broken FirebaseCacheManager.delete() method (#13)
- Files will be saved with it's extensions
- Bug fixes
- FirebaseCacheManager.isCached method added
- Bug fixes
- added loadingBuilder support
- bug fixes
- Breaking Changes
- Singleton pattern removed
- shouldCache removed
- Bug fixes
- moved ref param to FirebaseUrl
- New methods added
- Dependencies fix
- readme updated
- Bug Fixes.
- Some Apis changed.
- Added more functionality
- database changed to sqflite.
- removed web support
- initial release.