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:
self.currentDocumentInteractionController = UIDocumentInteractionController(url: urlToLocallyStoredProfile)
if let currentViewController = self.navigationController.visibleViewController {
self.currentDocumentInteractionController?.presentOpenInMenu(from: currentViewController.view.frame, in: currentViewController.view, animated: true)
}
But the above does not seem to be working reliably when installing our app before installing the connect app.