Skip to content

[BUG] Update Event Not Triggering from Production Build Created with Custom Tag #488

Closed

Description

@viclai

What happened?

Using Plasmo, I built a Chrome extension with a custom new-tab page. When I forced/simulated an update by uploading an unpacked extension with a newer version but the same ID as the already-installed extension version, I found that my extension was not firing the update event if I have at least one new-tab page open prior to the update. Specifically, the onInstalled event was not firing with update as reason.

I created the following new Plasmo project just to demonstrate this issue.

https://github.com/viclai/plasmo_french_fries

I discovered other similar scenarios in which the update event wasn't firing as I'd expect, but this is what I can show with a bare-bones sample. Please let me know if there's any workaround! 🙏

Version

Latest

What OS are you seeing the problem on?

MacOSX, Linux

What browsers are you seeing the problem on?

Chrome, Microsoft Edge

Relevant log output

No response

(OPTIONAL) Contact Details

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I checked the current issues for duplicate problems.

Activity

  1. added
    bug
    on Mar 6, 2023
  2. louisgv commented on Mar 10, 2023

    @louisgv
    Contributor

    I think this is unrelated to Plasmo framework/API - more of a chrome extension issue - let's move it to a discussino.

  3. locked and limited conversation to collaborators on Mar 10, 2023
  4. converted this issue into a discussion #498 on Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions