Skip to content

Conversation

@Ritsz123
Copy link
Member

@Ritsz123 Ritsz123 commented Mar 6, 2025

Description

Refactor location implementation in ui kit.
Breaking Changes:

  • LocationData -> LocationModel
  • getAddress method will require latitude, longitude. (previously it was taking Position)

Links :

No Link(s) added.

Commits

Tests

I added the following tests:

No Test(s) added.

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 and followed the Best Practices Guide.
  • I updated/added relevant documentation (doc comments with ///).
  • All existing and new tests are passing.
  • Added relevant reviewers.

Breaking Change

  • [] No, no existing tests failed.
  • Yes, this is a breaking change.

Should be merge type:

  • Squash and merge
  • Rebase and merge

@Ritsz123 Ritsz123 requested a review from singhtaranjeet March 6, 2025 10:12
'${Constants.locationNotAvailable}\n$defaultLocationReason',
} catch (e, s) {
logger.e(e, s);
final _location = await Geolocator.getLastKnownPosition().timeout(
Copy link
Contributor

Choose a reason for hiding this comment

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

in case it took more then 5 seconds then it'll throw timeout exception.

@singhtaranjeet singhtaranjeet requested a review from TusharFA March 12, 2025 06:16
…r _getLocation

Signed-off-by: riteshkhadse <r.khadse@flick2know.com>
@kapdroid kapdroid marked this pull request as draft July 16, 2025 15:06
@kapdroid kapdroid force-pushed the main branch 5 times, most recently from 74de0e6 to f1ef088 Compare August 7, 2025 17:31
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.

4 participants