-
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
[NoQA] Unsubscribe from Broadcast receiver task #56169
[NoQA] Unsubscribe from Broadcast receiver task #56169
Conversation
@mountiny do I need to do something here? |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
@mountiny Any updates here? |
🚧 @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. |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
@gedu seems like the failure is related: Error: 'expensify-react-native-background-task/RNBackgroundTaskManager.h' file not found (in target 'Expensify' from project 'Expensify') |
Ok, I will take a look at it |
@mountiny that error is from the standalone app? |
@gedu no that workflow is from building hybrid |
🚧 @mountiny has triggered a test hybrid app build. You can view the workflow run here. |
# Conflicts: # .gitignore # Mobile-Expensify
I can't reproduce that error, it is working for me, is it a way to replicate that process locally? @mountiny |
# Conflicts: # Mobile-Expensify
Not sure @staszekscp @WoLewicki do you have any tips? |
🚧 @mountiny has triggered a test hybrid app build. You can view the workflow run here. |
I will look at it now. |
|
The error says
|
|
Yeah, sorry I meant the HybridApp. So it's weird that it works locally on some machines and on some doesn't 😅
Would be perfect 🤞 |
I changed on both root, ios and in Mobile-Expensify and still working, I don't have the crash as here, so maybe I can change from |
# Conflicts: # Mobile-Expensify
|
Updated and checked with szymon and he gave me greenlight |
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.
https://github.com/Expensify/Mobile-Expensify/pull/13420 was merged so merging this one too
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
…ound_invalidate [NoQA] Unsubscribe from Broadcast receiver task (cherry picked from commit eda939c) (CP triggered by mountiny)
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 9.1.4-2 🚀
|
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 9.1.4-2 🚀
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 9.1.4-4 🚀
|
Explanation of Change
When Pressing
R
to reload the app from Metro, the app crash, need to unregister from the ghost task that gets linked to the destroyed RN bridge.Fixed Issues
$ #56175
PROPOSAL: -
MOBILE-EXPENSIFY: https://github.com/Expensify/Mobile-Expensify/pull/13420
Tests
Run the Android App
Go to the Metro console
Press
R
so it reloads the appIt should load the app back again
Verify that no errors appear in the JS console
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
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
android_background.mp4
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop