I’m working on my second AppGyver app and have hit a roadblock.
The purpose of the app is to …
- enter customer data
- send customer data to a rendering service and return a merged pdf or doc file
- save the file or send to another app for further editing/printing
Steps 1 and 2 are complete.
For step 2 I’m using an API at https://www.reporting.cloud/ to render and return a pdf file that can be viewed via the preview PDF function.
I’ve gotten to step 3 and have hit a roadblock.
I’ve only been able to get the write file function store the file within the app using the variable: systemVars.fileSystem.directories.document
Also, the preview PDF function seems a little buggy. There’s no obvious way to close the preview screen. Took a while to figure out that you need to swipe down to close it. And there’s no option to print or send the output to another app.
Looking for some ideas on what to do next …
-
Is there a way to write the file to an external source outside of the secure iOS app sandbox?
-
Is there a way to send the file to another app on the iPhone or iPad (to the Files app or MS Word app)?
-
Is there a way to save the file when running via the Preview app within a browser and save the file to a local drive?
-
Does anyone know of a pdf/doc rendering service that stores the app within their service. I can then get the rendered file outside of the app.
-
Another option could be to use Zapier and send the completed doc via an HTTP request.
Has anybody had any success with this or suggestions on how to do the above?
Thanks in advance