Tags: goodswifter/packages
Tags
[google_maps_flutter_web] Allow marker position updates (flutter#3697) Unconditionally convert the current marker position in `convert.dart:_markerOptionsFromMarker`, to allow for position updates. Also adds position changes to `marker_test.dart/MarkerController/update` and `markers_test.dart/MarkersController/changeMarkers`. The `MarkersController` case is fixed by this patch. ### Issues * Grafted from: flutter/plugins#6753 * Fixes: flutter/flutter#83467
[webview_flutter] Adds support to listen to url changes (flutter#3313) Transfer of flutter/plugins#7113 (All the comments of that PR have been addressed in this one) This PR follows the procedure for changing federated plugins: https://github.com/flutter/flutter/wiki/Contributing-to-Plugins-and-Packages#changing-federated-plugins ~~This is the aggregate solution for flutter/flutter#27729 and is NOT intended to be submitted. This will be split into PRs for each package after approval of this PR.~~ All split PRs have been merged. This adds the `PlatformNavigationDelegate.setOnUrlChange(UrlChange)` method to track url changes. Android adds support for this with the [WebViewClient.doUpdateVisitedHistory](https://developer.android.com/reference/android/webkit/WebViewClient#doUpdateVisitedHistory(android.webkit.WebView,%20java.lang.String,%20boolean)) iOS adds support by observing the value [WKWebView.URL](https://developer.apple.com/documentation/webkit/wkwebview/1415005-url?language=objc). Since the WKWebView.URL would pass back an [NSURL](https://developer.apple.com/documentation/foundation/nsurl?language=objc) to the [observeValue](https://developer.apple.com/documentation/objectivec/nsobject/1416553-observevalueforkeypath?language=objc) callback, the `observeValue` callback would need to distinguish the difference when returning an `int` or an identifier. So the `ObjectOrIdentifier` data class was created to handle this. Alternatives considered: * Convert `NSURL `to an `NSString`. This would work for this situation, but wouldn't work for a class that can't be easily converted to a `String`. * Create a separate `observeValue `callback method for returning an identifier. Potentially named `observeIdentifier`. This doesn't work for returning a list of Objects. Fixes flutter/flutter#27729
[webview]: Bump com.android.tools.build:gradle from 7.2.2 to 8.0.0 in… … /packages/webview_flutter/webview_flutter_android/android (flutter#3739) Bumps com.android.tools.build:gradle from 7.2.2 to 8.0.0. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.android.tools.build:gradle&package-manager=gradle&previous-version=7.2.2&new-version=8.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
[local_auth] Convert Android to Pigeon (flutter#3748) Updates the platform communication to use Pigeon. This includes some changes to the API boundary: - Collected authentication options into an options object; this avoids having a lot of positional boolean arguments (since Pigeon doesn't currently support named arguments). - Collected strings into a strings object, since having them as individual parameters would have been extremely messy. - Changes the `authenticate` return from a bool+exceptions to an enum that encompasses all of the explicitly known failure modes. To avoid a breaking change for clients, the Dart code creates `PlatformException`s that match the old ones, but this will make it much easier to someday make a (cross-platform) breaking change to replace them with better errors per the best practices we have documented on the wiki. Using an enum rather than throwing errors avoids the need to do string matching when we want to eventually translate them into something other than `PlatformException`. This removes all Java warnings from the baseline file; the remaining issues in code I wasn't already changing were easy enough to fix opportunistically. There are still XML-based warnings, but fixing those was well out of scope so I left them. Part of flutter/flutter#117912
[go_router] Fixes a bug that go_router would crash if pageBuilder dep… …ends on InheritedWidgets.s. (flutter#3714) the buildPage may be called without `build` is called, this can happen if a pagebuilder depends on inheritedwidget. This pr fixes it by moving the clear cache logic from build to buildPage
[webview_flutter_android] [camera_android_camerax] Updates internal J… …ava InstanceManager to only stop finalization callbacks when stopped (flutter#3571)
[shared_preferences] Fix Android Java version issue (flutter#3712) Sets the compile version to 1.8, which is required by some features added in the switch to Pigeon. This is a standard part of the current Android plugin template, but this plugin predates that template change. Fixes flutter/flutter#124839
[path_provider] Fix Android lint warnings (flutter#3706) Removes the lint-baseline.xml file, and fixes all issues. Includes updating to the latest version of Pigeon to pick up the lint fixes for the generated file. Part of flutter/flutter#88011
[image_picker][android] Non-bitmap images now return path instead of … …null (flutter#3590) ## Description This PR now returns the path of unsupported files(non-bitmap images) instead of null. Now the user can decide himself what to do with the path of the unsupported image. Example file showcases how to display an error placeholder whenever an unsupported image type is selected. ## Issues Fixes flutter/flutter#88461
[image_picker][android] Non-bitmap images now return path instead of … …null (flutter#3590) ## Description This PR now returns the path of unsupported files(non-bitmap images) instead of null. Now the user can decide himself what to do with the path of the unsupported image. Example file showcases how to display an error placeholder whenever an unsupported image type is selected. ## Issues Fixes flutter/flutter#88461
PreviousNext