Skip to content

Commit

Permalink
Patch v0.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
xerdnu committed Oct 16, 2023
1 parent 3ebe8ae commit 2fa7c6f
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 2 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## [0.0.5] (2023-10-16)

#### Bug Fixes

- Fixed warning regarding event listeners on Android.

#### Changes

- Updated documentation.

## [0.0.4] (2023-10-16)

#### Bug Fixes
Expand Down Expand Up @@ -29,6 +39,7 @@

- Initial release.

[0.0.5]: https://github.com/xerdnu/react-native-blasted-image/compare/v0.0.4...v0.0.5
[0.0.4]: https://github.com/xerdnu/react-native-blasted-image/compare/v0.0.3...v0.0.4
[0.0.3]: https://github.com/xerdnu/react-native-blasted-image/compare/v0.0.2...v0.0.3
[0.0.2]: https://github.com/xerdnu/react-native-blasted-image/compare/v0.0.1...v0.0.2
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# :rocket: BlastedImage
[![npm downloads](https://img.shields.io/npm/dm/react-native-blasted-image.svg?style=for-the-badge)](https://www.npmjs.com/package/react-native-blasted-image)
[![platform - android](https://img.shields.io/badge/platform-Android-3ddc84.svg?logo=android&style=for-the-badge)](https://www.android.com)
[![platform - ios](https://img.shields.io/badge/platform-iOS-0067b8.svg?logo=apple&style=for-the-badge)](https://developer.apple.com/ios)

A simple yet powerful image component for React Native, powered by [Glide](https://github.com/bumptech/glide) (Android) and [SDWebImage](https://github.com/SDWebImage/SDWebImage) (iOS).

Expand Down Expand Up @@ -95,4 +98,4 @@ Contributions are welcome! If you find a bug or have a feature request, please o
## License
- BlastedImage - `MIT` :copyright: [xerdnu](https://github.com/xerdnu)
- SDWebImage - `MIT`
- Glide - `BSD`, part `MIT` and `Apache 2.0`. See the [LICENSE](https://github.com/bumptech/glide/blob/master/license) file for details.
- Glide - `BSD`, part `MIT` and `Apache 2.0`. See the [LICENSE](https://github.com/bumptech/glide/blob/master/LICENSE) file for details.
10 changes: 10 additions & 0 deletions android/src/main/java/com/reactlibrary/BlastedImageModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,16 @@ public String getName() {
return NAME;
}

@ReactMethod
public void addListener(String eventName) {
// Do nothing
}

@ReactMethod
public void removeListeners(Integer count) {
// Do nothing
}

// Show/Preload the image
@ReactMethod
public void loadImage(String imageUrl, ReadableMap headersMap, Promise promise) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-blasted-image",
"version": "0.0.4",
"version": "0.0.5",
"description": "A simple yet powerful image component for React Native, powered by Glide and SDWebImage",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 2fa7c6f

Please sign in to comment.