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
Copy file name to clipboardExpand all lines: packages/camera/README.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -174,7 +174,8 @@ This could be used to create thumbnails for quick display within your applicatio
174
174
| `keepAspectRatio` | `true` | Both | Defines if camera picture aspect ratio should be kept during picture resizing. The camera will return an image with the correct aspect ratio but generally only one (width or height) will be the same as requested; the other value will be calculated in order to preserve the aspect of the original image.|
175
175
| `saveToGallery` | `true` | Both | A boolean parameter that indicates if the original taken photo will be saved in `Photos` for Android and in `Camera Roll` in iOS. |
176
176
| `allowsEditing` | `false` | iOS | Defines if camera "Retake" or "Use Photo". Screen forces the user to crop camera picture to a square and optionally lets them zoom in. |
177
-
| `cameraFacing` | `'rear'` | Both | The initial camera facing. Use `'front'` for selfies. | `modalPresentationStyle` | `0` | iOS | Set a custom UIModalPresentationStyle (Defaults to UIModalPresentationStyle.FullScreen). |
177
+
| `cameraFacing` | `'rear'` | Both | The initial camera facing. Use `'front'` for selfies.
178
+
| `modalPresentationStyle` | `0` | iOS | Set a custom UIModalPresentationStyle (Defaults to UIModalPresentationStyle.FullScreen). |
178
179
179
180
180
181
> **Note**: The `saveToGallery` option might have unexpected behavior on Android! Some vendor camera apps (e.g. LG) will save all captured images to the gallery regardless of what the value of `saveToGallery` is. This behavior cannot be controlled by the camera plugin and if you need to exclude the captured image from the photo gallery, you will need to get a local storage read/write permission and write custom code to find the gallery location and delete the new image from there.
0 commit comments