Repository: react-native
Issue: RCTNotAllowedValidationDisabled not working
Labels: Needs: Author Feedback,Needs: Repro

### Description

I can't seem to turn off the error:

` (NOBRIDGE) ERROR  Error: Tried to access NativeModule "RNFBAppModule" from the bridge. This isn't allowed in Bridgeless mode.`

### Steps to reproduce

1. Using React Native in Bridgeless mode.
2. Call any function that triggers the use of RNFBAppModule (or a similar module).
3. Observe the error.

### React Native Version

0.76.5

### Affected Platforms

Runtime - iOS

### Output of `npx react-native info`

```text
System:
  OS: macOS 14.4
  CPU: (11) arm64 Apple M3 Pro
  Memory: 384.55 MB / 18.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 23.4.0
    path: /opt/homebrew/bin/node
  Yarn:
    version: 1.22.22
    path: ~/Documents/***/node_modules/.bin/yarn
  npm:
    version: 10.9.2
    path: /opt/homebrew/bin/npm
  Watchman:
    version: 2024.12.02.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.15.2
    path: /Users/Gideon/.rbenv/shims/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.5
      - iOS 17.5
      - macOS 14.5
      - tvOS 17.5
      - visionOS 1.2
      - watchOS 10.5
  Android SDK: Not Found
IDEs:
  Android Studio: 2024.2 AI-242.23339.11.2421.12700392
  Xcode:
    version: 15.4/15F31d
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: javac 23
    path: /usr/bin/javac
  Ruby:
    version: 3.1.2
    path: /Users/Gideon/.rbenv/shims/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 15.0.1
    wanted: 15.0.1
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.76.5
    wanted: 0.76.5
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: false
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: true
```


### Stacktrace or Logs

```text
11.5.0 - [FirebaseMessaging][I-FCM001000] FIRMessaging Remote Notifications proxy enabled, will swizzle remote notification receiver handlers. If you'd prefer to manually integrate Firebase Messaging, add "FirebaseAppDelegateProxyEnabled" to your Info.plist, and set it to NO. Follow the instructions at:
https://firebase.google.com/docs/cloud-messaging/ios/client#method_swizzling_in_firebase_messaging
to ensure proper integration.
11.5.0 - [FirebaseAnalytics][I-ACS023007] Analytics v.11.5.0 started
11.5.0 - [FirebaseAnalytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
11.5.0 - [FirebaseAnalytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
11.5.0 - [FirebaseAnalytics][I-ACS023012] Analytics collection enabled
11.5.0 - [FirebaseAnalytics][I-ACS023220] Analytics screen reporting is enabled. Call Analytics.logEvent(AnalyticsEventScreenView, parameters: [...]) to log a screen view event. To disable automatic screen reporting, set the flag FirebaseAutomaticScreenReportingEnabled to NO (boolean) in the Info.plist
nw_socket_handle_socket_event [C5.1.1:1] Socket SO_ERROR 61
nw_socket_handle_socket_event [C5.1.2:1] Socket SO_ERROR 61
nw_connection_get_connected_socket_block_invoke [C5] Client called nw_connection_get_connected_socket on unconnected nw_connection
TCP Conn 0x60000339a8a0 Failed : error 0:61 [61]
Bridgeless mode is enabled
'Hermes enabled::', true
Error: Tried to access NativeModule "RNFBAppModule" from the bridge. This isn't allowed in Bridgeless mode.
Unbalanced calls start/end for tag 20
Unbalanced calls start/end for tag 19
Unable to find module for RNCPHAssetUploader
WARNING: Logging before InitGoogleLogging() is written to STDERR
I1228 09:13:53.964581 1841737728 UIManagerBinding.cpp:164] instanceHandle is null, event of type topMomentumScrollEnd will be dropped
W1228 09:14:03.851895 123339328 Scheduler.cpp:158] Scheduler::~Scheduler() was called (address: 0x600003704d80).
W1228 09:14:03.879995 1841737728 UIManagerBinding.cpp:61] UIManagerBinding::~UIManagerBinding() was called (address: 0x600003b001d8).
W1228 09:14:03.880321 1841737728 UIManager.cpp:64] UIManager::~UIManager() was called (address: 0x109c0fed8).
nw_socket_handle_socket_event [C10.1.1:1] Socket SO_ERROR 61
nw_socket_handle_socket_event [C10.1.2:1] Socket SO_ERROR 61
nw_connection_get_connected_socket_block_invoke [C10] Client called nw_connection_get_connected_socket on unconnected nw_connection
TCP Conn 0x60000340cbe0 Failed : error 0:61 [61]
Bridgeless mode is enabled
'Hermes enabled::', true
Error: Tried to access NativeModule "RNFBAppModule" from the bridge. This isn't allowed in Bridgeless mode.
```


### Reproducer

https://github.com/GideonAgboba

### Screenshots and Videos

<img width="905" alt="Screenshot 2024-12-28 at 09 21 12" src="https://github.com/user-attachments/assets/c28ff992-6a4d-4c85-b0fe-0cedef25dba5" />