What am I trying to accomplish?
A bare workflow build with a physical device as target in order to develop the IAP integration.
The command I'm using is:
eas build --platform ios --profile dev --local
my eas.json looks like this
{
"builds": {
"android": {
"release": {
"workflow": "managed"
}
},
"ios": {
"dev": {
"distribution": "internal",
"workflow": "generic",
"credentialsSource": "local",
"schemeBuildConfiguration": "Debug",
"env": {
"ENVIRONMENT": "dev",
"RCT_METRO_PORT": "19000"
}
},
}
}
}
Even though I specify the RCT_METRO_PORT to be the same as the port expo start uses.
I also tried to build using the remote eas build service but with luck as the app crashes on the launch screen.
Quick Solution
The solution for now is to develop using RCT_METRO_PORT=8081 react-native start.
Real solution
Provide the same configuration to the eas build as the one used for the expo start in order to maintain consistency.
What am I trying to accomplish?
A bare workflow build with a physical device as target in order to develop the IAP integration.
The command I'm using is:
eas build --platform ios --profile dev --localmy
eas.jsonlooks like this{ "builds": { "android": { "release": { "workflow": "managed" } }, "ios": { "dev": { "distribution": "internal", "workflow": "generic", "credentialsSource": "local", "schemeBuildConfiguration": "Debug", "env": { "ENVIRONMENT": "dev", "RCT_METRO_PORT": "19000" } }, } } }Even though I specify the
RCT_METRO_PORTto be the same as the portexpo startuses.I also tried to build using the remote eas build service but with luck as the app crashes on the launch screen.
Quick Solution
The solution for now is to develop using
RCT_METRO_PORT=8081 react-native start.Real solution
Provide the same configuration to the eas build as the one used for the
expo startin order to maintain consistency.