Skip to content

(NOBRIDGE) ERROR TypeError: null is not an object (evaluating '_reactNative.NativeModules.DevSettings.setIsDebuggingRemotely') #811

@mohammedelnady

Description

@mohammedelnady

React Native Version: 0.76.2 (New Architecture with Hermes enabled)
Debugging Tool: react-native-devsettings (No Flipper installed)

Issue Description:
Encountered an error when attempting to enable Remote JS Debugging using react-native-devsettings. The following error is thrown:
(NOBRIDGE) ERROR TypeError: null is not an object (evaluating '_reactNative.NativeModules.DevSettings.setIsDebuggingRemotely')

Steps to Reproduce:

Use a React Native project configured with the new architecture and Hermes.
Install and integrate the react-native-devsettings package to handle remote debugging.
Attempt to enable Remote JS Debugging.
Observe the error.

Expected Behavior:
Remote JS Debugging should activate without errors.

Actual Behavior:
Remote JS Debugging fails with the above error message.

Notes:

No Flipper is installed in the project.
Feel free to ask for additional details if needed.

@jhen0409 Please review this issue and provide guidance. Thank you!

Simulator Screenshot - iPhone 16 Pro - 2024-11-19 at 15 46 20
Simulator Screenshot - iPhone 16 Pro - 2024-11-19 at 15 46 23

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions