ReactNative 0.71.13 production release asks metro to be running

217 views Asked by At

We have updated our React Native app from 0.67.5 to 0.71.13 in development build everything works perfectly on both iOS and Android. But when I'm trying to make production (release) build, on iOS it works, I tried pushing to appStoreConnect and install it via test flight. But on Android it's a whole different story. I've tried pushing release build to internal testing lane and install it on my device. Install succeeds, but when I'm trying to start app it crashed and I get this error in analytics:

Unable to load script. Make sure you're either running Metro (run 'npx react-native start') or that your bundle 'app.bundle' is packaged correctly for release.

I've tried googling a lot, found this. As I understand this bug was resolved when using gradle plugin 4.1.0+/gradle 6.5 I've tried using multiple different combinations, but I've always getting same error.

Maybe someone has been in a same situation and can help me?

0

There are 0 answers