From 3b0681527257cc3ec8607a9357e10dcb2eb7134f Mon Sep 17 00:00:00 2001 From: Dulmandakh Date: Wed, 20 Mar 2019 08:39:58 -0700 Subject: [PATCH] allow HTTP in debug builds (#24066) Summary: It allows HTTP connections in debug builds, and requires no configuration compared to previous/current solution where you need to edit config file to test on device. Consulted with Salakar about this. [Android] [Changed] - Allow HTTP in debug builds Pull Request resolved: https://github.com/facebook/react-native/pull/24066 Differential Revision: D14540255 Pulled By: cpojer fbshipit-source-id: f1239154c27c36c21c9b080a826f8b1d0eb0fc7d --- template/android/app/src/debug/AndroidManifest.xml | 4 ++-- .../android/app/src/debug/res/xml/react_native_config.xml | 8 -------- 2 files changed, 2 insertions(+), 10 deletions(-) delete mode 100644 template/android/app/src/debug/res/xml/react_native_config.xml diff --git a/template/android/app/src/debug/AndroidManifest.xml b/template/android/app/src/debug/AndroidManifest.xml index 4ea9bc04966..fa26aa56e1c 100644 --- a/template/android/app/src/debug/AndroidManifest.xml +++ b/template/android/app/src/debug/AndroidManifest.xml @@ -4,5 +4,5 @@ - - \ No newline at end of file + + diff --git a/template/android/app/src/debug/res/xml/react_native_config.xml b/template/android/app/src/debug/res/xml/react_native_config.xml deleted file mode 100644 index ba4b23070be..00000000000 --- a/template/android/app/src/debug/res/xml/react_native_config.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - localhost - 10.0.2.2 - 10.0.3.2 - -