[File Plugin] [File Plugin] not delete JPG file [File Plugin]
Question
Forge component by OutSystems R&D
Application Type
Mobile

Hi guys 

I have an isue, deleting a JPG file any idea how to fix it?

Filename

"IMG_20210921_134514.jpeg"

Directory

"file:///data/user/0/com.outsystemsenterprise.tgsctst.TMW/files/"

Thanks!

Hello @Andy_Oscky 

I have not used this plugin, but I would suggest putting a breakpoint and observing the file path being sent over to the delete action. 

You could try deleting a file from a directory that does not have dots/periods in the path name.

You could also verify if you need the '/' at the end of the url path?

Regards,

AJ

Hi Andy,

Make you must have proper delete permission on server.


Regards,

Shoeb

Thanks Guys but i made another solution in js using cordova.file, the isue is this, only work with emulator bluestack not work with my phone, i can not enter to the pictures folders, any idea ??


i think i have a problem with permision , because the folder is empty but the picture are in this folder.

i try to disable the opcion save picture but not working with android 10

I try add more permisions like this, but the isue is always the same isue, the folder i can not find the folder pictures, the root folder is empty

READ_EXTERNAL_STORAGE

MEDIA_CONTENT_CONTROL
WRITE_EXTERNAL_STORAGE

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.