Skip to content

fixes #58: made work in a separate thread#103

Merged
mvanbeusekom merged 12 commits into
Baseflow:masterfrom
Mayb3Nots:master
Aug 25, 2022
Merged

fixes #58: made work in a separate thread#103
mvanbeusekom merged 12 commits into
Baseflow:masterfrom
Mayb3Nots:master

Conversation

@Mayb3Nots
Copy link
Copy Markdown
Contributor

@Mayb3Nots Mayb3Nots commented Aug 18, 2022

✨ What kind of change does this PR introduce? (Bug fix, feature, docs update...)

Fixes #58 by using taskQueue API

⤵️ What is the current behavior?

Main thread on flutter will freeze

🆕 What is the new behavior (if this is a feature change)?

It wont freeze

💥 Does this PR introduce a breaking change?

No

🤔 Checklist before submitting

  • I made sure all projects build.
  • I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
  • I updated CHANGELOG.md to add a description of the change.
  • I followed the style guide lines (code style guide).
  • I updated the relevant documentation.
  • I rebased onto current master.

Comment thread geocoding/android/.settings/org.eclipse.buildship.core.prefs Outdated
Comment thread geocoding/android/src/main/java/com/baseflow/geocoding/MethodCallHandlerImpl.java Outdated
Comment thread geocoding/android/src/main/java/com/baseflow/geocoding/MethodCallHandlerImpl.java Outdated
Comment thread geocoding/android/src/main/java/com/baseflow/geocoding/MethodCallHandlerImpl.java Outdated
Comment thread geocoding/android/src/main/java/com/baseflow/geocoding/MethodCallHandlerImpl.java Outdated
Comment thread geocoding/android/src/main/java/com/baseflow/geocoding/MethodCallHandlerImpl.java Outdated
Comment thread geocoding/android/src/main/java/com/baseflow/geocoding/MethodCallHandlerImpl.java Outdated
Comment thread geocoding/android/src/main/java/com/baseflow/geocoding/utils/AddressMapper.java Outdated
Comment thread geocoding/example/android/.settings/org.eclipse.buildship.core.prefs Outdated
Comment thread geocoding_platform_interface/lib/src/models/placemark.dart Outdated
@Mayb3Nots Mayb3Nots requested a review from jogboms August 25, 2022 06:53
Comment thread geocoding/android/src/main/java/com/baseflow/geocoding/MethodCallHandlerImpl.java Outdated
@Mayb3Nots Mayb3Nots requested a review from jogboms August 25, 2022 09:27
Copy link
Copy Markdown

@jogboms jogboms left a comment

Choose a reason for hiding this comment

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

If you could remove the unused imports then it should be good to go. I would also test this on my end.

Comment thread geocoding/android/src/main/java/com/baseflow/geocoding/MethodCallHandlerImpl.java Outdated
Comment thread geocoding/android/src/main/java/com/baseflow/geocoding/MethodCallHandlerImpl.java Outdated
Copy link
Copy Markdown

@jogboms jogboms left a comment

Choose a reason for hiding this comment

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

Great work @Mayb3Nots. It looks good and tested ok.

Comment thread geocoding/CHANGELOG.md
Copy link
Copy Markdown
Member

@mvanbeusekom mvanbeusekom left a comment

Choose a reason for hiding this comment

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

LGTM modules the last remarks mentioned by @jogboms regarding the unused imports and missing line break.

Copy link
Copy Markdown
Member

@mvanbeusekom mvanbeusekom left a comment

Choose a reason for hiding this comment

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

LGTM

@Mayb3Nots
Copy link
Copy Markdown
Contributor Author

Good to hear that!

@mvanbeusekom mvanbeusekom merged commit b5f2483 into Baseflow:master Aug 25, 2022
@mvanbeusekom
Copy link
Copy Markdown
Member

Update has been published on pub.dev (version 2.0.5)

@jogboms
Copy link
Copy Markdown

jogboms commented Aug 25, 2022

Thanks @mvanbeusekom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Getting locationFromAddress noticeably freezes main thread

3 participants