bamlab / react-native-image-resizer

đź—» Resize local images with React Native
MIT License
1.61k stars 347 forks source link

Fix: [iOS] React requires that all NSNumber arguments are explicitly marked… #320

Closed nadishan closed 2 years ago

nadishan commented 2 years ago

Fixed below iOS error while resizing images.

Fix Argument X (NSNumber) of ImageResizer.createdResizedImage has unspecified nullability but React requires that all NSNumber arguments are explicitly marked as nonnull to ensure compatibility with Android error

Added nonnull for NSNumber to avoid above iOS error message.

nadishan commented 2 years ago

This will be fixed #319 issue. Please review and merge

taboulot commented 2 years ago

@nadishan

Thank you for the PR, I will review/merge it today.

taboulot commented 2 years ago

@nadishan

Thank you for your contribution!

I merge it. Will publish it on npm later today.

nadishan commented 2 years ago

Thanks. Please let me know once it is published.