Browse Source

android: fix packager in debug mode in API 28

These values must match these ones in React Native:
5939d078a0/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/AndroidInfoHelpers.java (L20-L22)
master
Saúl Ibarra Corretgé 6 years ago
parent
commit
bb8fc8770a
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      android/app/src/main/res/xml/network_security_config.xml

+ 2
- 1
android/app/src/main/res/xml/network_security_config.xml View File

@@ -1,5 +1,6 @@
1 1
 <network-security-config>
2 2
     <domain-config cleartextTrafficPermitted="true">
3
-        <domain includeSubdomains="true">localhost</domain>
3
+        <domain includeSubdomains="false">localhost</domain>
4
+        <domain includeSubdomains="false">10.0.2.2</domain>
4 5
     </domain-config>
5 6
 </network-security-config>

Loading…
Cancel
Save