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-19 05:14:04 -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-19 05:14:04 -06:00
description : >
2023-09-14 06:06:09 -06:00
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-19 05:14:04 -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-19 05:14:04 -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-19 05:23:27 -06:00
placeholder : >
09:03:46 I ReactNativeJS : Running "VisionCameraExample" with {"rootTag":11}
2023-09-19 05:25:08 -06:00
2023-09-19 05:23:27 -06:00
09:03:47 I ReactNativeJS: Re-rendering App. Camera: undefined | Microphone : undefined
2023-09-19 05:25:08 -06:00
2023-09-19 05:23:27 -06:00
09:03:47 I VisionCamera : Installing JSI bindings...
2023-09-19 05:25:08 -06:00
2023-09-19 05:23:27 -06:00
09:03:47 I VisionCamera : Finished installing JSI bindings!
...
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-19 05:14:04 -06:00
description : >
2023-09-14 06:06:09 -06:00
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-19 05:14:04 -06:00
2023-09-14 06:12:58 -06:00
```
2023-09-19 05:14:04 -06:00
2023-09-14 06:12:58 -06:00
device.formats = undefined
2023-09-19 05:14:04 -06:00
2023-09-14 06:12:58 -06:00
console.log(JSON.stringify(device, null, 2))
2023-09-19 05:14:04 -06:00
2023-09-14 06:12:58 -06:00
```
2023-09-19 05:14:04 -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" ,
"supportsFocus": true ,
"supportsLowLightBoost": false ,
"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-19 05:14:04 -06:00
description : >
2023-09-14 06:06:09 -06:00
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-19 05:14:04 -06:00
- type : dropdown
2023-09-01 10:46:41 -06:00
attributes :
label : Can you reproduce this issue in the VisionCamera Example app?
2023-09-19 05:14:04 -06:00
description : >
Try to build the example app (`package/example/`) and see if the issue is reproduceable here.
**Note:** If you don't try this in the example app, I most likely won't help you with your issue.
2023-09-01 10:46:41 -06:00
options :
2023-09-19 05:17:07 -06:00
- I didn't try (⚠️ your issue might get ignored & closed if you don't try this)
2023-09-19 05:14:04 -06:00
- Yes , I can reproduce the same issue in the Example app here
- No , I cannot reproduce the issue in the Example app
2023-09-19 05:16:16 -06:00
default : 0
2023-09-19 05:14:04 -06:00
validations :
required : true
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