duguyihou / react-native-turbo-image

Performant image component for React Native
https://www.npmjs.com/package/react-native-turbo-image
MIT License
167 stars 8 forks source link

bug: IOS does support displaying local image in 1.17.1 #341

Closed MS0015 closed 2 months ago

MS0015 commented 2 months ago

What's happening?

It showing gray box after updating to latest version

Screenshot 2024-09-06 at 12 52 33 AM

Reproduceable Code

<TurboImage
        tint={COLOR.GRAY}
        style={{
          position: 'relative',
          width: 22,
          height: 22,
          marginHorizontal: 4,
          ...iconStyle,
        }}
        source={iconSource}
        resizeMode={'contain'}
      />

Relevant log output

no

Device

iPhone xs

TurboImage Version

1.17.1

Can you reproduce this issue in the TurboImage Example app?

No, I cannot reproduce the issue in the Example app

duguyihou commented 2 months ago

It is not a bug. We removed local asset support since 1.15.0. https://github.com/duguyihou/react-native-turbo-image/releases/tag/v1.15.0

abathz commented 2 months ago

hi @duguyihou 👋🏻, im currently using version 1.17.2 and using local assets in my project.

i want to know why you dropping local asset support?

thank youu!

duguyihou commented 2 months ago

@abathz

https://github.com/duguyihou/react-native-turbo-image/pull/324

abathz commented 2 months ago

@abathz

324

ahhh thanks!!👍🏻