Update BUG_REPORT.yml

This commit is contained in:
Marc Rousavy 2023-09-14 14:09:47 +02:00 committed by GitHub
parent d8ac0b54fa
commit e4c6e5d11f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,8 @@ body:
placeholder: > placeholder: >
const device = useCameraDevices() const device = useCameraDevices()
// ...
<Camera <Camera
style={StyleSheet.absoluteFill} style={StyleSheet.absoluteFill}
device={device} device={device}
@ -49,7 +51,30 @@ body:
console.log(JSON.stringify(device, null, 2)) console.log(JSON.stringify(device, null, 2))
``` ```
This will be automatically formatted into code, so no need for backticks. This will be automatically formatted into code, so no need for backticks.
render: shell render: json
placeholder: >
{
"id": "com.apple.avfoundation.avcapturedevice.built-in_video:6",
"devices": [
"ultra-wide-angle-camera",
"wide-angle-camera"
],
"formats": null,
"hardwareLevel": "full",
"hasFlash": true,
"hasTorch": true,
"isMultiCam": true,
"minZoom": 1,
"neutralZoom": 2,
"maxZoom": 123.75,
"name": "Back Dual Wide Camera",
"position": "back",
"supportsDepthCapture": false,
"supportsFocus": true,
"supportsLowLightBoost": false,
"supportsParallelVideoProcessing": true,
"supportsRawCapture": false
}
validations: validations:
required: true required: true
- type: input - type: input