cordova-plugin-advanced-http
cordova-plugin-advanced-http copied to clipboard
Added progress callback for uploadFile
This adds onProgress callback for uploadFile method. Useful when uploading larger files
Thank you for providing this feature PR, but please do not use Java 8 features as we are still supporting old Cordova projects running on Java 7.
Hi, lambda has been removed
Hi @brunolau, been quite some time but I checked your PR again just now. Left some comments. And also I recognized you could simplify the implementation by not checking if a progress function was supplied in native code, but instead always report the progress to the webview. And the www interface file can check if a progress callback was provided. I think this will be minimal overhead, right? What do you think?