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

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
leenarts
OpenVpn Newbie
Posts: 3
Joined: Sat Oct 28, 2017 7:00 pm

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

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

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.

leenarts
OpenVpn Newbie
Posts: 3
Joined: Sat Oct 28, 2017 7:00 pm

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

Post by leenarts » Fri Jan 12, 2018 2:29 pm

Any clues, comments or thoughts would be appreciated.

Post Reply