-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Migrate examples to the Android embedding v2 #43221
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
Migrate examples to the Android embedding v2 #43221
Conversation
Codecov Report
@@ Coverage Diff @@
## master #43221 +/- ##
==========================================
- Coverage 61.51% 60.73% -0.79%
==========================================
Files 195 195
Lines 19016 18954 -62
==========================================
- Hits 11698 11511 -187
- Misses 7318 7443 +125
Continue to review full report at Codecov.
|
99d1947 to
d847813
Compare
d847813 to
8ca92f8
Compare
matthew-carroll
left a comment
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.
LGTM
xster
left a comment
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.
LGTM
| <category android:name="android.intent.category.LAUNCHER"/> | ||
| </intent-filter> | ||
| </activity> | ||
| <!-- Don't delete the meta-data below. |
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.
Was this what we decided as opposed to a string search for import "io.flutter.embedding" in the users' java code?
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.
yeah. wdyt?
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.
Sure, SGTM. What happens when there's mismatches? (false positives or negatives)
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.
I’m hoping we can automize the migration, so apps devs don’t have to modify the manifest manually. But yes, if someone changes this manually without also changing the java code , then the app won’t compile.
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.
Ok, SG
* Fix device lab tests * Migrate examples to the Android embedding v2 (#43221)
…flutter#43611) This reverts commit b49ffa8.
* Fix device lab tests * Migrate examples to the Android embedding v2 (flutter#43221)
Description
Migrate the examples apps to the Android embedding v2.
Related Issues
Fixes #33884
Related to #43220
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]). This will ensure a smooth and quick review process.///).flutter analyze --flutter-repo) does not report any problems on my PR.Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?