<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in proxy.ts</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>70e5585a - [cli][inspector-proxy] fix devtools websocket connection on windows (#23367)</title>
        <link>http://172.16.0.5:8080/history/expo/packages/@expo/cli/src/start/server/metro/inspector-proxy/proxy.ts#70e5585a</link>
        <description>[cli][inspector-proxy] fix devtools websocket connection on windows (#23367)# Whyfixes #23332close ENG-9233# Howwindows does not support `0.0.0.0` or `[::]` as loopback address. in these case, we should fallback to `localhost` or `[::1]`.# Test Plantest devtools on windows

            List of files:
            /expo/packages/@expo/cli/src/start/server/metro/inspector-proxy/proxy.ts</description>
        <pubDate>Fri, 07 Jul 2023 15:10:44 +0000</pubDate>
        <dc:creator>Kudo Chien &lt;kudo@expo.dev&gt;</dc:creator>
    </item>
<item>
        <title>033ea1fc - refactor(cli): disable inspector proxy inline source maps for vscode only (#23258)</title>
        <link>http://172.16.0.5:8080/history/expo/packages/@expo/cli/src/start/server/metro/inspector-proxy/proxy.ts#033ea1fc</link>
        <description>refactor(cli): disable inspector proxy inline source maps for vscode only (#23258)# WhyWith SDK 49, I noticed a multi-second delay in breakpoints gettingbound. This is likely due to [Metro inlining sourcemaps as base64strings](https://github.com/facebook/metro/commit/6690b393cc1812af02f8eb20853504f0a6188a83)for tools like the chrome debugger. In practice, it generates a hugebase64 string that causes this delay when decoding in vscode.# How- Added `debuggerType` to connect to the inspector proxy as a certaindebugger type (e.g. `vscode` or `generic` &lt;- default)- Added override for `Debugger.scriptParsed` to disable inlinesourcemaps for vscode only.# Test Plan~~TBD, since this also requires an update in vscode-expo (add the`type=vscode` as query param when connecting to the inspector proxy).~~This is now included in `vscode-expo-tools@1.0.6`# Checklist&lt;!--Please check the appropriate items below if they apply to your diff.This is required for changes to Expo modules.--&gt;- [ ] Documentation is up to date to reflect these changes (eg:https://docs.expo.dev and README.md).- [ ] Conforms with the [Documentation Writing StyleGuide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)- [ ] This diff will work correctly for `npx expo prebuild` &amp; EAS Build(eg: updated a module plugin).---------Co-authored-by: Expo Bot &lt;34669131+expo-bot@users.noreply.github.com&gt;

            List of files:
            /expo/packages/@expo/cli/src/start/server/metro/inspector-proxy/proxy.ts</description>
        <pubDate>Tue, 04 Jul 2023 08:01:18 +0000</pubDate>
        <dc:creator>Cedric van Putten &lt;me@bycedric.com&gt;</dc:creator>
    </item>
<item>
        <title>f5fa30f6 - feature(cli): allow client-side device ids to reuse debugger sessions when restarting app (#22742)</title>
        <link>http://172.16.0.5:8080/history/expo/packages/@expo/cli/src/start/server/metro/inspector-proxy/proxy.ts#f5fa30f6</link>
        <description>feature(cli): allow client-side device ids to reuse debugger sessions when restarting app (#22742)# WhyAfter using the debugger for some time, I noticed a really annoyingbehavior when the app crashes or is restarted manually. Seehttps://github.com/facebook/metro/issues/985 for more info.# HowThis adds support for client-side unique device identifiers, such as&quot;installation ids&quot; or &quot;device ids&quot;. Similarly to future support withinMetro: https://github.com/facebook/metro/pull/991# Test PlanSee updated tests, and the test plan athttps://github.com/facebook/metro/pull/991&gt; - Create a new project, and enable building from source on bothAndroid &amp; iOS&gt; - **android**: edit [thisfile](https://github.com/facebook/react-native/blob/main/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/DevServerHelper.java#L282-L289)in `node_modules/react-native` and add a hardcoded`&amp;device=testingandroid` query param.&gt; - **ios**: edit [thisfile](https://github.com/facebook/react-native/blob/main/packages/react-native/React/DevSupport/RCTInspectorDevServerHelper.mm#L43-L53)in `node_modules/react-naive` and add a hardcoded `&amp;device=testingios`query param.&gt; - Connect the debugger to the running app&gt; - Force close the app, which should cause a &quot;reconnect&quot; warning in thedebugger&gt; - Open the app again, and press &quot;reconnect&quot; in the debugger&gt; - _Due to the stable identifiers, the URL won&apos;t change and the abovescenario should work fine_# Checklist&lt;!--Please check the appropriate items below if they apply to your diff.This is required for changes to Expo modules.--&gt;- [ ] Documentation is up to date to reflect these changes (eg:https://docs.expo.dev and README.md).- [ ] Conforms with the [Documentation Writing StyleGuide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)- [ ] This diff will work correctly for `npx expo prebuild` &amp; EAS Build(eg: updated a module plugin).

            List of files:
            /expo/packages/@expo/cli/src/start/server/metro/inspector-proxy/proxy.ts</description>
        <pubDate>Fri, 16 Jun 2023 12:21:19 +0000</pubDate>
        <dc:creator>Cedric van Putten &lt;me@bycedric.com&gt;</dc:creator>
    </item>
<item>
        <title>5234fe38 - feature(cli): add custom inspector proxy based on `metro-inspector-proxy` (#21449)</title>
        <link>http://172.16.0.5:8080/history/expo/packages/@expo/cli/src/start/server/metro/inspector-proxy/proxy.ts#5234fe38</link>
        <description>feature(cli): add custom inspector proxy based on `metro-inspector-proxy` (#21449)# WhyFixes ENG-7467Related #21265This is an initial draft to extend the CDP functionality of`metro-inspector-proxy`.# HowThe implementation is slightly wonky around the `ExpoInspectorDevice`.We want to reuse as much as possible from `metro-inspector-proxy`, butwe need to add stateful data per device.In order to achieve that, we generate a new class type, based on theuser&apos;s installed `metro-inspector-proxy`. This makes everything lessreadable but should include future updates in these classes.As for the `ExpoInspectorProxy`, to avoid having to do the same thing,we just wrap the whole inspector class and reuse what we can. The devicemap is &quot;linked&quot; within the original inspector proxy instance, making thedata available to all methods that need it.# Test PlanEnable this feature with `EXPO_USE_CUSTOM_INSPECTOR_PROXY=1`- [x] See tests for the actual CDP events we handle.- [ ] See tests on the &quot;bootstrapping code&quot; to create the inspector anddevices.# Checklist&lt;!--Please check the appropriate items below if they apply to your diff.This is required for changes to Expo modules.--&gt;- [ ] Documentation is up to date to reflect these changes (eg:https://docs.expo.dev and README.md).- [ ] Conforms with the [Documentation Writing StyleGuide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)- [ ] This diff will work correctly for `expo prebuild` &amp; EAS Build (eg:updated a module plugin).---------Co-authored-by: Evan Bacon &lt;bacon@expo.io&gt;

            List of files:
            /expo/packages/@expo/cli/src/start/server/metro/inspector-proxy/proxy.ts</description>
        <pubDate>Wed, 08 Mar 2023 17:16:56 +0000</pubDate>
        <dc:creator>Cedric van Putten &lt;me@bycedric.com&gt;</dc:creator>
    </item>
</channel>
</rss>
