Skip to content
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

Fix map bugs #682

Merged
merged 2 commits into from
Jan 9, 2023
Merged

Fix map bugs #682

merged 2 commits into from
Jan 9, 2023

Conversation

michael-markl
Copy link
Member

This PR fixes two bugs:

  1. If the user selects selects a store on the map, the map should move the camera to center the store and show a larger symbol on top. However, it didn't.
  2. If the user has given location permission to the app on Android, the app crashes on startup (especially with the release build).

The first bug was fixed by querying the coordinates from the geometry of the map feature.

I fixed the second bug by removing a previous hack (which seems to be unnecessary by now). This luckily resolved the crash.

Please test this thoroughly:
With and without location permissions enabled, check whether all animations look correct (and that the animation does not stop early which was the reason for the hack).

@maxammann
Copy link
Member

Testing right now.

  • Works on iOS (Release and Debug)
  • Works on Android (release)

@maxammann maxammann merged commit efe7652 into whitelabel Jan 9, 2023
@maxammann maxammann deleted the fix-map-bugs branch January 9, 2023 12:06
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.

2 participants