[File Plugin] I am getting error can not read proprty "externalDataDirectory" of undefined

[File Plugin] I am getting error can not read proprty "externalDataDirectory" of undefined

  
Forge Component
(3)
Published on 16 Oct (7 days ago) by Pedro Oliveira
3 votes
Published on 16 Oct (7 days ago) by Pedro Oliveira

While consuming the File Plugin ,I a,getting error  I am getting  error "can not read property "externalDataDirectory" of undefined"


On further investigation found that it gives error on cordova.file as well.

Hi Muhammad,

I have some questions:

  • What version of the FilePlugin are you using?
  • When the error shows, is it executing some Client Action? Which one?
  • Does the error appears in the device? In the browser? In both?

Cheers,

José

Hi Jose,

I'm getting the same error. To answer your questions:

  • What version of the FilePlugin are you using? 

    I'm using the latest version for Outsystems 10.


  • When the error shows, is it executing some Client Action? Which one?

    I'm using the SaveFile action


  • Does the error appears in the device? In the browser? In both?

    Error happens when viewing the file. But error is registered in error log in Service center.


Regards,

Rom


José Costa wrote:

Hi Muhammad,

I have some questions:

  • What version of the FilePlugin are you using?
  • When the error shows, is it executing some Client Action? Which one?
  • Does the error appears in the device? In the browser? In both?

Cheers,

José



Hi Muhammad,

any luck with resolving this issue? I've encountered the same problem and have run out of ideas.

regards

Hi,

May we know if there is solution for this?

I've encountering the same problem.


Thanks

Hi,

Try creating any Local Storage Entity on the Mobile project and it works.

Thanks.