Skip to content

Conversation

@blasten
Copy link

@blasten blasten commented Sep 23, 2019

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.

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I signed the CLA.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I updated/added relevant documentation (doc comments with ///).
  • All existing and new tests are passing.
  • The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Does your PR require Flutter developers to manually update their apps to accommodate your change?

  • Yes, this is a breaking change (Please read Handling breaking changes). Replace this with a link to the e-mail where you asked for input on this proposed change.
  • No, this is not a breaking change.

@fluttergithubbot fluttergithubbot added the tool Affects the "flutter" command-line tool. See also t: labels. label Sep 23, 2019
@blasten blasten force-pushed the gradle_3_5_patch branch 3 times, most recently from c7caf5c to 4fb2942 Compare September 24, 2019 23:15
@blasten blasten requested a review from mklim September 24, 2019 23:23
@fluttergithubbot
Copy link
Contributor

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.

@fluttergithubbot fluttergithubbot added the c: contributor-productivity Team-specific productivity, code health, technical debt. label Sep 24, 2019
@blasten
Copy link
Author

blasten commented Sep 25, 2019

@mklim I removed all the binaries. PTAL

Copy link
Contributor

@mklim mklim left a 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(
Copy link
Contributor

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.

Suggested change
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.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sg. Done

@blasten blasten merged commit 975e770 into flutter:master Sep 26, 2019
@blasten blasten deleted the gradle_3_5_patch branch September 26, 2019 00:59
Inconnu08 pushed a commit to Inconnu08/flutter that referenced this pull request Sep 30, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

c: contributor-productivity Team-specific productivity, code health, technical debt. tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

java.lang.AbstractMethodError: abstract method "void io.flutter.plugin.platform.PlatformView.onInputConnectionLocked()"

4 participants