App icon indicating copy to clipboard operation
App copied to clipboard

After updating the desktop app, notifications do not work until the app is restarted

Open Jag96 opened this issue 5 years ago • 44 comments

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Upwork Post: https://www.upwork.com/jobs/~01f895152ca12662bc

Expected Result:

I expected to receive the notification from the desktop app

Actual Result:

I didn't receive a notification from the desktop app

Action Performed:

  1. Install an earlier version of the Mac OSX desktop client
    1. The easiest way to do this is to download the staging desktop app from https://staging.expensify.cash/Expensify.cash.dmg (updated often), wait until there is an update, and then update the app using the in-app auto update modal (more context in this PR)
  2. Open the desktop client and sign in to your E.cash account
  3. Receive the notification about an update being available, update the app and allow it to restart
  4. From another account (signed into your web browser or mobile app) send a message to the account signed in to the desktop app
  5. You don't receive a desktop notification

Workaround:

Quitting the app and reloading Electron restores notifications.

Platform:

Desktop(Mac)

Version Number: v1.0.23-0 Expensify/Expensify Issue URL: https://github.com/Expensify/Expensify/issues/151959

Note: To test this on dev, we have steps here that require a Mac and an Apple Developer Account.

Jag96 avatar Apr 15 '21 23:04 Jag96

Triggered auto assignment to @chiragsalian (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

MelvinBot avatar Apr 16 '21 00:04 MelvinBot

@Jag96 is this still open to work?

pranshuchittora avatar May 15 '21 15:05 pranshuchittora

@pranshuchittora yes this issue is still available to work on! If you're interested please submit a proposal explaining how you plan on fixing the issue.

Jag96 avatar May 17 '21 16:05 Jag96

@pranshuchittora you'll need to finish the other issue I hired you for before we can hire you on this one. Per our contributing.md "New Expensify.cash contributors are limited to working on one job at a time, however experienced contributors may work on numerous jobs simultaneously. "

mallenexpensify avatar May 17 '21 21:05 mallenexpensify

Created a new post for the issue and raised price to $500. Assigned to me cuz @Jag96 is out for a bit https://www.upwork.com/jobs/~01f895152ca12662bc

mallenexpensify avatar Jun 16 '21 19:06 mallenexpensify

Sorry @Bognar791 , we're currently running everything through Upwork and can not additionally post to freelancer.com. Would it be helpful if we invited you in Upwork to this job?

mallenexpensify avatar Jun 17 '21 04:06 mallenexpensify

Triggered auto assignment to @Christinadobrzyn (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

MelvinBot avatar Jul 02 '21 21:07 MelvinBot

@Christinadobrzyn I'm out next week and need a buddy so used External label. Can you do me a favor and Upload a new job to Upwork with the price 2x and close this one? https://www.upwork.com/jobs/~01f895152ca12662bc

I'll pick this back up when back. Thanks!

mallenexpensify avatar Jul 02 '21 21:07 mallenexpensify

Closed the Upwork project and created a new one for a fixed price of $500.

New External Job posting - https://www.upwork.com/jobs/~019efa3100649f87a5 Internal posting- https://www.upwork.com/ab/applicants/1413364425165402112/job-details

Christinadobrzyn avatar Jul 05 '21 01:07 Christinadobrzyn

Invited a few contributors to review the project and see if they are interested.

Christinadobrzyn avatar Jul 06 '21 00:07 Christinadobrzyn

Hello @Jag96 and @Christinadobrzyn, I would love to take this up.

attaradev avatar Jul 07 '21 21:07 attaradev

@mikeattara great! Are you able to reproduce the issue? Per our contribution guidelines please confirm you can reproduce the issue, and then post a proposal on this issue that explains why the issue is happening and what technical changes you will make to fix it

Jag96 avatar Jul 07 '21 21:07 Jag96

Reached out to @mikeattara in an Upwork message to see if he's able to send a proposal of how to fix this issue.

Christinadobrzyn avatar Jul 12 '21 02:07 Christinadobrzyn

@Christinadobrzyn I am unable to reproduce the issue yet

attaradev avatar Jul 12 '21 12:07 attaradev

@Jag96 I can't see the update dialog. I've installed the app from this url https://staging.expensify.cash/Expensify.cash.dmg . This is the version of the app which I have just installed.

Untitled Is there any problem on the version?

Looxor avatar Jul 12 '21 15:07 Looxor

@Jag96 I got this console log which means that it's not the latest version. Can you please provide an old app or another way to download old version?

Untitled2

Looxor avatar Jul 12 '21 16:07 Looxor

@Looxor there is no update available because you downloaded the latest version of the app. In order to test this, you really need to follow this testing guide

roryabraham avatar Jul 12 '21 16:07 roryabraham

@roryabraham , Thank you. I will try.

Looxor avatar Jul 12 '21 17:07 Looxor

@mallenexpensify @Christinadobrzyn

Just a note that the old job post is still open, and the new one didn't double the price

rdjuric avatar Jul 15 '21 19:07 rdjuric

Thanks for the heads up @rdjuric - I just created a new post with the $500 price. Is this one visible?

New job post: https://www.upwork.com/jobs/~010e6f0cefe915336a

Christinadobrzyn avatar Jul 16 '21 01:07 Christinadobrzyn