mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
a9bac177e5
Summary: This diff introduces a new "Open Debugger" menu item for VMs that support on device debugging and for opening the React DevTools in Flipper. Provided so that we don't drift too far from the Android code. Changelog: [Internal] Reviewed By: RSNara Differential Revision: D20784270 fbshipit-source-id: 6bb16431d25a6c093a583e2e041b8cffa6765ddd
24 lines
614 B
Objective-C
24 lines
614 B
Objective-C
/*
|
|
* 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.
|
|
*/
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#import <React/RCTDefines.h>
|
|
#import <React/RCTInspectorPackagerConnection.h>
|
|
|
|
#if RCT_DEV
|
|
|
|
@interface RCTInspectorDevServerHelper : NSObject
|
|
|
|
+ (RCTInspectorPackagerConnection *)connectWithBundleURL:(NSURL *)bundleURL;
|
|
+ (void)disableDebugger;
|
|
+ (void)openURL:(NSString *)url withBundleURL:(NSURL *)bundleURL withErrorMessage:(NSString *)errorMessage;
|
|
@end
|
|
|
|
#endif
|