Make sure sandy device plugins are rendered
Summary: Now that we can load device plugins, let's make sure they are rendered as well. Reviewed By: passy, nikoant Differential Revision: D22693927 fbshipit-source-id: 22574ec6e629e6dd66e42193b406ceb7dfcf1836
This commit is contained in:
committed by
Facebook GitHub Bot
parent
489dd1521e
commit
b621dcf754
@@ -42,6 +42,7 @@ export type DevicePluginPredicate = (device: Device) => boolean;
|
||||
|
||||
export type DevicePluginFactory = (client: DevicePluginClient) => object;
|
||||
|
||||
// TODO: better name?
|
||||
export interface DevicePluginClient {
|
||||
readonly device: Device;
|
||||
|
||||
@@ -59,6 +60,8 @@ export interface DevicePluginClient {
|
||||
* The counterpart of the `onActivate` handler.
|
||||
*/
|
||||
onDeactivate(cb: () => void): void;
|
||||
|
||||
// TODO: support onDeeplink!
|
||||
}
|
||||
|
||||
export interface RealFlipperDevice {
|
||||
|
||||
Reference in New Issue
Block a user