[File Plugin] Cordova.file is undefined

[File Plugin] Cordova.file is undefined

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

Hi,

I tried to use file plugin to save file locally on my mobile storage. But the file plugin is not working. After checking this issue i found that the cordova.file used in 'RequestDirectoryFromFileSystem' Client Action> 'GetFileSystem' is undefined. This issue is not happening on our on-premises environment. We see this issue on cloud environments only.

Deepak Mishra wrote:

Hi,

I tried to use file plugin to save file locally on my mobile storage. But the file plugin is not working. After checking this issue i found that the cordova.file used in 'RequestDirectoryFromFileSystem' Client Action> 'GetFileSystem' is undefined. This issue is not happening on our on-premises environment. We see this issue on cloud environments only.

Hi Deepak,


Try using File Transfer Plugin - https://www.outsystems.com/forge/component/1409/file-transfer-plugin/?Unfollow=False

And here is the sample for that - https://www.outsystems.com/forge/component/1635/file-transfer-sample/?Unfollow=False 

Hope it will be of help.


Thanks,

Ragul

anyone getting update on this?