From f85be2b9dd5045fb0c25cb3bdfc573031e796586 Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Wed, 24 Feb 2021 22:26:07 +0100 Subject: [PATCH] Add next sections/troubleshooting links --- docs/ANIMATED.md | 5 +++++ docs/DEVICES.md | 5 +++++ docs/ERRORS.md | 4 ++++ docs/FORMATS.md | 5 +++++ docs/FRAME_PROCESSORS.md | 5 +++++ docs/TROUBLESHOOTING.md | 6 +++++- 6 files changed, 29 insertions(+), 1 deletion(-) diff --git a/docs/ANIMATED.md b/docs/ANIMATED.md index f5717e9..c4fc91c 100644 --- a/docs/ANIMATED.md +++ b/docs/ANIMATED.md @@ -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. + + +
+ +#### 🚀 Next section: [ERRORS](./ERRORS.md) diff --git a/docs/DEVICES.md b/docs/DEVICES.md index 092d8e6..50e8945 100644 --- a/docs/DEVICES.md +++ b/docs/DEVICES.md @@ -124,3 +124,8 @@ function App() { ``` > Note: If you don't care about fast resume times you can also fully unmount the `` view instead, which will use a lot less memory (RAM). + + +
+ +#### 🚀 Next section: [FORMATS](./FORMATS.md) diff --git a/docs/ERRORS.md b/docs/ERRORS.md index 9234d29..cbb9279 100644 --- a/docs/ERRORS.md +++ b/docs/ERRORS.md @@ -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: diff --git a/docs/FORMATS.md b/docs/FORMATS.md index 43552bf..f66b75a 100644 --- a/docs/FORMATS.md +++ b/docs/FORMATS.md @@ -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`) + + +
+ +#### 🚀 Next section: [FRAME_PROCESSORS](./FRAME_PROCESSORS.md) diff --git a/docs/FRAME_PROCESSORS.md b/docs/FRAME_PROCESSORS.md index e90bbdd..a91255a 100644 --- a/docs/FRAME_PROCESSORS.md +++ b/docs/FRAME_PROCESSORS.md @@ -60,3 +60,8 @@ function App() { ``` > FRAME PROCESSORS ARE STILL WIP + + +
+ +#### 🚀 Next section: [ANIMATED](./ANIMATED.md) diff --git a/docs/TROUBLESHOOTING.md b/docs/TROUBLESHOOTING.md index 49e7d28..adc7581 100644 --- a/docs/TROUBLESHOOTING.md +++ b/docs/TROUBLESHOOTING.md @@ -1,4 +1,8 @@ -# Troubleshooting +

Troubleshooting

+ +
+ +
Before opening an issue, make sure you try the following: