React-native-fast-image: [iOS][react-native 0.62.1] Crash app when use source uri base64 or file:///

Created on 5 Apr 2020  路  10Comments  路  Source: DylanVann/react-native-fast-image

Describe the bug
Crash app when use source={{uri: 'data:image/png;base64...'}} or source={{uri: 'file:///...'}} after choose file, but when using react-native Image, there are no errors

Screenshots
image

Dependency versions

  • React Native version: 0.62.1
  • React Native Fast Image version: 8.1.5
bug

Most helpful comment

The problem is from flipper, please update flipper to version 0.37.0 from Podfile

All 10 comments

Running into the same issue

Dependency versions
React Native version: 0.62.0
React Native Fast Image version: 8.1.5

I think it's a bug on the React 0.62 version.
Ppl recommended updating to 0.62.1. Nothing changed. still having problems.

Same problem on debug mode

React Native 0.62

Do you have any solution @vuongductuanktmt @Skullcan @mariasiuvlad

Not that I know off.
What I'm doing right now is converting your data:image base64 to a temporary png/jpg in to disk and using it to display the image.

On iOS, the backend SDWebImage framework can handle any of this cases data:// or file://. I think it's bug of the react-native-fast-image its own code issue.

image

The problem is from flipper, please update flipper to version 0.37.0 from Podfile

The problem is from flipper, please update flipper to version 0.37.0 from Podfile

@sharifhh thank you, it work

The problem is from flipper, please update flipper to version 0.37.0 from Podfile

Work! great, thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

StiffFy picture StiffFy  路  3Comments

Doko-Demo-Doa picture Doko-Demo-Doa  路  3Comments

ryoid picture ryoid  路  3Comments

taschik picture taschik  路  3Comments

banphlet picture banphlet  路  3Comments