Add isMethodSupported handler

Summary: Allows plugin to check if something is supported by that app, for example an extension command or a new feature, before trying to use it.

Reviewed By: passy

Differential Revision: D14225957

fbshipit-source-id: 3c5a29a06b56fe5f1da772824232547447872344
This commit is contained in:
John Knox
2019-02-26 10:00:57 -08:00
committed by Facebook Github Bot
parent dbb4fa1191
commit 40ada838d7
3 changed files with 24 additions and 1 deletions

View File

@@ -34,7 +34,7 @@ static constexpr int maxPayloadSize = 0xFFFFFF;
// Not a public-facing version number.
// Used for compatibility checking with desktop flipper.
// To be bumped for every core platform interface change.
static constexpr int sdkVersion = 1;
static constexpr int sdkVersion = 2;
namespace facebook {
namespace flipper {