Extend device plugin metadata to include supported devices
Summary: Plugin metadata format extended to include type of each plugin (client / device) and list of supported devices (android/ios/..., emulator/physical, etc). This will allow to detect plugins supported by device even if they are not installed and only available on Marketplace. Reviewed By: mweststrate Differential Revision: D26073531 fbshipit-source-id: e331f1be1af1046cd4220a286a1d52378c26cc53
This commit is contained in:
committed by
Facebook GitHub Bot
parent
1ce619af7e
commit
d7cfcb5d8e
@@ -2,6 +2,10 @@
|
||||
"$schema": "https://fbflipper.com/schemas/plugin-package/v2.json",
|
||||
"name": "flipper-plugin-device-cpu",
|
||||
"id": "DeviceCPU",
|
||||
"pluginType": "device",
|
||||
"supportedDevices": [
|
||||
{"os": "Android", "type": "physical"}
|
||||
],
|
||||
"version": "0.0.0",
|
||||
"main": "dist/bundle.js",
|
||||
"flipperBundlerEntry": "index.tsx",
|
||||
|
||||
@@ -2,6 +2,11 @@
|
||||
"$schema": "https://fbflipper.com/schemas/plugin-package/v2.json",
|
||||
"name": "flipper-plugin-crash-reporter",
|
||||
"id": "CrashReporter",
|
||||
"pluginType": "device",
|
||||
"supportedDevices": [
|
||||
{"os": "Android"},
|
||||
{"os": "iOS", "type": "emulator"}
|
||||
],
|
||||
"version": "0.0.0",
|
||||
"description": "A plugin which will display a crash",
|
||||
"main": "dist/bundle.js",
|
||||
|
||||
@@ -2,6 +2,10 @@
|
||||
"$schema": "https://fbflipper.com/schemas/plugin-package/v2.json",
|
||||
"name": "flipper-plugin-hermesdebuggerrn",
|
||||
"id": "Hermesdebuggerrn",
|
||||
"pluginType": "device",
|
||||
"supportedDevices": [
|
||||
{"os": "Metro", "archived": false}
|
||||
],
|
||||
"version": "0.0.0",
|
||||
"main": "dist/bundle.js",
|
||||
"flipperBundlerEntry": "index.tsx",
|
||||
|
||||
@@ -3,6 +3,10 @@
|
||||
"name": "flipper-plugin-kaios-big-allocations",
|
||||
"id": "kaios-big-allocations",
|
||||
"version": "0.0.0",
|
||||
"pluginType": "device",
|
||||
"supportedDevices": [
|
||||
{"os": "Android", "specs": ["KaiOS"]}
|
||||
],
|
||||
"main": "dist/bundle.js",
|
||||
"flipperBundlerEntry": "index.tsx",
|
||||
"license": "MIT",
|
||||
|
||||
@@ -3,6 +3,10 @@
|
||||
"name": "flipper-plugin-kaios-graphs",
|
||||
"id": "kaios-graphs",
|
||||
"version": "0.0.0",
|
||||
"pluginType": "device",
|
||||
"supportedDevices": [
|
||||
{"os": "Android", "specs": ["KaiOS"]}
|
||||
],
|
||||
"main": "dist/bundle.js",
|
||||
"flipperBundlerEntry": "index.tsx",
|
||||
"license": "MIT",
|
||||
|
||||
@@ -2,6 +2,12 @@
|
||||
"$schema": "https://fbflipper.com/schemas/plugin-package/v2.json",
|
||||
"name": "flipper-plugin-device-logs",
|
||||
"id": "DeviceLogs",
|
||||
"pluginType": "device",
|
||||
"supportedDevices": [
|
||||
{"os": "Android"},
|
||||
{"os": "iOS", "type": "emulator"},
|
||||
{"os": "Metro"}
|
||||
],
|
||||
"version": "0.0.0",
|
||||
"main": "dist/bundle.js",
|
||||
"flipperBundlerEntry": "index.tsx",
|
||||
|
||||
@@ -3,6 +3,10 @@
|
||||
"name": "flipper-plugin-react-devtools",
|
||||
"id": "React",
|
||||
"version": "0.0.0",
|
||||
"pluginType": "device",
|
||||
"supportedDevices": [
|
||||
{"os": "Metro", "archived": false}
|
||||
],
|
||||
"main": "dist/bundle.js",
|
||||
"flipperBundlerEntry": "index.tsx",
|
||||
"license": "MIT",
|
||||
|
||||
Reference in New Issue
Block a user