erisu commented on a change in pull request #617:
URL: 
https://github.com/apache/cordova-plugin-camera/pull/617#discussion_r454091657



##########
File path: src/android/CameraLauncher.java
##########
@@ -290,10 +292,13 @@ public void takePicture(int returnType, int encodingType)
 
         // Specify file so that large image is captured and returned
         File photo = createCaptureFile(encodingType);
-        this.imageUri = new 
CordovaUri(FileProvider.getUriForFile(cordova.getActivity(),
+        System.out.println("photo "+photo.getAbsolutePath());

Review comment:
       Is this needed?

##########
File path: src/android/CameraLauncher.java
##########
@@ -290,10 +292,13 @@ public void takePicture(int returnType, int encodingType)
 
         // Specify file so that large image is captured and returned
         File photo = createCaptureFile(encodingType);
-        this.imageUri = new 
CordovaUri(FileProvider.getUriForFile(cordova.getActivity(),
+        System.out.println("photo "+photo.getAbsolutePath());
+        this.imageFilePath = photo.getAbsolutePath();
+        this.imageUri = FileProvider.getUriForFile(cordova.getActivity(),
                 applicationId + ".provider",
-                photo));
-        intent.putExtra(MediaStore.EXTRA_OUTPUT, imageUri.getCorrectUri());
+                photo);
+        System.out.println("image uri "+this.imageUri);

Review comment:
       Same




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to