Skip to content

Feat/android additional support#21

Merged
CAMOBAP merged 3 commits intofeat/androidfrom
feat/android-additional-support
Mar 7, 2026
Merged

Feat/android additional support#21
CAMOBAP merged 3 commits intofeat/androidfrom
feat/android-additional-support

Conversation

@devinpatell
Copy link
Collaborator

  • Move shared C++ sources to cxx/ directory — platform-agnostic code (ISandboxDelegate, SandboxRegistry, SandboxDelegateWrapper, StubTurboModuleCxx)
    moved from ios/ to shared cxx/
  • Use rnsandbox namespace — shared C++ classes moved from facebook::react to rnsandbox namespace, all consumers fully qualified
  • Shared JS runtime for same-origin sandboxes (Android only) — multiple sandbox views with the same origin share a single ReactHostImpl with ref counting, C++ registry for cross-sandbox messaging

Copy link
Collaborator

@CAMOBAP CAMOBAP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Minor things

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor: should be dropped, please use bun

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fill fix it after merge

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines +5 to +6
#ifdef __APPLE__
#ifdef __OBJC__
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#ifdef __APPLE__
#ifdef __OBJC__
#if defined(__APPLE__) && defined(__OBJC__)

And we can avoid double definition of fallback to fprintf

@CAMOBAP CAMOBAP self-requested a review March 7, 2026 14:05
Copy link
Collaborator

@CAMOBAP CAMOBAP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to go

@CAMOBAP CAMOBAP merged commit 47392e6 into feat/android Mar 7, 2026
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.

2 participants