Skip to content

Commit 7e45910

Browse files
author
VladimirAmiorkov
committed
fix: add a replace for android:resource to resolve issues when the plugin is used in projects containing 'nativescript-mediafilepicker' plugin
1 parent b223b6b commit 7e45910

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/platforms/android/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
33
<application>
44
<provider
55
android:name="android.support.v4.content.FileProvider"
@@ -8,6 +8,7 @@
88
android:grantUriPermissions="true">
99
<meta-data
1010
android:name="android.support.FILE_PROVIDER_PATHS"
11+
tools:replace="android:resource"
1112
android:resource="@xml/provider_paths"/>
1213
</provider>
1314
</application>

0 commit comments

Comments
 (0)