diff --git a/DuckDuckGo/DuckDuckGo.entitlements b/DuckDuckGo/DuckDuckGo.entitlements index 6453d2ecf3..6cedd8f6dc 100644 --- a/DuckDuckGo/DuckDuckGo.entitlements +++ b/DuckDuckGo/DuckDuckGo.entitlements @@ -8,6 +8,8 @@ com.apple.developer.web-browser + com.apple.developer.browser.app-installation + com.apple.security.application-groups $(GROUP_ID_PREFIX).bookmarks diff --git a/DuckDuckGo/DuckDuckGoAlpha.entitlements b/DuckDuckGo/DuckDuckGoAlpha.entitlements index 790168f55f..1fc546febb 100644 --- a/DuckDuckGo/DuckDuckGoAlpha.entitlements +++ b/DuckDuckGo/DuckDuckGoAlpha.entitlements @@ -8,6 +8,8 @@ com.apple.developer.web-browser + com.apple.developer.browser.app-installation + com.apple.security.application-groups group.com.duckduckgo.alpha.bookmarks diff --git a/DuckDuckGo/TabViewController.swift b/DuckDuckGo/TabViewController.swift index d07031e123..494c86a8af 100644 --- a/DuckDuckGo/TabViewController.swift +++ b/DuckDuckGo/TabViewController.swift @@ -1398,7 +1398,21 @@ extension TabViewController: WKNavigationDelegate { func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping (WKNavigationActionPolicy) -> Void) { - + + if #available(iOS 17.4, *), + navigationAction.request.url?.scheme == "marketplace-kit", + internalUserDecider.isInternalUser { + + decisionHandler(.allow) + let urlString = navigationAction.request.url?.absoluteString ?? "" + ActionMessageView.present(message: "Marketplace Kit URL detected", + actionTitle: "COPY", + presentationLocation: .withoutBottomBar, onAction: { + UIPasteboard.general.string = urlString + }) + return + } + if let url = navigationAction.request.url { if !tabURLInterceptor.allowsNavigatingTo(url: url) { decisionHandler(.cancel) diff --git a/fastlane/Matchfile b/fastlane/Matchfile index 60bd4c4db9..32084f8fdd 100644 --- a/fastlane/Matchfile +++ b/fastlane/Matchfile @@ -6,7 +6,6 @@ platform "ios" type "appstore" app_identifier ["com.duckduckgo.mobile.ios", "com.duckduckgo.mobile.ios.ShareExtension", "com.duckduckgo.mobile.ios.OpenAction2", "com.duckduckgo.mobile.ios.Widgets", "com.duckduckgo.mobile.ios.NetworkExtension"] generate_apple_certs false -template_name "Default Web Browser iOS (Dist)" for_lane :sync_signing_adhoc do type "adhoc"