Skip to content

Don't override native window.File / window.FileReader (possibly via a preference) #265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
asgoth opened this issue Oct 18, 2018 · 3 comments

Comments

@asgoth
Copy link

asgoth commented Oct 18, 2018

I have a use case where I want to convert the cordova File object to a native File object. This is needed in order to submit a multipart request to a midtier server.

However, the original native File constructor is gone (overwritten by cordova-plugin-file).

Maybe consider using custom names, e.g. CordovaFile & CordovaFileReader?

@janpio
Copy link
Member

janpio commented Oct 30, 2018

Feel free to create a Pull Request on the plugin that changes this functionality in a backwards compatible way.

@chr15m
Copy link

chr15m commented Dec 30, 2021

👍

@breautek
Copy link
Contributor

duplicate: #316

@breautek breautek closed this as not planned Won't fix, can't repro, duplicate, stale Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants