diff --git a/RNTester/Podfile b/RNTester/Podfile index 4d71a97ff5eb4d..fd5da5de6f05c5 100644 --- a/RNTester/Podfile +++ b/RNTester/Podfile @@ -14,6 +14,7 @@ def flipper_pods() pod 'FlipperKit/FlipperKitLayoutPlugin', '~>' + flipperkit_version, :configuration => 'Debug' pod 'FlipperKit/SKIOSNetworkPlugin', '~>' + flipperkit_version, :configuration => 'Debug' pod 'FlipperKit/FlipperKitUserDefaultsPlugin', '~>' + flipperkit_version, :configuration => 'Debug' + pod 'FlipperKit/FlipperKitReactPlugin' '~>' + flipperkit_version, :configuration => 'Debug' end # Post Install processing for Flipper diff --git a/RNTester/RNTester/AppDelegate.mm b/RNTester/RNTester/AppDelegate.mm index 73d1b51ba4d4d4..ea415468b55bd8 100644 --- a/RNTester/RNTester/AppDelegate.mm +++ b/RNTester/RNTester/AppDelegate.mm @@ -35,6 +35,7 @@ #import #import #import +#import #import #endif #endif @@ -200,8 +201,8 @@ + (void) initializeFlipper:(UIApplication *)application FlipperClient *client = [FlipperClient sharedClient]; SKDescriptorMapper *layoutDescriptorMapper = [[SKDescriptorMapper alloc] initWithDefaults]; [client addPlugin: [[FlipperKitLayoutPlugin alloc] initWithRootNode: application withDescriptorMapper: layoutDescriptorMapper]]; - [client addPlugin:[[FKUserDefaultsPlugin alloc] initWithSuiteName:nil]]; - [client start]; + [client addPlugin: [[FKUserDefaultsPlugin alloc] initWithSuiteName:nil]]; + [client addPlugin: [FlipperKitReactPlugin new]]; [client addPlugin: [[FlipperKitNetworkPlugin alloc] initWithNetworkAdapter:[SKIOSNetworkAdapter new]]]; [client start]; #endif