openInExternalApp() to start the flow. The SDK exports the file and triggers the platform’s app-chooser or sends it directly to the default PDF handler. Observe externalOpenState if you want to react to success or failure.
Basic usage
openInExternalApp() is an alias for requestOpenInExternalApp(). Both accept the same parameters — use whichever reads more clearly at your call site.
Suggesting a file name
Pass asuggestedFileName to control the name the receiving app sees:
Observing state
CollectexternalOpenState to keep your UI in sync with the flow: