expo splash screen command problem

I recently ejected my react native app using expo to bare workflow. As it seems we should use expo-splash-screen for splash loading screen. after I used “expo-splash-screen-command” as below the iOS app crashes and doesn’t open without any error and on the android app the splash screen doesn’t fade away. I used expo sdk 37.

npx expo-splash-screen -r "cover" -p "all" "#0a0234" ~/assets/images/splash.png

see [ANDROID] expo-splash-screen crashes when pressing reload in debug mode. · Issue #7821 · expo/expo · GitHub

let me know if this clarifies things for you