Add FBPortForwarding source code
Summary: See FBPortForwarding/README.md for an explanation of what this is. It's required for the upcoming support for physical iOS devices. To simplify development of the JS app, We're going to bundle the pre-built PortForwardingMacApp inside the repo, and inside the electron app (static/PortForwardingMacApp.app). Adding this source so users can build it from source if they choose to. Reviewed By: danielbuechele Differential Revision: D13276022 fbshipit-source-id: 99b18e0412cf443bb4a67eb4846cc780e0014de1
This commit is contained in:
committed by
Facebook Github Bot
parent
98110bc230
commit
8d93946739
@@ -18,7 +18,7 @@
|
||||
#import "FlipperClient+Testing.h"
|
||||
|
||||
#if !TARGET_OS_SIMULATOR
|
||||
//#import "SKPortForwardingServer.h"
|
||||
//#import <FKPortForwarding/FKPortForwardingServer.h>
|
||||
#endif
|
||||
|
||||
using WrapperPlugin = facebook::flipper::FlipperCppWrapperPlugin;
|
||||
@@ -28,7 +28,7 @@ using WrapperPlugin = facebook::flipper::FlipperCppWrapperPlugin;
|
||||
folly::ScopedEventBaseThread sonarThread;
|
||||
folly::ScopedEventBaseThread connectionThread;
|
||||
#if !TARGET_OS_SIMULATOR
|
||||
// SKPortForwardingServer *_server;
|
||||
// FKPortForwardingServer *_server;
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -119,7 +119,7 @@ using WrapperPlugin = facebook::flipper::FlipperCppWrapperPlugin;
|
||||
- (void)start;
|
||||
{
|
||||
#if !TARGET_OS_SIMULATOR
|
||||
// _server = [SKPortForwardingServer new];
|
||||
// _server = [FKPortForwardingServer new];
|
||||
// [_server forwardConnectionsFromPort:8088];
|
||||
// [_server listenForMultiplexingChannelOnPort:8078];
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user