1+ name : 🐛 Bug Report
2+ description : File a bug report for Capacitor Camera View
3+ title : " [Bug] "
4+ labels : ["bug"]
5+ body :
6+ - type : markdown
7+ attributes :
8+ value : |
9+ Thanks for taking the time to fill out this bug report! The more information you provide, the better we can help.
10+
11+ - type : checkboxes
12+ id : prerequisites
13+ attributes :
14+ label : Prerequisites
15+ description : Please confirm these before submitting your issue.
16+ options :
17+ - label : I have searched for similar issues before creating this one
18+ required : true
19+ - label : I am using the latest version of Capacitor Camera View
20+ required : true
21+
22+ - type : textarea
23+ attributes :
24+ label : Current behavior
25+ description : Describe the bug or issue you're encountering in detail.
26+ placeholder : When I try to take a photo with front camera, the app crashes...
27+ validations :
28+ required : true
29+
30+ - type : textarea
31+ attributes :
32+ label : Expected behavior
33+ description : Describe what you expected to happen when using the plugin.
34+ placeholder : The front camera should open and allow me to take a photo.
35+ validations :
36+ required : true
37+
38+ - type : textarea
39+ attributes :
40+ label : Steps to reproduce
41+ description : Clear steps to reproduce the issue.
42+ placeholder : |
43+ 1. Install plugin version X.X.X
44+ 2. Call `start()` with these options: {...}
45+ 3. Switch to front camera
46+ 4. ...
47+ validations :
48+ required : true
49+
50+ - type : dropdown
51+ attributes :
52+ label : Platforms affected
53+ description : Select all platforms where you're experiencing the issue.
54+ multiple : true
55+ options :
56+ - Android
57+ - iOS
58+ - Web
59+ validations :
60+ required : true
61+
62+ - type : textarea
63+ attributes :
64+ label : Capacitor doctor
65+ description : Run `npx cap doctor` in a terminal and paste the output below.
66+ validations :
67+ required : true
68+
69+ - type : dropdown
70+ attributes :
71+ label : Is this a regression?
72+ description : Did this work in a previous version?
73+ options :
74+ - Yes (worked in a previous version)
75+ - No (never worked)
76+ - Not sure
77+ validations :
78+ required : false
79+
80+ - type : input
81+ attributes :
82+ label : Reproduction repository
83+ description : If possible, please provide a link to a minimal repository that reproduces the issue.
84+ placeholder : https://github.com/username/repo
85+
86+ - type : textarea
87+ attributes :
88+ label : Code snippet
89+ description : |
90+ If applicable, add a minimal code snippet that demonstrates the problem.
91+ render : typescript
92+ placeholder : |
93+ import { CameraViewPlugin } from 'capacitor-camera-view';
94+
95+ const { photo } = await this.#cameraView.capture({
96+ quality: 90,
97+ });
98+
99+ - type : textarea
100+ attributes :
101+ label : Screenshots or videos
102+ description : If applicable, add screenshots or videos to help explain your problem.
103+ placeholder : You can upload files by dragging & dropping them into this text area.
104+
105+ - type : textarea
106+ attributes :
107+ label : Additional context
108+ description : Add any other context about the problem here.
0 commit comments