[jira] [Commented] (CB-13415) Importing corrupt images using the Camera plugin crashes the app
[ https://issues.apache.org/jira/browse/CB-13415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16315529#comment-16315529 ] Shemrick Flannigan commented on CB-13415: - [~jcesarmobile] If you have an Android device available, it is easier to replicate this issue by directly uploading the corrupt image from Dropbox. If you only have an iPhone available, a robust free utility to transfer the corrupt image file intact to the iOS file system is MobiMover: https://www.easeus.com/phone-transfer/mobimover-free.html > Importing corrupt images using the Camera plugin crashes the app > > > Key: CB-13415 > URL: https://issues.apache.org/jira/browse/CB-13415 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-camera > Environment: Android: OS 7.0, Phone Model: Moto G5 Plus > iOS: OS 10.1.1 (14B150) >Reporter: Shemrick Flannigan >Priority: Critical > Labels: android, camera, cameraui, ios > > ISSUE > Importing corrupt images using the Camera plugin crashes the app > Current Behavior > # Importing a corrupt image using the Cordova Camera plugin crashes the > Cordova app which uses the plugin > Expected Behavior > # Importing a corrupt image using the Cordova Camera plugin: > #* Throws an exception which can be caught by the Cordova app which uses the > plugin > #* Does not crash the Cordova app which uses the plugin > #* Allows the Cordova app which uses the plugin to render a Toast error > message relaying the error > # # Platforms affected > #* Android > #* iOS > REFERENCES > # [Sample corrupt image which crashes the app | > https://www.dropbox.com/s/e7dz007svtvscbc/Corrupt_Image_4.7MB_13500x13500.D2.jpg?dl=0] > # [Technique used to wrap the call in a Try/Catch block in a callable inner > class to prevent an app crash | > https://stackoverflow.com/questions/19183174/phonegap-video-capture-crashes] > ADDITIONAL INFORMATION > # Importing corrupt images does not crash apps which do not use the Camera > plugin, such as: > #* Yelp mobile app > #* Slack mobile app -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-13732) Delay in returning control to the Webview increases in duration based on selected image file size
[ https://issues.apache.org/jira/browse/CB-13732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shemrick Flannigan updated CB-13732: Description: ISSUE Selecting a large image through the plugin creates a delay before returning control to the Cordova app which uses the plugin Current Behavior # Selecting a large image (in filesize) through the plugin creates a delay before returning control to the Cordova app which uses the plugin. This includes both: #* Camera capture #* Image gallery # This delay increases in a linear fashion with the filesize of the selected image Expected Behavior # Selecting an image should: #* Return control immediately to the Cordova app which uses the plugin #* Continue the data transfer of the image to the Cordova app in a background thread #* Include a callback function to indicate that the data transfer of the image to the Cordova app is complete # This includes both: #* Camera capture #* Image gallery # All image file sizes should return control to the Cordova app which uses the plugin at the same speed including: #* 5MB image #* 11MB image #* 15MB image #* 20MB image #* 40MB image # # Platforms affected #* Android #* iOS REFERENCES # Here are sample test images: #* [5MB image | https://www.dropbox.com/s/gq81736zzh9jqah/User_Profile_Image_Upload_Test_5MB.jpg?dl=0] #* [11MB image | https://www.dropbox.com/s/i5ep7bn87upm74q/User_Profile_Image_Upload_Test_11MB.jpg?dl=0] #* [15MB image | https://www.dropbox.com/s/rk9azn91e5sq7d0/User_Profile_Image_Upload_Test_v2_15MB.jpg?dl=0] #* [20MB image | https://www.dropbox.com/s/9fz9996nzo6g3yo/User_Profile_Image_Upload_Test_v1_20MB.jpg?dl=0] #* [40MB image | https://www.dropbox.com/s/cnxykbcvkbc2k1k/Airbus_Pleiades_50cm_8bit_RGB_Yogyakarta.jpg?dl=0] was: ISSUE Selecting a large image through the plugin creates a delay before returning control to the Cordova app which uses the plugin Current Behavior # Selecting a large image (in filesize) through the plugin creates a delay before returning control to the Cordova app which uses the plugin. This includes both: #* Camera capture #* Image gallery # This delay increases in a linear fashion with the filesize of the selected image Expected Behavior # Selecting an image should: #* Return control immediately to the Cordova app which uses the plugin #* Continue the data transfer of the image to the Cordova app in a background thread #* Include a callback function to indicate that the data transfer of the image to the Cordova app is complete # This includes both: #* Camera capture #* Image gallery # All image file sizes should return control to the Cordova app which uses the plugin at the same speed including: #* 5MB image #* 11MB image #* 15MB image #* 20MB image # # Platforms affected #* Android #* iOS REFERENCES # Here are sample test images: #* [5MB image | https://www.dropbox.com/s/gq81736zzh9jqah/User_Profile_Image_Upload_Test_5MB.jpg?dl=0] #* [11MB image | https://www.dropbox.com/s/i5ep7bn87upm74q/User_Profile_Image_Upload_Test_11MB.jpg?dl=0] #* [15MB image | https://www.dropbox.com/s/rk9azn91e5sq7d0/User_Profile_Image_Upload_Test_v2_15MB.jpg?dl=0] #* [20MB image | https://www.dropbox.com/s/9fz9996nzo6g3yo/User_Profile_Image_Upload_Test_v1_20MB.jpg?dl=0] > Delay in returning control to the Webview increases in duration based on > selected image file size > - > > Key: CB-13732 > URL: https://issues.apache.org/jira/browse/CB-13732 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-camera > Environment: Android: OS 7.0, Phone Model: Moto G5 Plus > iOS: OS 10.1.1 (14B150) >Reporter: Shemrick Flannigan > Labels: android, camera, cameraui, ios > > ISSUE > Selecting a large image through the plugin creates a delay before returning > control to the Cordova app which uses the plugin > Current Behavior > # Selecting a large image (in filesize) through the plugin creates a delay > before returning control to the Cordova app which uses the plugin. This > includes both: > #* Camera capture > #* Image gallery > # This delay increases in a linear fashion with the filesize of the selected > image > Expected Behavior > # Selecting an image should: > #* Return control immediately to the Cordova app which uses the plugin > #* Continue the data transfer of the image to the Cordova app in a background > thread > #* Include a callback function to indicate that the data transfer of the > image to the Cordova app is complete > # This includes both: > #* Camera capture > #* Image gallery > # All image file sizes should return control to the Cordova app which uses > the plugin at the same speed including: > #* 5MB image > #* 11MB image > #* 15MB image > #* 20MB image > #* 40MB image > # #
[jira] [Commented] (CB-13732) Delay in returning control to the Webview increases in duration based on selected image file size
[ https://issues.apache.org/jira/browse/CB-13732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16315026#comment-16315026 ] Shemrick Flannigan commented on CB-13732: - [~jcesarmobile] Yes here are the applicable functions. Of note, the images are purposely not compressed; they are set at 100% of their original file size and quality. I'll also email you the sample Cordova app which includes this code, so that you can observe the delay with the selection of large images. {code:javascript} function onDeviceReady() { const pictureSource = navigator.camera.PictureSourceType; const destinationType = navigator.camera.DestinationType; // Modal window to select Import Photo or Take Photo self.uploadImage = function() { navigator.notification.confirm('Add photo', onOptionSelectionConfirm, 'Add Photo', ['Cancel','Import Photo','Take photo']); }; function onOptionSelectionConfirm(button) { if (button === 1) { //Cancel Button } else if (button === 2) { // Import Photo button getPhotoFromLibrary(pictureSource.SAVEDPHOTOALBUM); } else if (button === 3) { // Take photo button getPhotoFromCamera(); } } // For capturing photo with a URI return from photo album function getPhotoFromLibrary(source) { // Retrieve image file location from specified source navigator.camera.getPicture(uploadPhoto, onGetPhotoFail, { quality: 100, destinationType: destinationType.FILE_URI, sourceType: source, correctOrientation: true, }); } // For capturing single photo with a URI return from camera directly function getPhotoFromCamera() { //alert("starting camera"); // Retrieve image file location from specified source navigator.camera.getPicture(uploadPhoto, onGetPhotoFail, { quality: 100, destinationType: destinationType.FILE_URI, saveToPhotoAlbum: true, correctOrientation: true, }); } // Called if something bad happens function onGetPhotoFail(message) { showToast.long('Photo capturing failed because: ' + message); } function uploadPhoto(imgUri) { $cordovaProgress.showSimpleWithLabelDetail(true, "Please wait...", "Image uploading..."); userService.uploadUserAvatar(imgUri).then(res => { console.log('New Photo Path ===>', res) self.user.userPhoto = res; $cordovaProgress.hide(); }); } {code} > Delay in returning control to the Webview increases in duration based on > selected image file size > - > > Key: CB-13732 > URL: https://issues.apache.org/jira/browse/CB-13732 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-camera > Environment: Android: OS 7.0, Phone Model: Moto G5 Plus > iOS: OS 10.1.1 (14B150) >Reporter: Shemrick Flannigan > Labels: android, camera, cameraui, ios > > ISSUE > Selecting a large image through the plugin creates a delay before returning > control to the Cordova app which uses the plugin > Current Behavior > # Selecting a large image (in filesize) through the plugin creates a delay > before returning control to the Cordova app which uses the plugin. This > includes both: > #* Camera capture > #* Image gallery > # This delay increases in a linear fashion with the filesize of the selected > image > Expected Behavior > # Selecting an image should: > #* Return control immediately to the Cordova app which uses the plugin > #* Continue the data transfer of the image to the Cordova app in a background > thread > #* Include a callback function to indicate that the data transfer of the > image to the Cordova app is complete > # This includes both: > #* Camera capture > #* Image gallery > # All image file sizes should return control to the Cordova app which uses > the plugin at the same speed including: > #* 5MB image > #* 11MB image > #* 15MB image > #* 20MB image > # # Platforms affected > #* Android > #* iOS > REFERENCES > # Here are sample test images: > #* [5MB image | > https://www.dropbox.com/s/gq81736zzh9jqah/User_Profile_Image_Upload_Test_5MB.jpg?dl=0] > #* [11MB image | >
[jira] [Updated] (CB-13734) Cordova Camera plugin crashes crash the Cordova app which use it
[ https://issues.apache.org/jira/browse/CB-13734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shemrick Flannigan updated CB-13734: Description: ISSUE Crashes with the Cordova Camera plugin also crash the Cordova app which use the plugin Current Behavior # When the Cordova Camera plugin crashes, it also crashes the Cordova app which references the plugin Expected Behavior # When the Cordova Camera plugin crashes: #* Control should be returned to the Cordova app #* An error message should be returned to the Cordova app, to make the app aware that the crash has occurred # Platforms affected #* Android #* iOS was: ISSUE Initiating the Cordova Camera method "camera.getPicture" does not include a callback function to indicate that a picture is being selected Current Behavior # When the Cordova app calls the Cordova Camera method "camera.getPicture" there is no callback function to indicate that a picture is being selected. This Cordova app is unaware of whether the Cordova Camera app is actively selecting an image through either: #* Camera capture #* Image gallery Expected Behavior # When the Cordova app calls the Cordova Camera method "camera.getPicture" there is a callback function to indicate that a picture is being selected. This Cordova app is aware that the Cordova Camera app is actively selecting an image through either: #* Camera capture #* Image gallery # Platforms affected #* Android #* iOS > Cordova Camera plugin crashes crash the Cordova app which use it > > > Key: CB-13734 > URL: https://issues.apache.org/jira/browse/CB-13734 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-camera > Environment: Android: OS 7.0, Phone Model: Moto G5 Plus > iOS: OS 10.1.1 (14B150) >Reporter: Shemrick Flannigan > Labels: android, camera, cameraui, ios > > ISSUE > Crashes with the Cordova Camera plugin also crash the Cordova app which use > the plugin > Current Behavior > # When the Cordova Camera plugin crashes, it also crashes the Cordova app > which references the plugin > Expected Behavior > # When the Cordova Camera plugin crashes: > #* Control should be returned to the Cordova app > #* An error message should be returned to the Cordova app, to make the app > aware that the crash has occurred > # Platforms affected > #* Android > #* iOS -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-13734) Cordova Camera plugin crashes crash the Cordova app which use it
Shemrick Flannigan created CB-13734: --- Summary: Cordova Camera plugin crashes crash the Cordova app which use it Key: CB-13734 URL: https://issues.apache.org/jira/browse/CB-13734 Project: Apache Cordova Issue Type: Bug Components: cordova-plugin-camera Environment: Android: OS 7.0, Phone Model: Moto G5 Plus iOS: OS 10.1.1 (14B150) Reporter: Shemrick Flannigan ISSUE Initiating the Cordova Camera method "camera.getPicture" does not include a callback function to indicate that a picture is being selected Current Behavior # When the Cordova app calls the Cordova Camera method "camera.getPicture" there is no callback function to indicate that a picture is being selected. This Cordova app is unaware of whether the Cordova Camera app is actively selecting an image through either: #* Camera capture #* Image gallery Expected Behavior # When the Cordova app calls the Cordova Camera method "camera.getPicture" there is a callback function to indicate that a picture is being selected. This Cordova app is aware that the Cordova Camera app is actively selecting an image through either: #* Camera capture #* Image gallery # Platforms affected #* Android #* iOS -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-13733) There is no callback from the method "camera.getPicture" to indicate that a picture is being selected
[ https://issues.apache.org/jira/browse/CB-13733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shemrick Flannigan updated CB-13733: Priority: Major (was: Critical) > There is no callback from the method "camera.getPicture" to indicate that a > picture is being selected > - > > Key: CB-13733 > URL: https://issues.apache.org/jira/browse/CB-13733 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-camera > Environment: Android: OS 7.0, Phone Model: Moto G5 Plus > iOS: OS 10.1.1 (14B150) >Reporter: Shemrick Flannigan > Labels: android, camera, cameraui, ios > > ISSUE > Initiating the Cordova Camera method "camera.getPicture" does not include a > callback function to indicate that a picture is being selected > Current Behavior > # When the Cordova app calls the Cordova Camera method "camera.getPicture" > there is no callback function to indicate that a picture is being selected. > This Cordova app is unaware of whether the Cordova Camera app is actively > selecting an image through either: > #* Camera capture > #* Image gallery > Expected Behavior > # When the Cordova app calls the Cordova Camera method "camera.getPicture" > there is a callback function to indicate that a picture is being selected. > This Cordova app is aware that the Cordova Camera app is actively selecting > an image through either: > #* Camera capture > #* Image gallery > # Platforms affected > #* Android > #* iOS -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-13733) There is no callback from the method "camera.getPicture" to indicate that a picture is being selected
[ https://issues.apache.org/jira/browse/CB-13733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shemrick Flannigan updated CB-13733: Description: ISSUE Initiating the Cordova Camera method "camera.getPicture" does not include a callback function to indicate that a picture is being selected Current Behavior # When the Cordova app calls the Cordova Camera method "camera.getPicture" there is no callback function to indicate that a picture is being selected. This Cordova app is unaware of whether the Cordova Camera app is actively selecting an image through either: #* Camera capture #* Image gallery Expected Behavior # When the Cordova app calls the Cordova Camera method "camera.getPicture" there is a callback function to indicate that a picture is being selected. This Cordova app is aware that the Cordova Camera app is actively selecting an image through either: #* Camera capture #* Image gallery # Platforms affected #* Android #* iOS was: ISSUE Initiating the Cordova Camera method Current Behavior # Selecting a large image (in filesize) through the plugin creates a delay before returning control to the Cordova app which uses the plugin. This includes both: #* Camera capture #* Image gallery # This delay increases in a linear fashion with the filesize of the selected image Expected Behavior # Selecting an image should: #* Return control immediately to the Cordova app which uses the plugin #* Continue the data transfer of the image to the Cordova app in a background thread #* Include a callback function to indicate that the data transfer of the image to the Cordova app is complete # This includes both: #* Camera capture #* Image gallery # All image file sizes should return control to the Cordova app which uses the plugin at the same speed including: #* 5GB image #* 11GB image #* 15GB image #* 20GB image # # Platforms affected #* Android #* iOS REFERENCES # Here are sample test images: #* [5GB image | https://www.dropbox.com/s/gq81736zzh9jqah/User_Profile_Image_Upload_Test_5MB.jpg?dl=0] #* [11GB image | https://www.dropbox.com/s/i5ep7bn87upm74q/User_Profile_Image_Upload_Test_11MB.jpg?dl=0] #* [15GB image | https://www.dropbox.com/s/rk9azn91e5sq7d0/User_Profile_Image_Upload_Test_v2_15MB.jpg?dl=0] #* [20GB image | https://www.dropbox.com/s/9fz9996nzo6g3yo/User_Profile_Image_Upload_Test_v1_20MB.jpg?dl=0] > There is no callback from the method "camera.getPicture" to indicate that a > picture is being selected > - > > Key: CB-13733 > URL: https://issues.apache.org/jira/browse/CB-13733 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-camera > Environment: Android: OS 7.0, Phone Model: Moto G5 Plus > iOS: OS 10.1.1 (14B150) >Reporter: Shemrick Flannigan >Priority: Critical > Labels: android, camera, cameraui, ios > > ISSUE > Initiating the Cordova Camera method "camera.getPicture" does not include a > callback function to indicate that a picture is being selected > Current Behavior > # When the Cordova app calls the Cordova Camera method "camera.getPicture" > there is no callback function to indicate that a picture is being selected. > This Cordova app is unaware of whether the Cordova Camera app is actively > selecting an image through either: > #* Camera capture > #* Image gallery > Expected Behavior > # When the Cordova app calls the Cordova Camera method "camera.getPicture" > there is a callback function to indicate that a picture is being selected. > This Cordova app is aware that the Cordova Camera app is actively selecting > an image through either: > #* Camera capture > #* Image gallery > # Platforms affected > #* Android > #* iOS -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-13733) There is no callback from the method "camera.getPicture" to indicate that a picture is being selected
[ https://issues.apache.org/jira/browse/CB-13733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shemrick Flannigan updated CB-13733: Description: ISSUE Initiating the Cordova Camera method Current Behavior # Selecting a large image (in filesize) through the plugin creates a delay before returning control to the Cordova app which uses the plugin. This includes both: #* Camera capture #* Image gallery # This delay increases in a linear fashion with the filesize of the selected image Expected Behavior # Selecting an image should: #* Return control immediately to the Cordova app which uses the plugin #* Continue the data transfer of the image to the Cordova app in a background thread #* Include a callback function to indicate that the data transfer of the image to the Cordova app is complete # This includes both: #* Camera capture #* Image gallery # All image file sizes should return control to the Cordova app which uses the plugin at the same speed including: #* 5GB image #* 11GB image #* 15GB image #* 20GB image # # Platforms affected #* Android #* iOS REFERENCES # Here are sample test images: #* [5GB image | https://www.dropbox.com/s/gq81736zzh9jqah/User_Profile_Image_Upload_Test_5MB.jpg?dl=0] #* [11GB image | https://www.dropbox.com/s/i5ep7bn87upm74q/User_Profile_Image_Upload_Test_11MB.jpg?dl=0] #* [15GB image | https://www.dropbox.com/s/rk9azn91e5sq7d0/User_Profile_Image_Upload_Test_v2_15MB.jpg?dl=0] #* [20GB image | https://www.dropbox.com/s/9fz9996nzo6g3yo/User_Profile_Image_Upload_Test_v1_20MB.jpg?dl=0] was: ISSUE Selecting a large image through the plugin creates a delay before returning control to the Cordova app which uses the plugin Current Behavior # Selecting a large image (in filesize) through the plugin creates a delay before returning control to the Cordova app which uses the plugin. This includes both: #* Camera capture #* Image gallery # This delay increases in a linear fashion with the filesize of the selected image Expected Behavior # Selecting an image should: #* Return control immediately to the Cordova app which uses the plugin #* Continue the data transfer of the image to the Cordova app in a background thread #* Include a callback function to indicate that the data transfer of the image to the Cordova app is complete # This includes both: #* Camera capture #* Image gallery # All image file sizes should return control to the Cordova app which uses the plugin at the same speed including: #* 5GB image #* 11GB image #* 15GB image #* 20GB image # # Platforms affected #* Android #* iOS REFERENCES # Here are sample test images: #* [5GB image | https://www.dropbox.com/s/gq81736zzh9jqah/User_Profile_Image_Upload_Test_5MB.jpg?dl=0] #* [11GB image | https://www.dropbox.com/s/i5ep7bn87upm74q/User_Profile_Image_Upload_Test_11MB.jpg?dl=0] #* [15GB image | https://www.dropbox.com/s/rk9azn91e5sq7d0/User_Profile_Image_Upload_Test_v2_15MB.jpg?dl=0] #* [20GB image | https://www.dropbox.com/s/9fz9996nzo6g3yo/User_Profile_Image_Upload_Test_v1_20MB.jpg?dl=0] > There is no callback from the method "camera.getPicture" to indicate that a > picture is being selected > - > > Key: CB-13733 > URL: https://issues.apache.org/jira/browse/CB-13733 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-camera > Environment: Android: OS 7.0, Phone Model: Moto G5 Plus > iOS: OS 10.1.1 (14B150) >Reporter: Shemrick Flannigan >Priority: Critical > Labels: android, camera, cameraui, ios > > ISSUE > Initiating the Cordova Camera method > Current Behavior > # Selecting a large image (in filesize) through the plugin creates a delay > before returning control to the Cordova app which uses the plugin. This > includes both: > #* Camera capture > #* Image gallery > # This delay increases in a linear fashion with the filesize of the selected > image > Expected Behavior > # Selecting an image should: > #* Return control immediately to the Cordova app which uses the plugin > #* Continue the data transfer of the image to the Cordova app in a background > thread > #* Include a callback function to indicate that the data transfer of the > image to the Cordova app is complete > # This includes both: > #* Camera capture > #* Image gallery > # All image file sizes should return control to the Cordova app which uses > the plugin at the same speed including: > #* 5GB image > #* 11GB image > #* 15GB image > #* 20GB image > # # Platforms affected > #* Android > #* iOS > REFERENCES > # Here are sample test images: > #* [5GB image | > https://www.dropbox.com/s/gq81736zzh9jqah/User_Profile_Image_Upload_Test_5MB.jpg?dl=0] > #* [11GB image | >
[jira] [Created] (CB-13733) There is no callback from the method "camera.getPicture" to indicate that a picture is being selected
Shemrick Flannigan created CB-13733: --- Summary: There is no callback from the method "camera.getPicture" to indicate that a picture is being selected Key: CB-13733 URL: https://issues.apache.org/jira/browse/CB-13733 Project: Apache Cordova Issue Type: Bug Components: cordova-plugin-camera Environment: Android: OS 7.0, Phone Model: Moto G5 Plus iOS: OS 10.1.1 (14B150) Reporter: Shemrick Flannigan Priority: Critical ISSUE Selecting a large image through the plugin creates a delay before returning control to the Cordova app which uses the plugin Current Behavior # Selecting a large image (in filesize) through the plugin creates a delay before returning control to the Cordova app which uses the plugin. This includes both: #* Camera capture #* Image gallery # This delay increases in a linear fashion with the filesize of the selected image Expected Behavior # Selecting an image should: #* Return control immediately to the Cordova app which uses the plugin #* Continue the data transfer of the image to the Cordova app in a background thread #* Include a callback function to indicate that the data transfer of the image to the Cordova app is complete # This includes both: #* Camera capture #* Image gallery # All image file sizes should return control to the Cordova app which uses the plugin at the same speed including: #* 5GB image #* 11GB image #* 15GB image #* 20GB image # # Platforms affected #* Android #* iOS REFERENCES # Here are sample test images: #* [5GB image | https://www.dropbox.com/s/gq81736zzh9jqah/User_Profile_Image_Upload_Test_5MB.jpg?dl=0] #* [11GB image | https://www.dropbox.com/s/i5ep7bn87upm74q/User_Profile_Image_Upload_Test_11MB.jpg?dl=0] #* [15GB image | https://www.dropbox.com/s/rk9azn91e5sq7d0/User_Profile_Image_Upload_Test_v2_15MB.jpg?dl=0] #* [20GB image | https://www.dropbox.com/s/9fz9996nzo6g3yo/User_Profile_Image_Upload_Test_v1_20MB.jpg?dl=0] -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-13732) Delay in returning control to the Webview increases in duration based on selected image file size
[ https://issues.apache.org/jira/browse/CB-13732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shemrick Flannigan updated CB-13732: Description: ISSUE Selecting a large image through the plugin creates a delay before returning control to the Cordova app which uses the plugin Current Behavior # Selecting a large image (in filesize) through the plugin creates a delay before returning control to the Cordova app which uses the plugin. This includes both: #* Camera capture #* Image gallery # This delay increases in a linear fashion with the filesize of the selected image Expected Behavior # Selecting an image should: #* Return control immediately to the Cordova app which uses the plugin #* Continue the data transfer of the image to the Cordova app in a background thread #* Include a callback function to indicate that the data transfer of the image to the Cordova app is complete # This includes both: #* Camera capture #* Image gallery # All image file sizes should return control to the Cordova app which uses the plugin at the same speed including: #* 5GB image #* 11GB image #* 15GB image #* 20GB image # # Platforms affected #* Android #* iOS REFERENCES # Here are sample test images: #* [5GB image | https://www.dropbox.com/s/gq81736zzh9jqah/User_Profile_Image_Upload_Test_5MB.jpg?dl=0] #* [11GB image | https://www.dropbox.com/s/i5ep7bn87upm74q/User_Profile_Image_Upload_Test_11MB.jpg?dl=0] #* [15GB image | https://www.dropbox.com/s/rk9azn91e5sq7d0/User_Profile_Image_Upload_Test_v2_15MB.jpg?dl=0] #* [20GB image | https://www.dropbox.com/s/9fz9996nzo6g3yo/User_Profile_Image_Upload_Test_v1_20MB.jpg?dl=0] was: ISSUE Importing corrupt images using the Camera plugin crashes the app Current Behavior # Importing a corrupt image using the Cordova Camera plugin crashes the Cordova app which uses the plugin Expected Behavior # Importing a corrupt image using the Cordova Camera plugin: #* Throws an exception which can be caught by the Cordova app which uses the plugin #* Does not crash the Cordova app which uses the plugin #* Allows the Cordova app which uses the plugin to render a Toast error message relaying the error # # Platforms affected #* Android #* iOS REFERENCES # [Sample corrupt image which crashes the app | https://www.dropbox.com/s/e7dz007svtvscbc/Corrupt_Image_4.7MB_13500x13500.D2.jpg?dl=0] # [Technique used to wrap the call in a Try/Catch block in a callable inner class to prevent an app crash | https://stackoverflow.com/questions/19183174/phonegap-video-capture-crashes] ADDITIONAL INFORMATION # Importing corrupt images does not crash apps which do not use the Camera plugin, such as: #* Yelp mobile app #* Slack mobile app > Delay in returning control to the Webview increases in duration based on > selected image file size > - > > Key: CB-13732 > URL: https://issues.apache.org/jira/browse/CB-13732 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-camera > Environment: Android: OS 7.0, Phone Model: Moto G5 Plus > iOS: OS 10.1.1 (14B150) >Reporter: Shemrick Flannigan >Priority: Critical > Labels: android, camera, cameraui, ios > > ISSUE > Selecting a large image through the plugin creates a delay before returning > control to the Cordova app which uses the plugin > Current Behavior > # Selecting a large image (in filesize) through the plugin creates a delay > before returning control to the Cordova app which uses the plugin. This > includes both: > #* Camera capture > #* Image gallery > # This delay increases in a linear fashion with the filesize of the selected > image > Expected Behavior > # Selecting an image should: > #* Return control immediately to the Cordova app which uses the plugin > #* Continue the data transfer of the image to the Cordova app in a background > thread > #* Include a callback function to indicate that the data transfer of the > image to the Cordova app is complete > # This includes both: > #* Camera capture > #* Image gallery > # All image file sizes should return control to the Cordova app which uses > the plugin at the same speed including: > #* 5GB image > #* 11GB image > #* 15GB image > #* 20GB image > # # Platforms affected > #* Android > #* iOS > REFERENCES > # Here are sample test images: > #* [5GB image | > https://www.dropbox.com/s/gq81736zzh9jqah/User_Profile_Image_Upload_Test_5MB.jpg?dl=0] > #* [11GB image | > https://www.dropbox.com/s/i5ep7bn87upm74q/User_Profile_Image_Upload_Test_11MB.jpg?dl=0] > #* [15GB image | > https://www.dropbox.com/s/rk9azn91e5sq7d0/User_Profile_Image_Upload_Test_v2_15MB.jpg?dl=0] > #* [20GB image | > https://www.dropbox.com/s/9fz9996nzo6g3yo/User_Profile_Image_Upload_Test_v1_20MB.jpg?dl=0] -- This message was
[jira] [Created] (CB-13732) Delay in returning control to the Webview increases in duration based on selected image file size
Shemrick Flannigan created CB-13732: --- Summary: Delay in returning control to the Webview increases in duration based on selected image file size Key: CB-13732 URL: https://issues.apache.org/jira/browse/CB-13732 Project: Apache Cordova Issue Type: Bug Components: cordova-plugin-camera Environment: Android: OS 7.0, Phone Model: Moto G5 Plus iOS: OS 10.1.1 (14B150) Reporter: Shemrick Flannigan Priority: Critical ISSUE Importing corrupt images using the Camera plugin crashes the app Current Behavior # Importing a corrupt image using the Cordova Camera plugin crashes the Cordova app which uses the plugin Expected Behavior # Importing a corrupt image using the Cordova Camera plugin: #* Throws an exception which can be caught by the Cordova app which uses the plugin #* Does not crash the Cordova app which uses the plugin #* Allows the Cordova app which uses the plugin to render a Toast error message relaying the error # # Platforms affected #* Android #* iOS REFERENCES # [Sample corrupt image which crashes the app | https://www.dropbox.com/s/e7dz007svtvscbc/Corrupt_Image_4.7MB_13500x13500.D2.jpg?dl=0] # [Technique used to wrap the call in a Try/Catch block in a callable inner class to prevent an app crash | https://stackoverflow.com/questions/19183174/phonegap-video-capture-crashes] ADDITIONAL INFORMATION # Importing corrupt images does not crash apps which do not use the Camera plugin, such as: #* Yelp mobile app #* Slack mobile app -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-13415) Importing corrupt images using the Camera plugin crashes the app
[ https://issues.apache.org/jira/browse/CB-13415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shemrick Flannigan updated CB-13415: Environment: Android: OS 7.0, Phone Model: Moto G5 Plus iOS: OS 10.1.1 (14B150) was:Android, iOS > Importing corrupt images using the Camera plugin crashes the app > > > Key: CB-13415 > URL: https://issues.apache.org/jira/browse/CB-13415 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-camera > Environment: Android: OS 7.0, Phone Model: Moto G5 Plus > iOS: OS 10.1.1 (14B150) >Reporter: Shemrick Flannigan >Priority: Critical > Labels: android, camera, cameraui, ios > > ISSUE > Importing corrupt images using the Camera plugin crashes the app > Current Behavior > # Importing a corrupt image using the Cordova Camera plugin crashes the > Cordova app which uses the plugin > Expected Behavior > # Importing a corrupt image using the Cordova Camera plugin: > #* Throws an exception which can be caught by the Cordova app which uses the > plugin > #* Does not crash the Cordova app which uses the plugin > #* Allows the Cordova app which uses the plugin to render a Toast error > message relaying the error > # # Platforms affected > #* Android > #* iOS > REFERENCES > # [Sample corrupt image which crashes the app | > https://www.dropbox.com/s/e7dz007svtvscbc/Corrupt_Image_4.7MB_13500x13500.D2.jpg?dl=0] > # [Technique used to wrap the call in a Try/Catch block in a callable inner > class to prevent an app crash | > https://stackoverflow.com/questions/19183174/phonegap-video-capture-crashes] > ADDITIONAL INFORMATION > # Importing corrupt images does not crash apps which do not use the Camera > plugin, such as: > #* Yelp mobile app > #* Slack mobile app -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-13415) Importing corrupt images using the Camera plugin crashes the app
[ https://issues.apache.org/jira/browse/CB-13415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shemrick Flannigan updated CB-13415: Labels: android camera cameraui ios (was: camera cameraui) > Importing corrupt images using the Camera plugin crashes the app > > > Key: CB-13415 > URL: https://issues.apache.org/jira/browse/CB-13415 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-camera > Environment: Android, iOS >Reporter: Shemrick Flannigan >Priority: Critical > Labels: android, camera, cameraui, ios > > ISSUE > Importing corrupt images using the Camera plugin crashes the app > Current Behavior > # Importing a corrupt image using the Cordova Camera plugin crashes the > Cordova app which uses the plugin > Expected Behavior > # Importing a corrupt image using the Cordova Camera plugin: > #* Throws an exception which can be caught by the Cordova app which uses the > plugin > #* Does not crash the Cordova app which uses the plugin > #* Allows the Cordova app which uses the plugin to render a Toast error > message relaying the error > # # Platforms affected > #* Android > #* iOS > REFERENCES > # [Sample corrupt image which crashes the app | > https://www.dropbox.com/s/e7dz007svtvscbc/Corrupt_Image_4.7MB_13500x13500.D2.jpg?dl=0] > # [Technique used to wrap the call in a Try/Catch block in a callable inner > class to prevent an app crash | > https://stackoverflow.com/questions/19183174/phonegap-video-capture-crashes] > ADDITIONAL INFORMATION > # Importing corrupt images does not crash apps which do not use the Camera > plugin, such as: > #* Yelp mobile app > #* Slack mobile app -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Updated] (CB-13415) Importing corrupt images using the Camera plugin crashes the app
[ https://issues.apache.org/jira/browse/CB-13415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shemrick Flannigan updated CB-13415: Component/s: cordova-plugin-camera > Importing corrupt images using the Camera plugin crashes the app > > > Key: CB-13415 > URL: https://issues.apache.org/jira/browse/CB-13415 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-camera > Environment: Android, iOS >Reporter: Shemrick Flannigan >Priority: Critical > Labels: android, camera, cameraui, ios > > ISSUE > Importing corrupt images using the Camera plugin crashes the app > Current Behavior > # Importing a corrupt image using the Cordova Camera plugin crashes the > Cordova app which uses the plugin > Expected Behavior > # Importing a corrupt image using the Cordova Camera plugin: > #* Throws an exception which can be caught by the Cordova app which uses the > plugin > #* Does not crash the Cordova app which uses the plugin > #* Allows the Cordova app which uses the plugin to render a Toast error > message relaying the error > # # Platforms affected > #* Android > #* iOS > REFERENCES > # [Sample corrupt image which crashes the app | > https://www.dropbox.com/s/e7dz007svtvscbc/Corrupt_Image_4.7MB_13500x13500.D2.jpg?dl=0] > # [Technique used to wrap the call in a Try/Catch block in a callable inner > class to prevent an app crash | > https://stackoverflow.com/questions/19183174/phonegap-video-capture-crashes] > ADDITIONAL INFORMATION > # Importing corrupt images does not crash apps which do not use the Camera > plugin, such as: > #* Yelp mobile app > #* Slack mobile app -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-13415) Importing corrupt images using the Camera plugin crashes the app
Shemrick Flannigan created CB-13415: --- Summary: Importing corrupt images using the Camera plugin crashes the app Key: CB-13415 URL: https://issues.apache.org/jira/browse/CB-13415 Project: Apache Cordova Issue Type: Bug Environment: Android, iOS Reporter: Shemrick Flannigan Priority: Critical ISSUE Importing corrupt images using the Camera plugin crashes the app Current Behavior # Importing a corrupt image using the Cordova Camera plugin crashes the Cordova app which uses the plugin Expected Behavior # Importing a corrupt image using the Cordova Camera plugin: #* Throws an exception which can be caught by the Cordova app which uses the plugin #* Does not crash the Cordova app which uses the plugin #* Allows the Cordova app which uses the plugin to render a Toast error message relaying the error # # Platforms affected #* Android #* iOS REFERENCES # [Sample corrupt image which crashes the app | https://www.dropbox.com/s/e7dz007svtvscbc/Corrupt_Image_4.7MB_13500x13500.D2.jpg?dl=0] # [Technique used to wrap the call in a Try/Catch block in a callable inner class to prevent an app crash | https://stackoverflow.com/questions/19183174/phonegap-video-capture-crashes] ADDITIONAL INFORMATION # Importing corrupt images does not crash apps which do not use the Camera plugin, such as: #* Yelp mobile app #* Slack mobile app -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org