breautek commented on issue #444:
URL: 
https://github.com/apache/cordova-plugin-file/issues/444#issuecomment-747786520


   > Also how should we send the recorded audio/video file to backend Server? 
Do we need to convert MediaFile or FileEntry Object to Base64 string and send 
it to server?
   
   I would strongly advise use base64 encoded strings. They explode the memory 
representation of your binary files by 35-40%. You can read these files as 
`Blob` instead and send them to your backend via `XMLHttpRequest`.
   
   > Can anyone help how to get rid from this Not Allowed 
   
   I have a feeling this is due to a change in API 29. There is already an API 
29 fixed merged in master, but this hasn't been released. Can you try to see if 
this issue reproduces when using the development version of this plugin? You 
can install it using the following command:
   
   `cordova plugin add https://github.com/apache/cordova-plugin-file.git`
   
   Don't forgot to uninstall the plugin first before replacing it.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to