Skip to content

Getting locationFromAddress noticeably freezes main thread  #58

@marcinOz

Description

@marcinOz

🐛 Bug Report

When calling locationFromAddress() it noticeably freezes the main thread of the application and we can not move it to separate isolate as then it returns null.

Expected behavior

It should work more performance-friendly.

Reproduction steps

just call it with some animation or try to click on the UI and it's freezed

Configuration

Pixel 4

Flutter 2.2.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 02c026b03c (4 weeks ago) • 2021-05-27 12:24:44 -0700
Engine • revision 0fdb562ac8
Tools • Dart 2.13.1

Version: 1.x

geocoding: ^2.0.0

Platform:

  • 📱 iOS (didn't test that)
  • 🤖 Android

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions