Application does not allow image updates

Hello! I use Kodular only to generate the APK for a web application I created on a no-code platform. The problem is that Kodular is preventing users from attaching files. When I click “Send a photo,” nothing happens. However, if I open the app directly in the browser, it works normally and the app opens the device’s files, allowing me to send images.

I think it’s some permission I need to grant or something. Can anyone help me?

1 Like

Hi Tudo,

Try this extension,

But i just wanted to let you know that I tried attaching files on several websites and was able to do it without any problems.
So, the issue might be in your code.

Sorry, I’m new here and I’m a bit lost.

I already installed this extension, but it still didn’t work. I’ll send you a screenshot.

Can you help me?

Sure,
I tried creating a site with Glide and added a file picker, I confirm the file uploads correctly. However, if the issue is related to a misconfiguration on Glide’s side, this wouldn’t be the right place to discuss it.

Thank you for your help, but I really don’t think the problem is with Glide. When I open the link in the browser, it works normally (as shown in screenshot 1), but when I open the same link through Kodular, it simply doesn’t work (screenshot 2 - Even clicking it several times doesn’t open the option to access files or the camera).

I think I’m missing some permission or something.

So when you click on ‘Fotos and videos’, nothing opens?

I tried with two different devices and I’m always able to upload the photos.
I’m starting to think the problem might be with your file manager.

immagine
immagine

I just tested it on another device from another brand. But it’s still the same on both. I can open the device’s files normally through the browser, but when I try to open them through kodular, nothing happens.

I’m so sorry, but I honestly don’t know what it could be :cry:

Let’s see if anyone else can find a solution.

I’ve tried everything here, but it really seems hopeless.

Anyway, thank you very much!

1 Like

Kodular apps need storage permissions to access files. Try adding the READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE permissions in your Kodular project. Also, use the “Ask For Permission” block at app startup. This should fix the file attachment issue.

Did you ask for READ_MEDIA_IMAGES permission?

What about providing a screenshot of your relevant blocks?

For older devices only

Taifun

301 / 5.000
I think I’ve identified the problem.

When I disable the “Use Location” option, the app can access the device’s files. However, if you have this option enabled, it can’t do both at the same time.

Is this a platform bug?

Is there a workaround?

By default, “use location” is disabled.
What are you using it for?

My Glide app also needs to use the user’s current location for some functions, you know?

If I disable “Use location,” the device’s files open normally; the app prevents access to the user’s current location.

On the other hand, if I enable “Use location,” Kodular prevents the app from accessing the user’s device’s files.

Can you help me with this issue?

No, in fact, I asked to see if it was necessary :grin:

I found a 2020 topic with the same problem but no solution

Is that it is difficult because on the various devices that I tested in I did not detect any problems.

I am investigating :face_with_monocle:

Thank you in advance.

And I’ll be waiting. If you can find a solution, I’d be very grateful.

I’ve tried every way to solve this, but I really can’t, and it’s essential for my project to have both functions working.

Since you used Glide, I don’t know how much you can manipulate the code.

However, if possible, you could disable use location and instead pass the localization to the WebViewer through EvaluateJS.

Or try other extensions.

1 Like

I’m a complete beginner, so I don’t know how to do this. But I’ll try to find someone who can help me.

Thank you very much anyway!

I’ll propose a solution in DM since it’s a bit off-topic.

1 Like