You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(android): Make WRITE_EXTERNAL_STORAGE optional (#909)
* refactor(android): Rework permission management to make WRITE_EXTERNAL_STORAGE optional
* removed unused getPermissions API
* Proper error if WRITE_EXTERNAL_STORAGE is required but missing the declaration
* removed obsolete hasPermissions API
Android 10 (API 29) and later devices does not require `WRITE_EXTERNAL_STORAGE` permission. If your application only supports Android 10 or later, then this step is not necessary.
198
+
187
199
#### FILE_URI Usage
188
200
189
201
When `FILE_URI` is used, the returned path is not directly usable. The file path needs to be resolved into
@@ -301,7 +313,7 @@ Optional parameters to customize the camera settings.
301
313
| targetHeight | <code>number</code> || Height in pixels to scale image. Must be used with `targetWidth`. Aspect ratio remains constant. |
302
314
| mediaType | <code>[MediaType](#module_Camera.MediaType)</code> | <code>PICTURE</code> | Set the type of media to select from. Only works when `PictureSourceType` is `PHOTOLIBRARY` or `SAVEDPHOTOALBUM`. |
303
315
| correctOrientation | <code>Boolean</code> || Rotate the image to correct for the orientation of the device during capture. |
304
-
| saveToPhotoAlbum | <code>Boolean</code> || Save the image to the photo album on the device after capture. |
316
+
| saveToPhotoAlbum | <code>Boolean</code> || Save the image to the photo album on the device after capture.<br />See [Android Quirks](#cameragetpicturesuccesscallback-errorcallback-options).|
305
317
| popoverOptions | <code>[CameraPopoverOptions](#module_CameraPopoverOptions)</code> || iOS-only options that specify popover location in iPad. |
306
318
| cameraDirection | <code>[Direction](#module_Camera.Direction)</code> | <code>BACK</code> | Choose the camera to use (front- or back-facing). |
0 commit comments