Issues with overwolf.io.readBinaryFile()

Issue Description:
Uploading a video file directly from our overwolf app to our website platform.

  1. We use the method readBinaryFile(), but this method hangs and doesn’t invoke callback and doesn’t throw an error. We set up a retry method, but it hangs indefinitely.
  2. Uploading a file size greater than 32-bit int returns “Error reading file: An attempt was made to move the file pointer before the beginning of the file”. I tested this error by setting the offset to greater and lower than 32-bit ints.


Can you reproduce it (exact steps to reproduce):read-binary-file.zip (24.0 KB)
Running the above mini project will show that the method hangs.

Impact for my app: Impact is huge, as this is the function that allows users to conveniently upload their recordings to our website platform where they can do annotations, live sessions, and shares.

Hi,
readBinaryFile is not meant to be used for large files.
Please contact us to discuss alternatives.