2021-07-14 03:07:55 -06:00
name : 🐛 Bug Report
2021-07-14 03:00:26 -06:00
description : File a bug report
title : "🐛 "
labels : [ 🐛 bug]
body :
- type : textarea
attributes :
2023-09-01 10:46:41 -06:00
label : What's happening?
description : Explain what you are trying to do and what happened instead. Be as precise as possible, I can't help you if I don't understand your issue.
placeholder : I wanted to take a picture, but the method failed with this error "[capture/photo-not-enabled] Failed to take photo, photo is not enabled!"
2021-07-14 03:00:26 -06:00
validations :
required : true
2021-08-09 05:21:07 -06:00
- type : textarea
attributes :
label : Reproduceable Code
2023-09-14 06:06:09 -06:00
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.
2021-08-09 05:21:07 -06:00
render : tsx
2023-09-14 06:06:09 -06:00
placeholder : >
const device = useCameraDevices()
2023-09-14 06:09:47 -06:00
// ...
2023-09-14 06:06:09 -06:00
<Camera
style={StyleSheet.absoluteFill}
device={device}
isActive={true} />
2023-09-14 06:02:02 -06:00
validations :
required : true
2021-07-14 03:00:26 -06:00
- type : textarea
attributes :
label : Relevant log output
2023-09-14 06:06:09 -06:00
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.
2023-09-14 06:10:41 -06:00
2023-09-14 06:06:09 -06:00
* For iOS, run the project through Xcode and copy the logs from the log window.
2023-09-14 06:10:52 -06:00
2023-09-14 06:06:09 -06:00
* For Android, either open the project through Android Studio and paste the logs from the logcat window, or run `adb logcat` in terminal.
2021-07-14 03:00:26 -06:00
render : shell
2023-09-14 06:02:02 -06:00
validations :
required : true
2023-08-21 04:50:14 -06:00
- type : textarea
attributes :
label : Camera Device
2023-09-14 06:06:09 -06:00
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.
2023-09-14 06:11:21 -06:00
2023-09-14 06:12:58 -06:00
```
2023-09-14 06:13:16 -06:00
2023-09-14 06:12:58 -06:00
device.formats = undefined
2023-09-14 06:11:33 -06:00
2023-09-14 06:12:58 -06:00
console.log(JSON.stringify(device, null, 2))
2023-09-14 06:13:16 -06:00
2023-09-14 06:12:58 -06:00
```
2023-09-14 06:11:21 -06:00
2023-09-14 06:06:09 -06:00
This will be automatically formatted into code, so no need for backticks.
2023-09-14 06:09:47 -06:00
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
}
2023-09-14 06:02:02 -06:00
validations :
required : true
2021-07-14 05:55:53 -06:00
- type : input
2021-07-14 03:00:26 -06:00
attributes :
2021-07-14 05:55:53 -06:00
label : Device
2023-09-14 06:06:09 -06:00
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)
2021-07-14 05:55:53 -06:00
placeholder : ex. iPhone 11 Pro (iOS 14.3)
2021-07-14 03:17:32 -06:00
validations :
required : true
2021-07-14 03:00:26 -06:00
- type : input
attributes :
label : VisionCamera Version
description : Which version of react-native-vision-camera are you using?
2023-09-01 10:46:41 -06:00
placeholder : ex. 3.1.6
2021-07-14 03:00:26 -06:00
validations :
required : true
2023-09-01 10:46:41 -06:00
- type : checkboxes
attributes :
label : Can you reproduce this issue in the VisionCamera Example app?
description : Run the example app (`package/example/`) and see if the issue is reproduceable here.
options :
- label : I can reproduce the issue in the VisionCamera Example app.
2021-07-14 03:00:26 -06:00
- type : checkboxes
attributes :
label : Additional information
2021-07-14 03:04:41 -06:00
description : Please check all the boxes that apply
2021-07-14 03:00:26 -06:00
options :
2023-09-01 12:10:44 -06:00
- label : I am using Expo
- label : I have enabled Frame Processors (react-native-worklets-core)
2023-03-06 03:03:40 -07:00
- label : I have read the [Troubleshooting Guide](https://react-native-vision-camera.com/docs/guides/troubleshooting)
2021-07-14 03:00:26 -06:00
required : true
- label : I agree to follow this project's [Code of Conduct](https://github.com/mrousavy/react-native-vision-camera/blob/main/CODE_OF_CONDUCT.md)
required : true
2021-07-14 03:31:03 -06:00
- label : I searched for [similar issues in this repository](https://github.com/mrousavy/react-native-vision-camera/issues) and found none.
required : true