${applicationId} authority

This commit is contained in:
jcdickman 2017-06-01 09:17:25 -05:00
parent 4fc32155da
commit 64795f52c4

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>