React-native: image missing after reloading JS several times

前端 未结 1 1152
北海茫月
北海茫月 2021-01-16 03:40

Not sure whether anyone else is encountering this issue...

I have a simple page which contains several images. When I start the app at the first time, everything load

相关标签:
1条回答
  • 2021-01-16 03:46

    i am encountering this issue when i use Image.resizeMode.stretch use cover or contain instead

    edit: it may due to memory issue. you can try to add android:largeHeap="true" in your android manifest application tag.

    0 讨论(0)
提交回复
热议问题