@capacitor/android 9.0.0-alpha.5 → 9.0.0-alpha.6

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.
@@ -340,6 +340,7 @@ public class BridgeWebChromeClient extends WebChromeClient {
340
340
  return false;
341
341
  }
342
342
  takePictureIntent.putExtra(MediaStore.EXTRA_OUTPUT, imageFileUri);
343
+ takePictureIntent.addFlags(Intent.FLAG_GRANT_WRITE_URI_PERMISSION | Intent.FLAG_GRANT_READ_URI_PERMISSION);
343
344
  activityListener = (activityResult) -> {
344
345
  Uri[] result = null;
345
346
  if (activityResult.getResultCode() == Activity.RESULT_OK) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor/android",
3
- "version": "9.0.0-alpha.5",
3
+ "version": "9.0.0-alpha.6",
4
4
  "description": "Capacitor: Cross-platform apps with JavaScript and the web",
5
5
  "homepage": "https://capacitorjs.com",
6
6
  "author": "Ionic Team <hi@ionic.io> (https://ionic.io)",
@@ -26,7 +26,7 @@
26
26
  "verify": "./gradlew :capacitor-android:clean :capacitor-android:lint :capacitor-android:build :capacitor-android:test"
27
27
  },
28
28
  "peerDependencies": {
29
- "@capacitor/core": "^9.0.0-alpha.5"
29
+ "@capacitor/core": "^9.0.0-alpha.6"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"