@capacitor/android 7.6.7 → 7.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -345,6 +345,7 @@ public class BridgeWebChromeClient extends WebChromeClient {
|
|
|
345
345
|
return false;
|
|
346
346
|
}
|
|
347
347
|
takePictureIntent.putExtra(MediaStore.EXTRA_OUTPUT, imageFileUri);
|
|
348
|
+
takePictureIntent.addFlags(Intent.FLAG_GRANT_WRITE_URI_PERMISSION | Intent.FLAG_GRANT_READ_URI_PERMISSION);
|
|
348
349
|
activityListener = (activityResult) -> {
|
|
349
350
|
Uri[] result = null;
|
|
350
351
|
if (activityResult.getResultCode() == Activity.RESULT_OK) {
|
package/package.json
CHANGED