Skip to content

Commit

Permalink
Fix file provider paths
Browse files Browse the repository at this point in the history
  • Loading branch information
mlynch committed Feb 5, 2018
1 parent 78fff1e commit 1642584
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion android-template/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

<provider
android:name="android.support.v4.content.FileProvider"
android:authorities="com.getcapacitor.myapp.fileprovider"
android:authorities="${applicationId}.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
Expand Down
2 changes: 1 addition & 1 deletion example/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ package="com.getcapacitor.myapp">

<provider
android:name="android.support.v4.content.FileProvider"
android:authorities="com.getcapacitor.myapp.fileprovider"
android:authorities="${applicationId}.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
Expand Down
2 changes: 1 addition & 1 deletion example/android/app/src/main/res/xml/file_paths.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<paths xmlns:android="http://schemas.android.com/apk/res/android">
<external-path name="my_images" path="." />
</paths>
</paths>

0 comments on commit 1642584

Please sign in to comment.