Skip to content

Commit d5ee861

Browse files
authored
readme(camera): make modalPresentationStyle option visible (#476)
1 parent b278ef3 commit d5ee861

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/camera/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,8 @@ This could be used to create thumbnails for quick display within your applicatio
174174
| `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.|
175175
| `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. |
176176
| `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). |
178179

179180

180181
> **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

Comments
 (0)