diff --git a/plugin.xml b/plugin.xml index 703f9d8..10cc0d0 100644 --- a/plugin.xml +++ b/plugin.xml @@ -59,7 +59,7 @@ - + - + - + diff --git a/src/android/CameraLauncher.java b/src/android/CameraLauncher.java index d28aaa5..b9f5b71 100644 --- a/src/android/CameraLauncher.java +++ b/src/android/CameraLauncher.java @@ -294,7 +294,7 @@ public class CameraLauncher extends CordovaPlugin implements MediaScannerConnect File photo = createCaptureFile(encodingType); this.imageFilePath = photo.getAbsolutePath(); this.imageUri = FileProvider.getUriForFile(cordova.getActivity(), - applicationId + ".provider", + applicationId + ".cordova.plugin.camera.provider", photo); intent.putExtra(MediaStore.EXTRA_OUTPUT, imageUri); //We can write to this URI, this will hopefully allow us to write files to get to the next step @@ -795,7 +795,7 @@ public class CameraLauncher extends CordovaPlugin implements MediaScannerConnect try { if (this.allowEdit) { Uri tmpFile = FileProvider.getUriForFile(cordova.getActivity(), - applicationId + ".provider", + applicationId + ".cordova.plugin.camera.provider", createCaptureFile(this.encodingType)); performCrop(tmpFile, destType, intent); } else {