mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
add fields to launch_debugger_frontend
Summary: Changelog: [Internal] Reviewed By: robhogan Differential Revision: D56610268 fbshipit-source-id: 37abee41dd068f3cafa19466b914545f6460a3f0
This commit is contained in:
committed by
Facebook GitHub Bot
parent
eb01a8f0c5
commit
820d1e1ff4
@@ -153,6 +153,8 @@ export default function openDebuggerMiddleware({
|
||||
status: 'success',
|
||||
appId: appId ?? null,
|
||||
deviceId: device ?? null,
|
||||
resolvedTargetDescription: target.description,
|
||||
prefersFuseboxFrontend: useFuseboxEntryPoint ?? false,
|
||||
});
|
||||
return;
|
||||
} catch (e) {
|
||||
|
||||
@@ -36,7 +36,12 @@ export type ReportableEvent =
|
||||
type: 'launch_debugger_frontend',
|
||||
launchType: 'launch' | 'redirect',
|
||||
...
|
||||
| SuccessResult<{appId: string | null, deviceId: string | null}>
|
||||
| SuccessResult<{
|
||||
appId: string | null,
|
||||
deviceId: string | null,
|
||||
resolvedTargetDescription: string,
|
||||
prefersFuseboxFrontend: boolean,
|
||||
}>
|
||||
| ErrorResult<mixed>
|
||||
| CodedErrorResult<'NO_APPS_FOUND'>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user