I am in the process of creating an app for a client.
There is a small problem, which is very necessary for my client, which is uploading files as .pdf via app.
There are 3 buttons in the app.
One of them takes pictures,
The other one upload images from library
And by pressing the last one, it should browse the files on the phone.
So users will be able to choose PDF and upload it via Cloudinary.
Bu the problem is, there is no option to browse files in Thunkable X
I will be very grateful if any of you help me solve this problem.
Actually, it’s not what I’m looking for!
I need an option to select and upload files through app not an external web page! (something just like photo library + upload component)
The reason is because I have writing rules in my firebaseDB and user must be verify by auth. informations which have been stored in app.
Actually you can.
Well first of all you’re going to need a cloudinary account. You can use this widget here. https://cloudinary.com/documentation/upload_widget#quick_example . You’ll need to put the code into an HTML file. But remember that you need to send the details to thunkable. I could give you the sample code if you want.
I have been playing around with this before I came accross this thread. I have successfully been able to host the widget html in my firebase storage and call its access token from inside Thunkable Web viewer.
After successful file upload, I am unsure how to send the cloudinary upload details to the Thunkable app. Is this what you have accomplished?
Edit: I have now been able to return the Cloudinary URL using the webviewer post message method. Not sure if you have a better solution.