Page 1 of 1

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
by leenarts
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:

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)
            }
But the above does not seem to be working reliably when installing our app before installing the connect app.

Re: FAQ only states detecting presence of app, but how to transfer an OVPN profile from an app to Connect app?

Posted: Fri Jan 12, 2018 2:29 pm
by leenarts
Any clues, comments or thoughts would be appreciated.