Skip to content

Commit

Permalink
Bug-Fix katzer#1664
Browse files Browse the repository at this point in the history
  • Loading branch information
BorntraegerMarc committed May 2, 2019
1 parent 815b83c commit e19d97c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<provider
android:name="de.appplant.cordova.plugin.notification.util.AssetProvider"
android:authorities="${applicationId}.provider"
android:authorities="${applicationId}.localnotifications.provider"
android:exported="false"
android:grantUriPermissions="true" >
<meta-data
Expand Down
2 changes: 1 addition & 1 deletion src/android/notification/util/AssetUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ private File getTmpFile (String name) {
*/
private Uri getUriFromFile(File file) {
try {
String authority = context.getPackageName() + ".provider";
String String authority = context.getPackageName() + "localnotifications.provider";
return AssetProvider.getUriForFile(context, authority, file);
} catch (IllegalArgumentException e) {
e.printStackTrace();
Expand Down

0 comments on commit e19d97c

Please sign in to comment.