JS side of Native Plugins
Summary: Native plugins are plugins that can be written in mobile code alone (java/objc), provided they conform to a template, currently table is the only implemented template. This adds support to flipper for handling them. Reviewed By: danielbuechele Differential Revision: D14502188 fbshipit-source-id: a96be9b06de1cecf7977c4ef2fd05b168f7f1330
This commit is contained in:
committed by
Facebook Github Bot
parent
ba0cdf641d
commit
57a24769e8
@@ -171,7 +171,11 @@ class PluginDebugger extends Component<Props> {
|
||||
// bundled plugins are loaded from the defaultPlugins directory within
|
||||
// Flipper's package.
|
||||
const externalPluginPath = (p: PluginDefinition) =>
|
||||
p.out.startsWith('./defaultPlugins/') ? null : p.entry;
|
||||
p.out
|
||||
? p.out.startsWith('./defaultPlugins/')
|
||||
? null
|
||||
: p.entry
|
||||
: 'Native Plugin';
|
||||
|
||||
this.props.gatekeepedPlugins.forEach(plugin =>
|
||||
rows.push(
|
||||
|
||||
Reference in New Issue
Block a user