Back

Unable to upload image to Buckets

  • 0
  • Android
salierymoxart
26 Mar, 2024, 22:50

hello; greetings to all; I am trying to upload an image to a Buckets, but it asks me for an absolute path of the image, but I have the image in drawable folder, how can I achieve that? KOTLIN

TL;DR
Developers are struggling to upload images to Buckets because it asks for an absolute path, but the images are in the drawable folder. The solution is to use the URI for the image from the drawable folder to achieve the upload in Kotlin.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more