Add next sections/troubleshooting links

This commit is contained in:
Marc Rousavy 2021-02-24 22:26:07 +01:00
parent cb5b1d0faf
commit f85be2b9dd
6 changed files with 29 additions and 1 deletions

View File

@ -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.
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.
<br />
#### 🚀 Next section: [ERRORS](./ERRORS.md)

View File

@ -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).
<br />
#### 🚀 Next section: [FORMATS](./FORMATS.md)

View File

@ -39,6 +39,10 @@ switch (error.code) {
}
```
## Troubleshooting
See [TROUBLESHOOTING.md](./TROUBLESHOOTING.md) if you're having "weird issues".
## The Error types
The `CameraError` type is a baseclass type for all other errors and provides the following properties:

View File

@ -147,3 +147,8 @@ Other props that depend on the `format`:
* `hdr`: Enables HDR 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`)
<br />
#### 🚀 Next section: [FRAME_PROCESSORS](./FRAME_PROCESSORS.md)

View File

@ -60,3 +60,8 @@ function App() {
```
> FRAME PROCESSORS ARE STILL WIP
<br />
#### 🚀 Next section: [ANIMATED](./ANIMATED.md)

View File

@ -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: