From bb8fc8770aef5c0caa37f87566bb4b0546b9f27f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Wed, 16 Jan 2019 17:38:39 +0100 Subject: [PATCH] android: fix packager in debug mode in API 28 These values must match these ones in React Native: https://github.com/facebook/react-native/blob/5939d078a01edc9f83fce102317540ffbcac17c1/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/AndroidInfoHelpers.java#L20-L22 --- android/app/src/main/res/xml/network_security_config.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/android/app/src/main/res/xml/network_security_config.xml b/android/app/src/main/res/xml/network_security_config.xml index 52322d5de..59a524cdc 100644 --- a/android/app/src/main/res/xml/network_security_config.xml +++ b/android/app/src/main/res/xml/network_security_config.xml @@ -1,5 +1,6 @@ - localhost + localhost + 10.0.2.2