Tools: Fix build for Android 9 debugging

pull/1901/head
Laurent Cozic 2019-09-26 19:26:18 +00:00
parent 5b425f9178
commit 2a5648d1a7
3 changed files with 14 additions and 0 deletions

View File

@ -55,3 +55,10 @@ fastlane/screenshots
# This is generated:
android/build*
android/app/build*
android/.project
android/.settings/
android/app/.classpath
android/app/.project
android/app/.settings/
android/app/src/debug/res/

View File

@ -34,6 +34,7 @@
<application
android:name=".MainApplication"
android:usesCleartextTraffic="true"
android:allowBackup="true"
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher"

View File

@ -6,4 +6,10 @@
<certificates src="user"/>
</trust-anchors>
</base-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">localhost</domain>
<domain includeSubdomains="true">10.0.1.1</domain>
<domain includeSubdomains="true">10.0.2.2</domain>
<domain includeSubdomains="true">10.0.3.2</domain>
</domain-config>
</network-security-config>