Skip to content

Commit

Permalink
cleartexttraffic for last.fm api
Browse files Browse the repository at this point in the history
  • Loading branch information
HemantKArya committed Oct 4, 2024
1 parent 0206966 commit 1af1678
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
android:name="${applicationName}"
android:hardwareAccelerated="true"
android:requestLegacyExternalStorage="true"
android:networkSecurityConfig="@xml/network_cfg"
android:icon="@mipmap/launcher_icon">
<activity
android:name="com.ryanheise.audioservice.AudioServiceActivity"
Expand Down
6 changes: 6 additions & 0 deletions android/app/src/main/res/xml/network_cfg.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">ws.audioscrobbler.com</domain>
</domain-config>
</network-security-config>

0 comments on commit 1af1678

Please sign in to comment.