ionic-team / capacitor-plugins

Official plugins for Capacitor ⚡️
519 stars 586 forks source link

Camera issue #2206

Open Gjagadish123 opened 1 week ago

Gjagadish123 commented 1 week ago

Bug Report

For example, on a phone running an unidentified Android version, the OS restarts once the user taps the camera button and takes a picture. Additionally, I've tried Cordova plugins, but to no use. In addition, I created a new Ionic project, but it was unsuccessful.

Plugin(s)

npm install @capacitor/camera I think android 12

Capacitor Version


  @capacitor/cli: 6.1.2    
  @capacitor/core: 6.1.2   
  @capacitor/android: 6.1.2
  @capacitor/ios: 6.1.2    

Installed Dependencies:    

  @capacitor/cli: 6.1.1    
  @capacitor/android: 6.1.1
  @capacitor/ios: 6.1.1    
  @capacitor/core: 6.1.1  

### Platform(s)
<!--
List the platforms that this bug affects.
-->
Android

### Current Behavior
<!--
Describe how the bug manifests. Be specific.
-->
For example, on a phone running an unidentified Android version, the OS restarts once the user taps the camera button and takes a picture. Additionally, I've tried Cordova plugins, but to no use. In addition, I created a new Ionic project, but it was unsuccessful.

### Expected Behavior
<!--
Describe what the behavior should be.
-->

### Code Reproduction
<!--
To isolate the cause of the problem, we ask you to provide a minimal sample application that demonstrates the issue.
For full instructions, see: https://github.com/ionic-team/capacitor/blob/master/CONTRIBUTING.md#creating-a-code-reproduction
-->

### Other Technical Details
<!--
Please provide the following information with your request and any other relevant technical details (versions of IDEs, local environment info, plugin information or links, etc).
-->

https://github.com/user-attachments/assets/48a57e9f-9495-4581-9810-79d0ddb1e2e3

### Additional Context
<!--
List any other information that is relevant to your issue. Stack traces, related issues, suggestions on how to fix, Stack Overflow links, forum links, etc.
-->

https://github.com/user-attachments/assets/0ca1809a-e1df-42e2-a48b-83a66286327c

These two films provide a brief overview of the problem.
Ionitron commented 5 days ago

This issue needs more information before it can be addressed. In particular, the reporter needs to provide a minimal sample app that demonstrates the issue. If no sample app is provided within 15 days, the issue will be closed.

Please see the Contributing Guide for how to create a Sample App.

Thanks! Ionitron 💙