I migrated from SDK 40 to 42 and built EAS build.
Here is my eas.json file
{
"build": {
"prod": {
"distribution": "store",
"android": {
"buildType":"app-bundle"
},
"ios": {}
},
"stage": {
"developmentClient": true,
"distribution": "internal",
"android": {
}
},
"dev": {
"developmentClient": true,
"distribution": "internal",
"android": {
}
}
}
}
After successful build I installed the standalone apk and running the app I got following error
Unable to load script. Make sure you’re either running a Metro server (run ‘react-native start’) or that your bundle index.android.bundle is packaged correctly for release.
Do I need to create or build index.android.bundle & index.ios.bundle? If yes, then how can I do so.