It would be helpful to be able to modify sendToServer(file) in order to handle file upload manually.
I'm trying to upload the file to Firebase Storage, which does not use POST request. Documentation
What would be the best way to expose sendToServer() as an option to handle the upload logic?
It would be helpful to be able to modify
sendToServer(file)
in order to handle file upload manually. I'm trying to upload the file to Firebase Storage, which does not use POST request. DocumentationWhat would be the best way to expose
sendToServer()
as an option to handle the upload logic?I've modified the function as below:
Let me know if you find this useful for general use. Happy to work on a pull request. Many thanks for providing the plugin!