SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

Derive iOS inspector URL scheme from bundle URL for HTTPS support (#55871)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55871

## Summary:

Use the bundle URL's scheme (http or https) when constructing inspector device
URLs and open-debugger URLs in `RCTInspectorDevServerHelper`, instead of
hardcoding `http://`. This allows the inspector and debugger to work correctly
when the dev server is accessed over HTTPS.

## Changelog:

[IOS][CHANGED] - Derive inspector and debugger URL scheme from bundle URL to support HTTPS dev servers

## Test Plan:

Verified that `getInspectorDeviceUrl` and `openDebugger` now use the bundle
URL's scheme, falling back to `http` when no scheme is available.

## Facebook:
Applied from nest/mobile/apps/atod-sample/patches/react-native+0.83.1+007+atod-ios-inspector-https.patch

Reviewed By: cortinico

Differential Revision: D95037969

fbshipit-source-id: 0e6729c2b91827655f4093dec890ad086e42facf
R
Riccardo Cipolleschi committed
36dfcef023549ac2795fbd42467594f056f2630a
Parent: 0c7d780
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com> on 3/4/2026, 2:20:07 PM