Add embedding as API dependency instead of compile only dependency#41142
Add embedding as API dependency instead of compile only dependency#41142blasten merged 5 commits intoflutter:masterfrom
Conversation
c7caf5c to
4fb2942
Compare
|
It looks like this pull request may not have tests. Please make sure to add tests before merging. While there are exceptions to this rule, if this patch modifies code it is probably not an exception. Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
a627294 to
7c8ae7c
Compare
7c8ae7c to
a5007c4
Compare
|
@mklim I removed all the binaries. PTAL |
mklim
left a comment
There was a problem hiding this comment.
LGTM, thank you for fixing this!
| children: <Widget>[ | ||
| TextFormField(), | ||
| const Expanded( | ||
| child: InAppWebView( |
There was a problem hiding this comment.
Tested it out and we can use google_maps_flutter here instead, which I think I'd prefer since that's in flutter/plugins.
| child: InAppWebView( | |
| child: GoogleMap(initialCameraPosition: CameraPosition(target: LatLng(0, 0))), |
AndroidManifest.xml also needs to be updated to have a property for an API key. I'd just add a sample one (<meta-data android:name="com.google.android.geo.API_KEY" android:value="your API key"/>) since we don't need it to render.
Description
Adds the embedding as API dependency so default implementation of abstract methods are desugared in the runtime classpath.
Related Issues
Fixes #40126
Tests
Integration test that runs on Firebase Test Lab.
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?