Skip to content

feat(react-native): name UIKit views and surface callback errors#35

Merged
DjDeveloperr merged 2 commits into
mainfrom
feat/rn-uikit-view-debug-name
May 26, 2026
Merged

feat(react-native): name UIKit views and surface callback errors#35
DjDeveloperr merged 2 commits into
mainfrom
feat/rn-uikit-view-debug-name

Conversation

@DjDeveloperr
Copy link
Copy Markdown
Collaborator

Generated by Codex.

What changed

  • Adds name / debugName support to defineUIKitView() and forwards the selected value to the shared RN host view for native debug descriptions.
  • Documents that the RN host component tag remains NativeScriptUIView while the native description can include the plugin-defined name.
  • Captures JS errors thrown from JSI-backed Objective-C block callbacks inside the libffi trampoline and rethrows them as JSI errors after the native invocation unwinds.
  • Adds regression coverage for JS errors thrown from ObjC block callbacks, plus RN fixture coverage that the UIKit host debug name is visible.

Validation

  • npm run test-rn-ffi
  • npm run test:macos
  • npm run check:ffi-boundaries
  • git diff --check
  • node --check scripts/run-tests-macos.js
  • node --check scripts/run-tests-ios.js

After this PR lands and main CI is green, I will trigger the next 9.0.0-preview.* trusted-publisher releases for all iOS engines plus @nativescript/react-native.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 26, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 3222f416-47d7-417a-a168-a1d2728b54e4

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/rn-uikit-view-debug-name

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@DjDeveloperr DjDeveloperr merged commit ae3cb13 into main May 26, 2026
2 checks passed
@DjDeveloperr DjDeveloperr deleted the feat/rn-uikit-view-debug-name branch May 26, 2026 05:20
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