-
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
[$500] There are notification of unread message on fresh install of the app #38715
Comments
Triggered auto assignment to @MitchExpensify ( |
I don't think we should worry about Testflight install related bugs |
@MitchExpensify I tested in staging, but happens in app store build https://expensify.slack.com/archives/C049HHMV9SM/p1710921050509239 RPReplay_Final1710920900.MP4 |
Reopening to take a second look at this |
Just for context I didn't experience this when using TestFlight, this happened from the actual App Store on my physical iPhone. |
Waiting on proposals, labelling external |
Job added to Upwork: https://www.upwork.com/jobs/~01a7449e9320304743 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jayeshmangwani ( |
Seeing as this impacts sign ups which are a focus of wave collect, I'm assigning it to that wave as polish |
ProposalPlease re-state the problem that we are trying to solve in this issue.There is a notification badge on reinstalling the app, on iOS. What is the root cause of that problem?iOS persists the badge count for a day, and shows it again on reinstall. What changes do you think we should make in order to solve the problem?We can clear the badge count in
|
@ShridharGoel thanks for the proposal , Have you tested the app locally after adding the above code ? |
@jayeshmangwani Yes, but it will be updated on first launch only since code will not run before launching the app. |
Yes that was exactly my doubt/thought, So issue will not be solved completely, as for the first time when user install the app they can see the badge count, badge will be set to 0 when app will be opened |
@jayeshmangwani Yes but atleast it will get reset on first launch of the app. Also, I think many users might be just clicking on the "Open" option after installing from App Store, they'll not see the badge even once if we reset on first launch. |
@ShridharGoel This scenario altogether is very rare, as its very rare that someone uninstall & re-install the app often in one day. I'll do some search this badge issue today and if this is the only way then we can go with this way |
@jayeshmangwani Yes, didFinishLaunchingWithOptions will be called but NSUserDefaults will still have the data on app update. |
So, previous badge will not be set to 0 on app update. |
Woow, thanks for the link |
If we go with the this proposal there is one drawback, If we have some badge count before uninstalling the app and then we re-install the app from store/testflight:
@MitchExpensify @kadiealexander Please suggest your thoughts on this, and should we need to open the discussion in #expensify-open-source? |
Note that I don't think there's any straightforward way to remove the badge on reinstall without launching the app - since we need the app to run for executing any code. So, atleast one launch will be needed for clearing the badge. |
@ShridharGoel 's Proposal, Overall looks good of setting the 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @johnmlee101, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@johnmlee101 , This is a Summary of the selected proposal. Please suggest your thoughts on this. If it looks good, we can proceed with the above proposal. |
Yeah it feels like this is outside of our control to some degree. I think we can go with that proposal |
📣 @jayeshmangwani 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @ShridharGoel 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@ShridharGoel you are assigned to the issue; go for the PR. |
Thanks, opening PR in a few hours. |
@jayeshmangwani PR is up #39410 |
@MitchExpensify Automation failed here, this issue is ready to be payout |
Payment summary: $500 C+ @jayeshmangwani |
Paid and contract ended @jayeshmangwani Please accept the offer here @ShridharGoel https://www.upwork.com/nx/wm/offer/101682717 |
@MitchExpensify Accepted. |
Paid and contract ended, thanks everyone! Any testing steps you recommend @jayeshmangwani ? |
@MitchExpensify Regression Tests Regression Test Proposal
Option A:
Option B:
|
Thanks! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.55-0
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @kadiealexander
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1710921050509239
Action Performed:
Expected Result:
There shouldn't be notification for unread message
Actual Result:
There is a unread message notification
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
RPReplay_Final1710972389.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: