I got an internal distribution build for the Expo react-native app I'm developing by running:
eas build -p android --profile preview
The build completes successfully and also I can run expo start
and everything works fine.
However, when I install the build on an Android Studio device, the app gets stuck on the loading screen. I also tested a real Android device and I found the exact same behaviour. Multiple Android Studio devices were tested, and cache invalidation too. Problem persisted.
I tried to use Android Studio Logcat and this is the error I get when I open the app (I'm not sure at all this is what is causing the issue because the app does not crash, it just stops at the loading screen):
I checked every single package on my app and the only one using ViewPropTypes is react-native-snap-carousel. I've already installed deprecated-react-native-prop-types and substituded every:
import {ViewPropTypes} from 'react-native';
with:
import {ViewPropTypes} from 'deprecated-react-native-prop-types';
I've been stuck on this issue for a while now any help would be appreciated