Repository navigation
Conversation
…ed (#58) Add the ClientCertificateRequested event for servers that require a client certificate (mutual TLS). The app answers with an X509Certificate2 with its private key (plus optional intermediates), or continues without one; a deferral allows loading it asynchronously. Without a handler the platform default applies. - Android: WebViewClient.OnReceivedClientCertRequest; the key is passed to ClientCertRequest.Proceed as PKCS#8 (RSA or EC) with the chain. - iOS / Mac Catalyst: NSURLAuthenticationMethodClientCertificate challenge answered with an NSUrlCredential from a SecIdentity. - Windows: CoreWebView2.ClientCertificateRequested; the certificate is matched by thumbprint against the store certificates the server accepts, listed in AvailableCertificates. - Unit tests for issuer names, the store match and the key export; README section.
…nd (#27) Search text in the page, highlight the matches and move between them. FindAsync returns the match count and scrolls to the first match; FindResultsUpdated reports the active match (from 0) and the count. - Android: WebView.FindAllAsync, FindNext and ClearMatches with a FindListener (always case-insensitive). - iOS / Mac Catalyst: WKWebView reports no count, so the search runs in the page: DOM ranges of the main frame, highlighted with the CSS Custom Highlight API (iOS 17.2+) or shown as the selection, scrolled into view. - Windows: the WebView2 Find API without its find bar. - Unit tests for the page script (in Jint on a fake DOM) and the result parsing; find bar in the sample app; README section.
…rom other features
…ntication feat: client certificate authentication (mTLS) (#58)
…ers are removed from a redirect (#83) When a LoadUrl navigation is redirected to another origin, iOS / Mac Catalyst cancel the redirected request and load it again without the headers (#60). The app then saw Navigating twice for the same URL, and the cancelled request was reported as a failure (Navigated with Failure and NavigationFailed with Cancelled). - RequestHeaderState remembers the retry: BeginRetry, TryConsumeRetry (once, for the next top-level request) and IsRetryInterruption (WebKitErrorDomain 102 or NSURLErrorDomain -999, once, until the next commit). - DecidePolicy: the retry is decided without MAUI, so Navigating is not raised again; the leaked-header check still runs, so the guard against an endless retry stays. - DidFailProvisionalNavigation: the interruption of the cancelled request is not reported. - Unit tests for the new state.
feat: find in page (#27)
The build-windows job fails with NETSDK1147 (ios workload missing) since the runner image ships .NET SDK 10.0.404: restore evaluates every target framework of the sample, -f included, and only maui-windows is installed. Restrict the sample to its Windows target framework in that job.
fix(ios): no second Navigating and no false failure when LoadUrl headers are removed from a redirect (#83)
ci: build the Windows sample for its Windows target framework only
…or new features and fixes
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release branch for milestone 1.7.0.
This release adds client certificate authentication (mTLS) and find-in-page support across Android, iOS, Mac Catalyst, and Windows. It also includes an iOS/Mac Catalyst fix for duplicate navigation events and false failures when
LoadUrlheaders are removed during a cross-origin redirect.Highlights
ClientCertificateRequestedfor servers that require a client certificate.FindAsync,FindNext,FindPrevious,ClearFind, andFindResultsUpdated.LoadUrlheaders.Issues