-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Add embedding as API dependency instead of compile only dependency #41142
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
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you for fixing this!
| children: <Widget>[ | ||
| TextFormField(), | ||
| const Expanded( | ||
| child: InAppWebView( |
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.
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.
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.
sg. Done
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?