-
Notifications
You must be signed in to change notification settings - Fork 3.6k
[webview_flutter_android] Updates Dart and Java InstanceManagers #3282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
auto-submit
merged 30 commits into
flutter:main
from
bparrishMines:instance_manager_copy
Mar 17, 2023
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
eaae468
add changed files
bparrishMines 9d90d9f
some more changes
bparrishMines 1094620
update tests
bparrishMines ce1634c
fix tests
bparrishMines 3fae384
Merge branch 'main' of github.com:flutter/packages into instance_mana…
bparrishMines 44e6f81
update instancemanager
bparrishMines ce6550b
ensure callback methods are passed to copy
bparrishMines def8956
version bump
bparrishMines ca9993e
update tests since objects can't be added multiple times
bparrishMines 1408d00
Merge branch 'main' of github.com:flutter/packages into instance_mana…
bparrishMines 1c48779
fix test
bparrishMines a552de9
change back to using copyable
bparrishMines 9d58bd8
probably fix tests
bparrishMines 2a05f7c
some reverts
bparrishMines 73ea794
update changelog
bparrishMines 625146d
Merge branch 'main' of github.com:flutter/packages into instance_mana…
bparrishMines 32ff598
add a copy
bparrishMines b848c1f
raise minimum meta version
bparrishMines 8efddc9
remove meta
bparrishMines e2b53b1
remove copy override
bparrishMines a9a9aa6
remove print
bparrishMines 0ea91f7
remove unneeded changes
bparrishMines 8141e9a
include raising of pigeon version
bparrishMines 4a5aab1
Merge branch 'main' of github.com:flutter/packages into instance_mana…
bparrishMines f196771
update globalInstanceManager
bparrishMines 7e32787
move location of asserts
bparrishMines 9b572e2
Merge branch 'main' of github.com:flutter/packages into instance_mana…
bparrishMines 1062ddb
lint
bparrishMines 9605570
use a constant
bparrishMines d786495
Merge branch 'main' of github.com:flutter/packages into instance_mana…
bparrishMines File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next
Next commit
add changed files
- Loading branch information
commit eaae468632b6dd56a9ffe50fe443eb82f73dac20
There are no files selected for viewing
782 changes: 274 additions & 508 deletions
782
...roid/android/src/main/java/io/flutter/plugins/webviewflutter/GeneratedAndroidWebView.java
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The less error-prone way of doing lazy initialization is:
(For non-statics, you can do the same thing but with
late finalto make it lazy.)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @camsim99 FYI when updating the
InstanceManager.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated example
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, I'll fix my copy to avoid confusion. Sorry about that.