Skip to content
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

fix(background): setup payment sessions again on resume if lost #414

Closed
wants to merge 1 commit into from

Conversation

sidvishnoi
Copy link
Member

Context

Closes #413

Changes proposed in this pull request

@github-actions github-actions bot added area: content Improvements or additions to extension content script area: background Improvements or additions to extension background script labels Jul 10, 2024
@raducristianpopa
Copy link
Member

Extension builds preview

Name Link
Latest commit a01acce
Latest job logs Run #9872887612
BadgeDownload
BadgeDownload

@sidvishnoi sidvishnoi changed the title fix(background): re-setup payment sessions on resume if background dies fix(background): setup payment sessions again on resume if lost Jul 10, 2024
@raducristianpopa
Copy link
Member

In one of the implementation details call we said that we are going to keep the service worker (alarms APi or something else) alive. Why would we need this, if we are going to keep the worker alive?

@sidvishnoi
Copy link
Member Author

sidvishnoi commented Jul 10, 2024

Hmmm, yeah I forgot about that lol. Let's file an issue for that.

Alternatively, also consider why we might not want to keep background alive (negative effect on battery etc.) and if we can run background as needed (best result, but difficult).

@sidvishnoi sidvishnoi marked this pull request as draft July 11, 2024 12:15
@sidvishnoi
Copy link
Member Author

Closing in favor of #416

@sidvishnoi sidvishnoi closed this Aug 5, 2024
@sidvishnoi sidvishnoi deleted the resume-after-background-kill branch August 5, 2024 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: background Improvements or additions to extension background script area: content Improvements or additions to extension content script do not merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]: cannot resume sessions if background script becomes inactive
2 participants