Update BUG_REPORT.yml
This commit is contained in:
parent
62ae7cc887
commit
d8ac0b54fa
32
.github/ISSUE_TEMPLATE/BUG_REPORT.yml
vendored
32
.github/ISSUE_TEMPLATE/BUG_REPORT.yml
vendored
@ -13,28 +13,52 @@ body:
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Reproduceable Code
|
||||
description: Share a small reproduceable code snippet here (or the entire file if necessary). Most importantly, share how you use the `<Camera>` component and what props you pass to it. This will be automatically formatted into code, so no need for backticks.
|
||||
description: >
|
||||
Share a small reproduceable code snippet here (or the entire file if necessary).
|
||||
Most importantly, share how you use the `<Camera>` component and what props you pass to it.
|
||||
This will be automatically formatted into code, so no need for backticks.
|
||||
render: tsx
|
||||
placeholder: >
|
||||
const device = useCameraDevices()
|
||||
|
||||
<Camera
|
||||
style={StyleSheet.absoluteFill}
|
||||
device={device}
|
||||
isActive={true} />
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Relevant log output
|
||||
description: Paste any relevant **native log output** (Xcode Logs/Android Studio Logcat) here. This will be automatically formatted into code, so no need for backticks. For iOS, run the project through Xcode and copy the logs from the log window. For Android, either open the project through Android Studio and paste the logs from the logcat window, or run `adb logcat` in terminal.
|
||||
description: >
|
||||
Paste any relevant **native log output** (Xcode Logs/Android Studio Logcat) here.
|
||||
This will be automatically formatted into code, so no need for backticks.
|
||||
* For iOS, run the project through Xcode and copy the logs from the log window.
|
||||
* For Android, either open the project through Android Studio and paste the logs from the logcat window, or run `adb logcat` in terminal.
|
||||
render: shell
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Camera Device
|
||||
description: Please paste the JSON Camera `device` that was used here. Make sure to leave out the `formats` prop as that is too long for the issue. (`device.formats = undefined` -> `console.log(JSON.stringify(device, null, 2))`) This will be automatically formatted into code, so no need for backticks.
|
||||
description: >
|
||||
Paste the JSON Camera `device` that was used here.
|
||||
Make sure to leave out the `formats` prop as that is too long for the issue.
|
||||
```
|
||||
device.formats = undefined
|
||||
console.log(JSON.stringify(device, null, 2))
|
||||
```
|
||||
This will be automatically formatted into code, so no need for backticks.
|
||||
render: shell
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
attributes:
|
||||
label: Device
|
||||
description: Which device are you seeing this Problem on? Mention the full name of the phone, as well as the operating system and version. If you have tested this on multiple devices (ex. Android and iOS) then mention all of those devices (comma separated)
|
||||
description: >
|
||||
Which device are you seeing this Problem on?
|
||||
Mention the full name of the phone, as well as the operating system and version.
|
||||
If you have tested this on multiple devices (ex. Android and iOS) then mention all of those devices (comma separated)
|
||||
placeholder: ex. iPhone 11 Pro (iOS 14.3)
|
||||
validations:
|
||||
required: true
|
||||
|
Loading…
Reference in New Issue
Block a user