mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Expose a `unstable_browserLauncher` option to `createDevMiddleware()`. This allows integrators to provide a custom implementation for opening URLs in a web browser, initially a `launchDebuggerAppWindow` method. Customising the browser launcher implementation can be useful in cases where the dev server is running remotely and not on the developer's local machine. Changelog: [Internal] Reviewed By: motiz88 Differential Revision: D48647750 fbshipit-source-id: ebf34106ad27899024396b13b22ec4536aad05b9
16 lines
477 B
JavaScript
16 lines
477 B
JavaScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @flow strict-local
|
|
* @format
|
|
* @oncall react_native
|
|
*/
|
|
|
|
export {default as createDevMiddleware} from './createDevMiddleware';
|
|
|
|
export type {BrowserLauncher, LaunchedBrowser} from './types/BrowserLauncher';
|
|
export type {EventReporter, ReportableEvent} from './types/EventReporter';
|