Skip to content

Commit

Permalink
update file provider paths to not crash
Browse files Browse the repository at this point in the history
  • Loading branch information
n8fr8 committed Sep 30, 2018
1 parent 81923fd commit a499680
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@
android:exported="false">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_provider_paths" />
android:resource="@xml/file_provider_paths"
/>
</provider>

</application>
Expand Down
7 changes: 5 additions & 2 deletions src/main/res/xml/file_provider_paths.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<paths xmlns:android="http://schemas.android.com/apk/res/android">
<?xml version="1.0" encoding="utf-8"?>
<paths>
<files-path name="shared" path="shared/"/>
<external-path path="phoneypot/" name="phoneypot" />
<external-path path="haven/" name="haven" />
<external-path path="Android/data/" name="files_root" />
<external-path path="." name="external_storage_root" />
</paths>

0 comments on commit a499680

Please sign in to comment.