You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/07/06 16:57:00 UTC

[GitHub] [cordova-plugin-camera] indraraj26 opened a new issue #620: take photo and click so fast on take picture you will get black screen

indraraj26 opened a new issue #620:
URL: https://github.com/apache/cordova-plugin-camera/issues/620


   # Bug Report
   
   ## Problem
   
   ### What is expected to happen?
   I should not get black screen if i clicked so fast while i just moving to camera.
   1. camera open
   2. you clicked so fast to take picture
   3. you will get black screen
   ### What does actually happen?
   
   ![](https://user-images.githubusercontent.com/23274631/86618931-5ac5ae80-bfd7-11ea-9f3a-0f2737d9b9d8.gif)
    
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   Youtube video : https://youtu.be/Z04syRoI7uQ
   Repo: https://github.com/indraraj26/cordova-camera-fast-click
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   Sample code from docs
   ```
   takePhoto: function () {
   		navigator.camera.getPicture(
   			(success) => {
   				console.log(success, 'camera file');
   			},
   			(err) => {
   				console.log(ere);
   			},
   			{
   				quality: 50,
   				destinationType: Camera.DestinationType.FILE_URI,
   				mediaType: Camera.MediaType.PICTURE,
   				sourceType: Camera.PictureSourceType.CAMERA,
   			},
   		);
   	},
   ```
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   Android
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   cordova --version
   9.0.0 (cordova-lib@9.0.1)
   "cordova-android": "^8.1.0",
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [X] I searched for existing GitHub issues
   - [X] I updated all Cordova tooling to most recent version
   - [X] I included all the necessary information above
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org