Merge pull request #135 from jcdickman/master

${applicationId} authority
This commit is contained in:
pwlin 2017-06-01 22:42:54 +02:00 committed by GitHub
commit df24bc431f

View File

@ -26,7 +26,7 @@
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<provider android:name="io.github.pwlin.cordova.plugins.fileopener2.FileProvider" android:authorities="$PACKAGE_NAME.opener.provider" android:exported="false" android:grantUriPermissions="true">
<provider android:name="io.github.pwlin.cordova.plugins.fileopener2.FileProvider" android:authorities="${applicationId}.opener.provider" android:exported="false" android:grantUriPermissions="true">
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/opener_paths" />
</provider>
</config-file>