Skip to content

Flutter Test file errors #132

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

Closed
Mohitmadhav opened this issue Oct 8, 2021 · 4 comments · Fixed by #142
Closed

Flutter Test file errors #132

Mohitmadhav opened this issue Oct 8, 2021 · 4 comments · Fixed by #142
Assignees
Labels
bug Something isn't working easy Easy level issue good first issue good issue for first-time contributors Hacktoberfest For Hacktoberfest 2021 normal-priority Something that has a normal priority

Comments

@Mohitmadhav
Copy link
Member

Description

Flutter testing file i.e. default_test.dart has started throwing errors in the latest flutter version 2.5.

Screenshots

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. File location: test\default_test.dart
  2. Do not downgrade any dependencies because the app has to be migrated to null safety later with the latest updates
  3. Also look into the error for the latest Flutter 2.5:
    The plugin geocoder uses a deprecated version of the Android embedding.
    To avoid unexpected runtime failures or future build failures, try to see if this plugin supports the Android V2
    embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs.
    If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding:
    https://flutter.dev/go/android-plugin-migration.

Additional data

We can discuss the further improvements here.

@Mohitmadhav Mohitmadhav added bug Something isn't working easy Easy level issue good first issue good issue for first-time contributors Hacktoberfest For Hacktoberfest 2021 normal-priority Something that has a normal priority labels Oct 8, 2021
@aryang117
Copy link
Contributor

Hi @Mohitmadhav, can I work on this issue?

@Mohitmadhav
Copy link
Member Author

Sure @aryang117, just make sure to follow the README and have the updated code in your forked branch.

@aryang117
Copy link
Contributor

aryang117 commented Oct 10, 2021

Hey, I did look into the geocoder issue, and as of right now, it seems to be unsolvable. The entire plugin/package seems to be out-of-date which is causing the build errors. Also, geocoder's repository seems to have gone stale (i.e, no developments/activity)
So, either we -

  1. re-write the entire plugin and upgrade it to Android V2 Embedding or,
  2. leave it as is or,
  3. find an alternative package/plugin (which might end up being it's own issue).
    @Mohitmadhav

@Mohitmadhav
Copy link
Member Author

@aryang117 we can discuss it on #91.
I'll tag you there. Because we need null safety too, in future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working easy Easy level issue good first issue good issue for first-time contributors Hacktoberfest For Hacktoberfest 2021 normal-priority Something that has a normal priority
Projects
None yet
2 participants