Add FlipperKitReactPlugin to podspec

Reviewed By: danielbuechele

Differential Revision: D7277601

fbshipit-source-id: 7a6c3dc1c94715a93f4bd34c9eb90282dcc69184
This commit is contained in:
Ram N
2019-09-06 07:27:43 -07:00
committed by Facebook Github Bot
parent b4c1d1942a
commit 4204562fee
5 changed files with 32 additions and 7 deletions

View File

@@ -12,8 +12,6 @@
#import <FlipperKit/FlipperConnection.h>
#import <FlipperKit/FlipperResponder.h>
#import "Plugins.h"
@implementation FlipperKitReactPlugin
- (NSString*)identifier {
@@ -32,9 +30,4 @@
@end
void FlipperKitReactPluginInit(FlipperClient *client)
{
[client addPlugin:[FlipperKitReactPlugin new]];
}
#endif

View File

@@ -0,0 +1,20 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/
#if FB_SONARKIT_ENABLED
#import "FlipperKitReactPlugin.h"
#import <FlipperKit/FlipperClient.h>
#import "Plugins.h"
void FlipperKitReactPluginInit(FlipperClient *client)
{
[client addPlugin:[FlipperKitReactPlugin new]];
}
#endif