Image uploading


Hello everyone, I’m trying to use <input type="file">, it works, but when I want to select an image to upload, the app literally crash. So I opened my favorite browser looked up on the internet for a possible solution, but nothing helped me. I tried some plugins but still, doesn’t work.
Is there a simple way to access the photo library and just upload a file?


camera plugin .


Well, my problem is that I don’t use TypeScript for my project, only JavaScript, so it doesn’t work for me. Do you have the same tutorial for JS, because, as I said before, I follow some tutorials, but they always use TypeScript instead of JavaScript.