diff --git a/src/ios/CDVWKInAppBrowser.m b/src/ios/CDVWKInAppBrowser.m index cf4b6f6..2adcf0c 100644 --- a/src/ios/CDVWKInAppBrowser.m +++ b/src/ios/CDVWKInAppBrowser.m @@ -539,8 +539,9 @@ static CDVWKInAppBrowser* instance = nil; [self.commandDelegate sendPluginResult:pluginResult callbackId:self.callbackId]; } - //if is an app store link, let the system handle it, otherwise it fails to load it - if ([[ url scheme] isEqualToString:@"itms-appss"] || [[ url scheme] isEqualToString:@"itms-apps"]) { + //if is an app store, tel, sms, mailto or geo link, let the system handle it, otherwise it fails to load it + NSArray * allowedSchemes = @[@"itms-appss", @"itms-apps", @"tel", @"sms", @"mailto", @"geo"]; + if ([allowedSchemes containsObject:[url scheme]]) { [theWebView stopLoading]; [self openInSystem:url]; shouldStart = NO;