-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[New architecture] Upgrade react-native-android-location-enabler
#36122
[New architecture] Upgrade react-native-android-location-enabler
#36122
Conversation
@DylanDylann Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-02-14.at.15.30.36.movAndroid: mWeb ChromeScreen.Recording.2024-02-14.at.16.02.24.moviOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
interval: 2000, // This updates location after every 2 seconds (required prop). We don't depend on this as we only use the location once. | ||
fastInterval: 1, // The shortest time (1 ms) our app is willing to wait for location update. Passing 0 ms short's the internal ternary condition of library to default value. | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It means that we will use the default value (0 ms) for the fastInterval
param. Why do we need to update that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This param doesn't exist in version 2.0
of this library: https://github.com/Richou/react-native-android-location-enabler/blob/c3d248c410f9a6174d3f5f546cc47a207253716f/src/index.tsx#L22-L25
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/luacmartins in version: 1.4.42-0 🚀
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 1.4.42-5 🚀
|
Details
This PR includes a version upgrade of
react-native-android-location-enabler
from^1.2.2
to^2.0.1
.More context: https://expensify.slack.com/archives/C01GTK53T8Q/p1707293299589539
Fixed Issues
$ #35990
PROPOSAL: N/A
Tests
Request money
optionDistance
tabOffline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
This library is used only on the
Android: Native
platform, so the video is attached only for this one.Android: Native
rn_image_picker_lib_temp_74561d8f-3efd-4956-807c-daf7f191daf1-2024-02-09.11_09_35.911_1.mp4
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop