commit | c7008cf088138d3a9b3faacfae669e337f01d5cf | [log] [tgz] |
---|---|---|
author | Maurice Parrish <10687576+bparrishMines@users.noreply.github.com> | Tue Oct 03 08:46:32 2023 -0400 |
committer | GitHub <noreply@github.com> | Tue Oct 03 12:46:32 2023 +0000 |
tree | 18634ee85456b07364d3772f1e516d973df1a1b4 | |
parent | cfe0c212700bfe55690b03b094c5e2e1e399871a [diff] |
[webview_flutter_wkwebview] Fixes bug where `WebkitWebViewController.getUserAgent` was incorrectly returning an empty String (#5062) It seems that [WKWebView.customUserAgent](https://developer.apple.com/documentation/webkit/wkwebview/1414950-customuseragent?language=objc) is never actually set to nil. It was always an empty String. Even after attempting to set the value to nil, the value would always return as an empty String. This is in contrary to the documentation for the property. I'm not sure if this is based on the iOS version, so this PR checks if the value is null or is empty. Fixes https://github.com/flutter/flutter/issues/135813
This repo is a companion repo to the main flutter repo. It contains the source code for Flutter's first-party packages (i.e., packages developed by the core Flutter team). Check the packages
directory to see all packages.
These packages are also available on pub.
Please file any issues, bugs, or feature requests in the main flutter repo. Issues pertaining to this repository are labeled “package”.
If you wish to contribute a new package to the Flutter ecosystem, please see the documentation for developing packages. You can store your package source code in any GitHub repository (the present repo is only intended for packages developed by the core Flutter team). Once your package is ready you can publish to the pub repository.
If you wish to contribute a change to any of the existing packages in this repo, please review our contribution guide, and send a pull request.
These are the packages hosted in this repository: