Android crashes but shown no error
dejtor opened this issue · 0 comments
dejtor commented
Summary
We are using snack-sdk with appetize.io to allow a preview of the code on a website.
When using Android preview, the app crashes but shows no logs or problems. The code is problematic, but I would like to get some errors so we can show them.
What platform(s) does this occur on?
Android
SDK Version
v44,v46,v47
Reproducible demo or steps to reproduce from a blank project
import { View, Image } from 'react-native';
export default function App() {
return (
<View>
<Image style={{height:'100px'}} source={{uri: "https://www.cdm.me/wp-content/uploads/2023/02/viber_image_2023-02-27_09-48-31-373-734x556.jpg"}}/>
</View>
);
}
If we remove "style={{height:'100px'}}" it won't crash.