From 2e35da17d318d69bb4147540123896534d8af143 Mon Sep 17 00:00:00 2001 From: Gwyn Judd Date: Mon, 18 Nov 2019 11:32:11 +1300 Subject: [PATCH] Use correct authority name To match provider config in plugins.xml --- src/android/notification/util/AssetUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/android/notification/util/AssetUtil.java b/src/android/notification/util/AssetUtil.java index 78374b611..cc73c926a 100644 --- a/src/android/notification/util/AssetUtil.java +++ b/src/android/notification/util/AssetUtil.java @@ -353,7 +353,7 @@ private File getTmpFile (String name) { */ private Uri getUriFromFile(File file) { try { - String authority = context.getPackageName() + "localnotifications.provider"; + String authority = context.getPackageName() + ".localnotifications.provider"; return AssetProvider.getUriForFile(context, authority, file); } catch (IllegalArgumentException e) { e.printStackTrace();