gl-react-image
gl-react-image copied to clipboard
image disappeared after refocus the screen
<Surface style={{ width, height, borderRadius }}>
<>
<ImageTex filter={filter ? filter : ''}>
<GLImage source={{ uri: source }} resizeMode="cover" />
</ImageTex>
</>
</Surface>
image work only in first time focus the screen after refocus screen image not showing
You can use AppState to re-render the component whenever the component / screen is focused.