Skip to content

Commit

Permalink
Fix transfer not working on Android P
Browse files Browse the repository at this point in the history
  • Loading branch information
autoreleasefool committed Sep 27, 2018
1 parent 06a8f5c commit d9f1648
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
android:supportsRtl="true"
android:theme="@style/AppTheme"
android:fullBackupContent="@xml/backup_descriptor"
tools:ignore="GoogleAppIndexingWarning">
android:networkSecurityConfig="@xml/network_security_config"
tools:ignore="GoogleAppIndexingWarning,UnusedAttribute">

<meta-data android:name="com.mixpanel.android.MPConfig.DisableViewCrawler" android:value="true" />

Expand Down
6 changes: 6 additions & 0 deletions app/src/main/res/xml/network_security_config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">INSERT_TRANSFER_SERVER_URL_HERE</domain>
</domain-config>
</network-security-config>

0 comments on commit d9f1648

Please sign in to comment.