Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
Android: OS 7.0, Phone Model: Moto G5 Plus
iOS: OS 10.1.1 (14B150)
-
Important
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: