facebook / flipper

A desktop debugging platform for mobile developers.
https://fbflipper.com/
MIT License
13.31k stars 954 forks source link

Unable to install plugin #5527

Open haifengkao opened 5 months ago

haifengkao commented 5 months ago

🐛 Bug Report

the installed plugins will be removed when flipper 0.250.0 starts

To Reproduce

  1. install flipper 0.212.0
  2. install my flipper plugin (https://github.com/haifengkao/flipper-plugin-expandablepreferences/tree/main/flipper-plugin-expandablepreferences)
  3. everything works fine. the plugin is installed in ~/.flipper/installed-plugins/
  4. start flipper 0.250.0
  5. the plugin is removed from ~/.flipper/installed-plugins/ when the flipper starts

    Environment

    flipper 0.250.0

Note

the issue seems to related to the plugin itself. Another plugin of me works without any problem (https://github.com/haifengkao/flipper-plugin-expandablepreferences/tree/main/flipper-plugin-eventstoreviewer)

haifengkao commented 5 months ago

Flipper marks my plugin flipper-plugin-expandablepreferences as an uninstalled plugin in the Chrome's local storage. After I clear the local storage, everything works fine. It's interesting , because there is no way to clear the uninstalled plugins. Reinstalling the plugin doesn't change anything.