You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2020/01/13 10:51:49 UTC

[GitHub] [cordova-plugin-camera] guillem-sopra opened a new issue #545: [iOS - iPad] App crashes if video transcoding is interrupted

guillem-sopra opened a new issue #545: [iOS - iPad] App crashes if video transcoding is interrupted
URL: https://github.com/apache/cordova-plugin-camera/issues/545
 
 
   # Bug Report
   
   ## Problem
   
   In iOS, when one selects a video from the gallery, a transcoding/compression process must be carried out. In iPhone one cannot interrupt or cancel this process, but in iPad you do: since the gallery navigation appears inside a pop-up, you can click anywhere outside the pop-up or the back button. If you do so, the app crashes.
   
   ### What is expected to happen?
   
   The transcoding process is interrupted, an exception is captured and properly emitted in js.
   
   ### What does actually happen?
   
   The app crashes. My guessing: An uncaptured exception happens in the native code.
   
   ## Information
   
   Tested in iOS 12 and 13.
   
   
   
   ### Command or Code
   
   The app crashes and the catch is never reached:
   
   ```
   fileUri = await this.camera.getPicture(options).then((fileURI) => {
         console.log(fileURI);
         return fileURI;
       }).catch((error) => {
       console.error(error)
     });
   ```
   
   
   
   ### Environment, Platform, Device
   
   
   iPad, iOS versions 12 and 13.
   
   
   
   ### 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.
   -->
   
   
   
   ## 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


With regards,
Apache Git Services

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