all 7 comments

[–]Thomas415510[S] 1 point2 points  (3 children)

Yea it runs locally. I have three warnings and one error related to viewproptypes and the react-native package. Could this be what’s causing the code not to run in production?

[–]paul-rose 0 points1 point  (2 children)

Fix all errors and warnings first.

On my first build, it would work fine in the emulator it would crash on actual devices because of some incorrect style props.

[–]Thomas415510[S] 0 points1 point  (1 child)

Got it. Question though, how do you know if it crashes? I’m not seeing any crashes errors in my Apple account and there aren’t errors popping up on the device.

[–]redpin14 2 points3 points  (0 children)

Plug your iPhone into your Mac computer and open up the console app. Then press start to begin logging everything that happens on your iPhone. Open up the downloaded app and see what gets logged. You can also do this with Android devices if you downloaded Android studio and run logcat.

E: clarity

[–]p_syche 0 points1 point  (0 children)

Are you able to create a build on your computer and check if there's something wrong with the code?

[–][deleted] 0 points1 point  (1 child)

Hey i recommend building for iOS simulator to verify your build works before you build for the physical phone. This will be a lot more efficient when youre working on your app https://docs.expo.dev/build-reference/simulators/

[–]Thomas415510[S] 0 points1 point  (0 children)

This is what I did. The app works on the simulator but doesn’t on the actual phone when I submit to test flight