diff --git a/desktop/app/src/dispatcher/plugins.tsx b/desktop/app/src/dispatcher/plugins.tsx index 2d86e4f7d..b185bbbb1 100644 --- a/desktop/app/src/dispatcher/plugins.tsx +++ b/desktop/app/src/dispatcher/plugins.tsx @@ -318,22 +318,8 @@ const requirePluginInternal = ( plugin.packageName = pluginDetails.name; plugin.details = pluginDetails; - if ( - GK.get('flipper_use_sandy_plugin_wrapper') || - process.env.NODE_ENV === 'test' - ) { - return createSandyPluginFromClassicPlugin(pluginDetails, plugin); - } - - // set values from package.json as static variables on class - Object.keys(pluginDetails).forEach((key) => { - if (key !== 'name' && key !== 'id') { - plugin[key] = - plugin[key] || pluginDetails[key as keyof ActivatablePluginDetails]; - } - }); + return createSandyPluginFromClassicPlugin(pluginDetails, plugin); } - return plugin; }; export function createSandyPluginFromClassicPlugin(