-
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
ND changes for Hybrid App switch to fragments on Android #55010
ND changes for Hybrid App switch to fragments on Android #55010
Conversation
@johnmlee101 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] |
2781604
to
fc8cb33
Compare
…sion-labs/expensify-app-fork into hybrid-app-android-fragment
const isLastScreenOnStack = bottomTabRoutes.length === 1 && rootState?.routes?.length === 1; | ||
|
||
if (NativeModules.HybridAppModule && isLastScreenOnStack) { | ||
NativeModules.HybridAppModule.exitApp(); | ||
} | ||
|
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.
Why has this code been deleted?
EDIT: I think I figured that out, but I'd like to make sure anyway 😄
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.
When ND was on home screen and back button was clicked app crashed instead of going to background
# Conflicts: # src/types/modules/react-native.d.ts
Noting QA will run on the combined PRs in the hybridApp Android build from SWM https://expensify.slack.com/archives/C9YU7BX5M/p1737455902896799 |
# Conflicts: # modules/background-task/android/src/main/java/com/expensify/reactnativebackgroundtask/ReactNativeBackgroundTaskModule.kt
🚧 @mountiny has triggered a test hybrid app build. You can view the workflow run here. |
This comment has been minimized.
This comment has been minimized.
🚧 @mountiny has triggered a test hybrid app build. You can view the workflow run here. |
We got further with the builds 🎉 |
🚧 @mountiny has triggered a test hybrid app build. You can view the workflow run here. |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
# Conflicts: # src/libs/TripReservationUtils.ts # src/pages/Search/EmptySearchView.tsx # src/pages/Travel/ManageTrips.tsx
🚧 @mountiny has triggered a test hybrid app build. You can view the workflow run here. |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
🚧 @mountiny has triggered a test hybrid app build. You can view the workflow run here. |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
🚧 @mountiny has triggered a test hybrid app build. You can view the workflow run here. |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
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 and the QA has done full Android testing on this PR https://github.com/Expensify/Mobile-Expensify/pull/13349
Conflicts are present
Discarding in favour of #56145 to be sure that we don't reintroduce bad commit |
cc @war-in @mateuuszzzzz
Explanation of Change
This PR adjust app to new way ND is opened in hybrid app on Android. For more details check https://github.com/Expensify/Mobile-Expensify/pull/13349
Fixed Issues
$ #55520
PROPOSAL: N/A
MOBILE-EXPENSIFY:13349
Tests
This PR requires big round of testing of whole app like transitions between app, navigation and all functionalities in ND.
Offline tests
App functionality should in offline mode should not change compared to current main.
QA Steps
Please download app for testing from this link. Unfortunately we can't use adhoc build for this one.
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.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 and/or tagged@Expensify/design
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
Android: Native
N/A
Android: mWeb Chrome
N/A
iOS: Native
N/A
iOS: mWeb Safari
N/A
MacOS: Chrome / Safari
N/A
MacOS: Desktop
N/A