Load installed server add-ons
Reviewed By: nikoant Differential Revision: D34300475 fbshipit-source-id: 6bb6c0ab811e28806a0924b3487931bdb0dd2c59
This commit is contained in:
committed by
Facebook GitHub Bot
parent
b4b9c0ab28
commit
8b94186783
@@ -45,8 +45,13 @@ export const createServerAddOnControls = (
|
||||
};
|
||||
|
||||
return {
|
||||
start: (pluginName, owner) =>
|
||||
flipperServer.exec('plugins-server-add-on-start', pluginName, owner),
|
||||
start: (pluginName, details, owner) =>
|
||||
flipperServer.exec(
|
||||
'plugins-server-add-on-start',
|
||||
pluginName,
|
||||
details,
|
||||
owner,
|
||||
),
|
||||
stop: (pluginName, owner) =>
|
||||
flipperServer.exec('plugins-server-add-on-stop', pluginName, owner),
|
||||
sendMessage: async (pluginName, method, params) => {
|
||||
|
||||
Reference in New Issue
Block a user