Skip to content

chore: address backlog nits and add missing test coverage#26

Open
CAMOBAP wants to merge 2 commits intomainfrom
fix/backlog-nits-and-test-coverage
Open

chore: address backlog nits and add missing test coverage#26
CAMOBAP wants to merge 2 commits intomainfrom
fix/backlog-nits-and-test-coverage

Conversation

@CAMOBAP
Copy link
Copy Markdown
Collaborator

@CAMOBAP CAMOBAP commented Apr 12, 2026

Nits:

  • Remove unused #include <iostream> and #include <memory>
  • Remove redundant -std=c++17 compile option
  • Restrict SandboxReactNativeView field visibility to internal
  • Downgrade FilteredReactPackage substitution miss log to Log.d
  • Pin ktlint to 1.8.0 instead of latest
  • Add missing trailing newlines to cxx headers
  • Add explanatory comment for cmakeListsPath: null

Tests:

  • allowedOrigins overwrite on re-registration with same origin
  • unregisterDelegate with unknown delegate is a no-op
  • findAll with non-existent origin returns empty
  • reset() releases shared_ptr references

Nits:
- Remove unused #include <iostream> and #include <memory> (N-2)
- Remove redundant -std=c++17 compile option (N-3)
- Restrict SandboxReactNativeView field visibility to internal (N-6)
- Downgrade FilteredReactPackage substitution miss log to Log.d (N-7)
- Pin ktlint to 1.8.0 instead of latest (N-8)
- Add missing trailing newlines to cxx headers (N-10)
- Add explanatory comment for cmakeListsPath: null (N-11)

Tests:
- allowedOrigins overwrite on re-registration with same origin
- unregisterDelegate with unknown delegate is a no-op
- findAll with non-existent origin returns empty
- reset() releases shared_ptr references
@CAMOBAP CAMOBAP self-assigned this Apr 12, 2026
Clear __FUSEBOX_HAS_FULL_CONSOLE_SUPPORT__ via shared JSI utility
so LogBoxData.addLog() never creates the undismissable
"Open debugger to view warnings." toast inside sandbox views.

- Add cxx/SandboxLogBox.h with disableFuseboxLogBoxToast()
- Android: clear pre-bundle in BindingsInstaller + post-bundle safety net
- iOS: clear post-bundle in buffered executor (Fusebox re-sets flag
  after didInitializeRuntime:, so pre-bundle clearing is a no-op)
- Remove LogBox from TurboModule whitelist

Closes #12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant