17
Views
2
Comments
Error getting an image generated from FilePlugin
Question

Hi,

I'm trying to get an image from my android phone. but I'm always getting the error "-1 Cannot read property 'externalDataDirectory' of undefined.

This image was obtained with FilePlugin.


Has anyone had this problem before?


Thanks in advance.

teste2.oap
2022-11-12 11-28-30
Gonçalo Martins
Staff

Hi Gonçalo,

Can you please explain what you're trying to achieve? What's the use case?

By the error, I would say that you're not managing to get the URIs properly.

UserImage.jpg
Rom

Hi Goncalo,

Were you able to resolve this? I'm suddenly getting the same error. It was working before on my phone.

Regards,

Rom

Gonçalo Carreiro wrote:

Hi,

I'm trying to get an image from my android phone. but I'm always getting the error "-1 Cannot read property 'externalDataDirectory' of undefined.

This image was obtained with FilePlugin.


Has anyone had this problem before?


Thanks in advance.



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