Page 1 of 1

allow 3-rd party app to detect installed "OpenVPN Connect"

Posted: Thu Nov 27, 2014 5:54 am
by Speakus
Please, allow 3-rd party app to detect installed "OpenVPN Connect".

It's possible to detect 'OpenVPN Connect' installed only if you make custom url scheme.

Use case for 3-rd party app:

Code: Select all

UIApplication * app = [UIApplication sharedApplication];
NSString * openVpnCustomUrlScheme = @"net.openvpn.OpenVPN-Connect.scheme";
BOOL installed = [app canOpenURL:[NSURL URLWithString: openVpnCustomUrlScheme]];
if (installed) {
    [app openURL: url2ovpn];
} else {
    [app openURL: [NSURL URLWithString: @"https://itunes.apple.com/app/id590379981?mt=8"]];
}
Please do this feature - it allow to use this app by 3-rd party apps.
Thanks!
More info here: http://stackoverflow.com/q/5746289/751932

Re: allow 3-rd party app to detect installed "OpenVPN Connec

Posted: Sun Feb 08, 2015 3:31 pm
by Speakus
Hello,
Could anyone give any comment to this?

Re: allow 3-rd party app to detect installed "OpenVPN Connec

Posted: Thu Feb 26, 2015 7:42 am
by samuli
This functionality will be available in next OpenVPN Connect release (1.0.6).

Samuli

Re: allow 3-rd party app to detect installed "OpenVPN Connec

Posted: Fri Feb 27, 2015 8:58 am
by jamesyonan
Yes, starting with OpenVPN Connect 1.0.6, the following code may be used to detect the app:

Code: Select all

BOOL installed = [application canOpenURL:[NSURL URLWithString:@"openvpn://"]];
James

Re: allow 3-rd party app to detect installed "OpenVPN Connec

Posted: Sat Jun 06, 2015 2:55 pm
by taiwanmobileservices
Hi! James,

When can we see the release either 1.0.6 or newer?

Kindly advise.

Thanks!
jamesyonan wrote:Yes, starting with OpenVPN Connect 1.0.6, the following code may be used to detect the app:

Code: Select all

BOOL installed = [application canOpenURL:[NSURL URLWithString:@"openvpn://"]];
James