-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Hide notification badge on iOS app reinstall #39410
Conversation
@jayeshmangwani 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] |
ios/NewExpensify/AppDelegate.mm
Outdated
@@ -22,7 +22,7 @@ - (BOOL)application:(UIApplication *)application | |||
// You can add your custom initial props in the dictionary below. | |||
// They will be passed down to the ViewController used by React Native. | |||
self.initialProps = @{}; | |||
|
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.
Revert this change
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.
Updated
ios/NewExpensify/AppDelegate.mm
Outdated
@@ -34,7 +34,7 @@ - (BOOL)application:(UIApplication *)application | |||
|
|||
[RCTBootSplash initWithStoryboard:@"BootSplash" | |||
rootView:(RCTRootView *)self.window.rootViewController.view]; // <- initialization using the storyboard file name | |||
|
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.
Revert this change
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.
Updated
@ShridharGoel Though changes are in the native iOS files, we have to upload screenshots/videos for all the platforms for the checklist, so if you can just run the app for all the remaining platforms and record a video and update it to PR, it would be appreciated. |
@jayeshmangwani Updated. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid.movAndroid: mWeb ChromemWeb-chrome.moviOS: NativeiOS.moviOS: mWeb SafarimWeb-safari.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
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.
Lint is failing in local, its also failing in main, so not related to this PR
Changes LGTM 🚀
@ShridharGoel @johnmlee101 Before merging this PR, I just wanted to clarify that I was testing the existing behavior of the app store on the iPhone Xs; on my side, I have tested the App Store app showing a badge when I install the app, but after opening the app, the badge is disappeared for me, so what we are trying to do in this PR, is already working for me, but not sure why, but for one of a tester badge is persistent after opening the app too. RPReplay_Final1712139028_resized.mp4 |
@ShridharGoel Remove the Details section or update; Current details are irrelevant to this PR. |
@jayeshmangwani Then it seems that it's not happening on all devices. But at least this code change would ensure that it gets fixed for all. |
@johnmlee101 Can you have a look? |
✋ 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/johnmlee101 in version: 1.4.61-0 🚀
|
🚀 Deployed to staging by https://github.com/johnmlee101 in version: 1.4.61-0 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.61-8 🚀
|
Details
Hide notification badge on iOS app reinstall.
Fixed Issues
$ #38715
PROPOSAL: #38715 (comment)
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 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
Screen.Recording.2024-04-03.at.1.09.20.PM.mov
Android: mWeb Chrome
Screen.Recording.2024-04-03.at.1.03.49.PM.mov
iOS: Native
Screen.Recording.2024-04-02.at.8.28.08.PM.mov
iOS: mWeb Safari
Screen.Recording.2024-04-03.at.1.02.34.PM.mov
MacOS: Chrome / Safari
Screen.Recording.2024-04-03.at.12.59.34.PM.mov
MacOS: Desktop
Screen.Recording.2024-04-03.at.1.00.11.PM.mov