diff --git a/src/ios/CDVWKInAppBrowser.m b/src/ios/CDVWKInAppBrowser.m index 31330ed0d..d3dee0009 100644 --- a/src/ios/CDVWKInAppBrowser.m +++ b/src/ios/CDVWKInAppBrowser.m @@ -729,15 +729,6 @@ - (void)createViews WKUserContentController* userContentController = [[WKUserContentController alloc] init]; WKWebViewConfiguration* configuration = [[WKWebViewConfiguration alloc] init]; - - NSString *userAgent = configuration.applicationNameForUserAgent; - if ( - [self settingForKey:@"OverrideUserAgent"] == nil && - [self settingForKey:@"AppendUserAgent"] != nil - ) { - userAgent = [NSString stringWithFormat:@"%@ %@", userAgent, [self settingForKey:@"AppendUserAgent"]]; - } - configuration.applicationNameForUserAgent = userAgent; configuration.userContentController = userContentController; #if __has_include("CDVWKProcessPoolFactory.h") configuration.processPool = [[CDVWKProcessPoolFactory sharedFactory] sharedProcessPool];