Wrapping an Existing App
rnx works with existing React Native apps without app code changes. Start
the app the way you already do, then connect to its dev server with
rnx open after the standalone install.
Basic usage
Start your app normally:
terminal
Then connect rnx to the running dev server:
terminal
If you omit the port, rnx open scans for likely React Native dev servers
and lets you pick one.
Checking compatibility
Before you wire a project into rnx, scan its dependencies:
terminal
The scan reports:
- +Full support: the common runtime surface works
- +Partial support: major APIs work, but some behavior is still missing
- +Auto-stub: the package resolves, but only through a basic fallback
- +Unsupported: the package still depends on native SDK behavior
Handling unsupported packages
Option 1: noop stub
For packages you do not need in the simulator:
Option 2: custom stub
For packages that need real behavior:
Option 3: inline stub
For simple key-value packages: