Skip to content

Commit

Permalink
Tools: Fix build for Android 9 debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
laurent22 committed Sep 26, 2019
1 parent 5b425f9 commit 2a5648d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ReactNativeClient/.gitignore
Expand Up @@ -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/
1 change: 1 addition & 0 deletions ReactNativeClient/android/app/src/main/AndroidManifest.xml
Expand Up @@ -34,6 +34,7 @@

<application
android:name=".MainApplication"
android:usesCleartextTraffic="true"
android:allowBackup="true"
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher"
Expand Down
Expand Up @@ -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>

0 comments on commit 2a5648d

Please sign in to comment.