[ 
https://issues.apache.org/jira/browse/CB-13732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jcesarmobile 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:
#* [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]


  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]



> 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:
> #* [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]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to