File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -203,8 +203,8 @@ def findNdkBuildFullPath() {
203203 return null
204204}
205205
206- def debugHostPort (String defaultValue ){
207- def value = project. getProperties(). get(" debugHostPort " )
206+ def reactNativeDevServerPort (String defaultValue ) {
207+ def value = project. getProperties(). get(" reactNativeDevServerPort " )
208208 return value != null ? value : defaultValue
209209}
210210
@@ -295,7 +295,7 @@ android {
295295 buildConfigField(" boolean" , " IS_INTERNAL_BUILD" , " false" )
296296 buildConfigField(" int" , " EXOPACKAGE_FLAGS" , " 0" )
297297
298- resValue " integer" , " react_native_dev_server_port" , " 8081"
298+ resValue " integer" , " react_native_dev_server_port" , reactNativeDevServerPort( " 8081" )
299299
300300 testApplicationId(" com.facebook.react.tests.gradle" )
301301 testInstrumentationRunner(" androidx.test.runner.AndroidJUnitRunner" )
You can’t perform that action at this time.
0 commit comments