diff --git a/src/ios/CULPlugin.m b/src/ios/CULPlugin.m index 107e0d63..948291df 100644 --- a/src/ios/CULPlugin.m +++ b/src/ios/CULPlugin.m @@ -71,7 +71,7 @@ - (CULHost *)findHostByURL:(NSURL *)launchURL { NSURLComponents *urlComponents = [NSURLComponents componentsWithURL:launchURL resolvingAgainstBaseURL:YES]; CULHost *host = nil; for (CULHost *supportedHost in _supportedHosts) { - if ([supportedHost.name isEqualToString:urlComponents.host] && [supportedHost.scheme isEqualToString:urlComponents.scheme]) { + if ([supportedHost.name isEqualToString:urlComponents.host]) { host = supportedHost; break; }