You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A new feature was added in this PR recently where we display a map. We discovered an issue with the map's behavior though. We need a fix as soon as possible.
The map should zoom into an area when a single waypoint is passed. When several waypoints are passed, the map should pan out to fix all waypoints passed on map. These zoom in and pan out movements are not working on iOS and Android.
The last version of the library above is 1.0.10 and the version specified in App's package.json on the main branch is 1.0.9. But this should not be the cause of the issue, I believe
The root cause of this issue might be inside react-native-x-maps. If you need to modify the library code and test changes in App, you can push changes in x-maps to a forked repo on GitHub and use the link of your branch on GitHub to install the changed code in your App. More info on this here
Action Performed:
This issue exists on the main branch. It should be re-producible on iOS and Android.
Pull the latest main
Open NewDot on iOS simulator or Android emulator
Go to any chat room where you can request money (i.e. IOU)
Click the "+" icon next to the chat message text field. Click "Request Money" on the pop up menu that appears.
Check "Distance" tab on the Right Hand Panel that appears
Click the "Start" item from the list of waypoints.
In the text field that appears in the next screen, type "88 Kearny Street". Click the first option "88 Kearny Street, San Francisco, CA, USA" that appears.
Check that the map doesn't move when it should zoom into a part of San Francisco. Check the video below for the expected behavior of the map (taken on Web).
Current behaviorScreen.Recording.2023-08-23.at.1.25.35.PM.movExpected behaviorScreen.Recording.2023-08-22.at.4.01.02.PM.mov
Click the "Stop" item from the list of waypoints.
In the text field that appears in the next screen, type "Golden Gate Park". Click the first option "88 Kearny Street, San Francisco, CA, USA" that appears.
Check that the map doesn't move at all when it should pan out to fix the new point added. Check the video below for the expected behavior of the map (taken on Web).
Current behaviorScreen.Recording.2023-08-23.at.1.28.41.PM.movExpected behaviorScreen.Recording.2023-08-22.at.4.08.56.PM.mov
Platforms:
Which of our officially supported platforms is this issue occurring on?
Android / native
Android / Chrome
iOS / native
iOS / Safari
MacOS / Chrome / Safari
MacOS / Desktop
Reproducible in staging?: Only on main Reproducible in production?: Nop Slack conversation:#25161 (comment)
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Context
A new feature was added in this PR recently where we display a map. We discovered an issue with the map's behavior though. We need a fix as soon as possible.
We also introduced a new library for this map feature. The library's repo is here: https://github.com/Expensify/react-native-x-maps.
The map should zoom into an area when a single waypoint is passed. When several waypoints are passed, the map should pan out to fix all waypoints passed on map. These zoom in and pan out movements are not working on iOS and Android.
The last version of the library above is
1.0.10and the version specified in App'spackage.jsonon the main branch is1.0.9. But this should not be the cause of the issue, I believeRelated issues
Hint
The root cause of this issue might be inside
react-native-x-maps. If you need to modify the library code and test changes inApp, you can push changes inx-mapsto a forked repo on GitHub and use the link of your branch on GitHub to install the changed code in yourApp. More info on this hereAction Performed:
This issue exists on the main branch. It should be re-producible on iOS and Android.
Pull the latest main
Open NewDot on iOS simulator or Android emulator
Go to any chat room where you can request money (i.e. IOU)
Click the "+" icon next to the chat message text field. Click "Request Money" on the pop up menu that appears.
Check "Distance" tab on the Right Hand Panel that appears
Click the "Start" item from the list of waypoints.
In the text field that appears in the next screen, type "88 Kearny Street". Click the first option "88 Kearny Street, San Francisco, CA, USA" that appears.

Check that the map doesn't move when it should zoom into a part of San Francisco. Check the video below for the expected behavior of the map (taken on Web).
Current behavior
Screen.Recording.2023-08-23.at.1.25.35.PM.mov
Expected behavior
Screen.Recording.2023-08-22.at.4.01.02.PM.mov
Click the "Stop" item from the list of waypoints.
In the text field that appears in the next screen, type "Golden Gate Park". Click the first option "88 Kearny Street, San Francisco, CA, USA" that appears.
Check that the map doesn't move at all when it should pan out to fix the new point added. Check the video below for the expected behavior of the map (taken on Web).
Current behavior
Screen.Recording.2023-08-23.at.1.28.41.PM.mov
Expected behavior
Screen.Recording.2023-08-22.at.4.08.56.PM.mov
Platforms:
Which of our officially supported platforms is this issue occurring on?
Reproducible in staging?: Only on main
Reproducible in production?: Nop
Slack conversation: #25161 (comment)
View all open jobs on GitHub
Upwork Automation - Do Not Edit