Hi - I have a need to be able to store documents locally on a device so I can't store them with Firebase. The master documents are all held in an ERP system and their contents are returned to me as a base64 string via an API call.
I have created a custom action to store these files on my device and have tested it successfully. I can open the PDF file locally and it is valid.
However, teh FF PDF Viewer expects either an Asset, Network Path or locally uploaded file. How do I set the value of the locallyUploadedFile state variable (which is of type FFUploadedFile) to the file that I have just stored locally. Can I address the relevant widget state in my custom action?