allow 3-rd party app to detect installed "OpenVPN Connect"
Posted: Thu Nov 27, 2014 5:54 am
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:
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
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"]];
}
Thanks!
More info here: http://stackoverflow.com/q/5746289/751932