FAQ only states detecting presence of app, but how to transfer an OVPN profile from an app to Connect app?
Posted: Sat Oct 28, 2017 7:07 pm
What is the recommended way to transfer an OVPN profile from an app to the OpenVPN Connect app?
I am working on an iOS app that fetches the OVPN profile from a server securely, but it needs to be transferred to the Connect app reliably.
Currently I do this:
But the above does not seem to be working reliably when installing our app before installing the connect app.
I am working on an iOS app that fetches the OVPN profile from a server securely, but it needs to be transferred to the Connect app reliably.
Currently I do this:
Code: Select all
self.currentDocumentInteractionController = UIDocumentInteractionController(url: urlToLocallyStoredProfile)
if let currentViewController = self.navigationController.visibleViewController {
self.currentDocumentInteractionController?.presentOpenInMenu(from: currentViewController.view.frame, in: currentViewController.view, animated: true)
}