Pārlūkot izejas kodu

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 gadus atpakaļ
vecāks
revīzija
bb8fc8770a

+ 2
- 1
android/app/src/main/res/xml/network_security_config.xml Parādīt failu

@@ -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>

Notiek ielāde…
Atcelt
Saglabāt