React native app stuck on splash screen on device but works in simulator

后端 未结 15 2087
南笙
南笙 2021-02-01 01:27

My React Native app works in the XCode simulator with no issues, but when I run in a physical device, my iPhone, there\'s a problem. The app launches and gets stuck on the React

15条回答
  •  [愿得一人]
    2021-02-01 01:58

    For me when I build, it was working fine in simulator however, in actual device only splash screen was coming and nothing else.

    This was because my build configuration was debug mode which is default I guess, I had to change release/build configuration from debug to release and everything work as expected.

    Upvote it if this helps :)

提交回复
热议问题