1.0.7 (2024-10-22)
- Added support for local assets using
file://
path on android.
1.0.6 (2024-09-20)
- Fixed a bug that caused
assetsPath
parameter not to be used on iOS.
1.0.5 (2024-09-20)
- Added
ASSETS_PATH
environment variable to support EAS.
1.0.4 (2024-09-20)
- Added
assetsPath
parameter to be specified in app.json.
- Updated documentation.
1.0.3 (2024-08-18)
- Fixed a bug that caused an infinite loading loop when an image failed to load.
1.0.2 (2024-08-16)
- Fixed a bug where images was not sent into view on iOS.
1.0.1 (2024-08-16)
- Reworked the
source
parameter. - Reworked some code to create stability regarding the Hybrid Assets.
- Updated TypeScript definitions.
- Updated documentation.
- Fixed a bug where the component would crash due to incorrect
hybridAssets
parameter. - Fixed a bug where changing the parameter for
hyberAssets
would not take effect.
1.0.0 (2024-08-14)
- Hybrid Assets: Created a new feature called Hybrid Assets that makes it possible to bundle local assets within your build and only fetch from the network if assets are not included. This helps save bandwidth by bundling assets you know is gonna be used in your current version. To enable this just pass
hybridAssets
astrue
and provide acloudUrl
. If using Firebase, the component will automatically handle%2F
replacements and trailing ?alt=media removal in the URL. Refer to the documentation for more details. - Automatic Hybrid Assets Bundling: Implemented a function for automatic copying and bundling of hybrid assets to iOS and Android that also includes automatic reference creation in Xcode (Expo Only).
- TypeScript Support: Added TypeScript support (#15, #10)
- Reworked the logic for how images are loaded and displayed
- Reworked major parts of the component to include support for hybrid remote assets.
- Reworked various parts of the components code that improves readability and fixes several bugs.
- Maximum disk caching size is now static and set to 1GB.
- Maximum memory caching size is now static and set to 100MB.
- Fixed maximum lifetime of disk caching on iOS that ensures no maximum lifetime.
- Changed return informational errors for better debugging.
- Updated the logging events for better visibility.
- Removed the ability to pass source headers due to stability concerns.
- Updated documentation.
- Fixed a bug where the component would crash due to a destroyed activity. (#13)
- Resolved a warning related to
defaultProps
deprecation and replaced them with javascript default parameters. (#18, #16) - Fixed a bug where no resolve occurred when an empty array was sent in preload. (#15, #8)
0.0.13 (2023-12-19)
- Added proper initialization value for
onLoad
callback. (#4)
0.0.12 (2023-10-31)
- Added proper
onLoad
andonError
callbacks. (#3) - Added
fallbackSource
prop when image could not load. (#3)
- Included static fallback image in cases where both the primary source and the fallbackSource fail to load.
- Updated documentation.
0.0.11 (2023-10-31)
- Changed package name.
- Minor changes in JS code regarding logging.
0.0.10 (2023-10-24)
- Added the prop
isBackground
to act as a container background similar to the nativeImageBackground
component.
- Fixed a bug that caused the error image not to display.
- Updated documentation.
0.0.9 (2023-10-19)
- Added the possiblity to pass both
single objects
andarrays
toBlastedImage.preload
. - Added
promise
forBlastedImage.preload
to indicate when the image has been processed.
- Updated documentation.
0.0.8 (2023-10-17)
- Added the
skipMemoryCache
preload prop to preload images only to disk, keeping memory free. - Added return logs within the bridge.
- Made a few minor fixes in the Android code.
- Updated documentation.
0.0.7 (2023-10-16)
- Updated documentation.
0.0.6 (2023-10-16)
- Added support for local images using
require
- Updated documentation.
0.0.5 (2023-10-16)
- Fixed warning regarding event listeners on Android.
- Updated documentation.
0.0.4 (2023-10-16)
- Fixed peerDeps in package.json.
- Fixed licensing details.
0.0.3 (2023-10-16)
- Added support for passing an array of styles.
- Removed misc that was earlier used for debug.
- Added image placeholder when it can not be loaded from uri.
- Changed default of
resizeMode
from contain to cover.
0.0.2 (2023-10-16)
- Initial release (sync with npm).
- Initial release.