Add next sections/troubleshooting links
This commit is contained in:
parent
cb5b1d0faf
commit
f85be2b9dd
@ -75,3 +75,8 @@ export function App() {
|
|||||||
3. Using [`useSharedValue`](https://docs.swmansion.com/react-native-reanimated/docs/api/useSharedValue), we're creating a shared value that holds the `zoom` property.
|
3. Using [`useSharedValue`](https://docs.swmansion.com/react-native-reanimated/docs/api/useSharedValue), we're creating a shared value that holds the `zoom` property.
|
||||||
4. Using the [`useAnimatedProps`](https://docs.swmansion.com/react-native-reanimated/docs/api/useAnimatedProps) hook, we apply the shared value to the animated props.
|
4. Using the [`useAnimatedProps`](https://docs.swmansion.com/react-native-reanimated/docs/api/useAnimatedProps) hook, we apply the shared value to the animated props.
|
||||||
5. We apply the animated props to the `ReanimatedCamera` component's `animatedProps` property.
|
5. We apply the animated props to the `ReanimatedCamera` component's `animatedProps` property.
|
||||||
|
|
||||||
|
|
||||||
|
<br />
|
||||||
|
|
||||||
|
#### 🚀 Next section: [ERRORS](./ERRORS.md)
|
||||||
|
@ -124,3 +124,8 @@ function App() {
|
|||||||
```
|
```
|
||||||
|
|
||||||
> Note: If you don't care about fast resume times you can also fully unmount the `<Camera>` view instead, which will use a lot less memory (RAM).
|
> Note: If you don't care about fast resume times you can also fully unmount the `<Camera>` view instead, which will use a lot less memory (RAM).
|
||||||
|
|
||||||
|
|
||||||
|
<br />
|
||||||
|
|
||||||
|
#### 🚀 Next section: [FORMATS](./FORMATS.md)
|
||||||
|
@ -39,6 +39,10 @@ switch (error.code) {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Troubleshooting
|
||||||
|
|
||||||
|
See [TROUBLESHOOTING.md](./TROUBLESHOOTING.md) if you're having "weird issues".
|
||||||
|
|
||||||
## The Error types
|
## The Error types
|
||||||
|
|
||||||
The `CameraError` type is a baseclass type for all other errors and provides the following properties:
|
The `CameraError` type is a baseclass type for all other errors and provides the following properties:
|
||||||
|
@ -147,3 +147,8 @@ Other props that depend on the `format`:
|
|||||||
* `hdr`: Enables HDR photo or video capture and preview
|
* `hdr`: Enables HDR photo or video capture and preview
|
||||||
* `lowLightBoost`: Enables a night-mode/low-light-boost for photo or video capture and preview
|
* `lowLightBoost`: Enables a night-mode/low-light-boost for photo or video capture and preview
|
||||||
* `colorSpace`: Uses the specified color-space for photo or video capture and preview (iOS only since Android only uses `YUV`)
|
* `colorSpace`: Uses the specified color-space for photo or video capture and preview (iOS only since Android only uses `YUV`)
|
||||||
|
|
||||||
|
|
||||||
|
<br />
|
||||||
|
|
||||||
|
#### 🚀 Next section: [FRAME_PROCESSORS](./FRAME_PROCESSORS.md)
|
||||||
|
@ -60,3 +60,8 @@ function App() {
|
|||||||
```
|
```
|
||||||
|
|
||||||
> FRAME PROCESSORS ARE STILL WIP
|
> FRAME PROCESSORS ARE STILL WIP
|
||||||
|
|
||||||
|
|
||||||
|
<br />
|
||||||
|
|
||||||
|
#### 🚀 Next section: [ANIMATED](./ANIMATED.md)
|
||||||
|
@ -1,4 +1,8 @@
|
|||||||
# Troubleshooting
|
<h1 align="center">Troubleshooting</h1>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<img align="right" width="35%" src="../img/11_back.png">
|
||||||
|
</div>
|
||||||
|
|
||||||
Before opening an issue, make sure you try the following:
|
Before opening an issue, make sure you try the following:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user