Skip to content

Example app: react-native-nitro-modules 0.37.1 - #30

Merged
robertherber merged 2 commits into
mainfrom
fix/example-nitro-0.37
Nov 12, 2026
Merged

robertherber merged 2 commits into
mainfrom
fix/example-nitro-0.37

Conversation

@robertherber

@robertherber robertherber commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Summary

Follow-up to #28, which regenerated the library's bindings with nitrogen 0.37.1. The example app still resolved react-native-nitro-modules 0.29.4, so its pods don't match the generated headers and build-ios fails on main with NitroModules cannot be found. This bumps the example app to ^0.37.1.

Test plan

  • build-ios green on this PR

🤖 Generated with Claude Code

Also fixes the Swift conformance error that showed up once the example app compiled against the 0.37 bindings: getActivityById is declared ActivityProxy | undefined instead of | null | undefined, since nitrogen 0.37 maps | null to a variant type.

The library's bindings are now generated with nitrogen 0.37.1 (#28), so
the example app's pods must come from the same Nitro version; with
0.29.4 the generated headers fail with "NitroModules cannot be found"
(build-ios on main).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 08aa3b4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/kingstinct/react-native-activity-kit/@kingstinct/react-native-activity-kit@30

commit: 08aa3b4

nitrogen 0.37 maps `| null` to a variant with NullType, which the Swift
implementation (-> HybridActivityProxySpec?) no longer conformed to.
Optional keeps the same JS behaviour (undefined when not found).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@robertherber
robertherber merged commit 3b7e4e4 into main Nov 12, 2026
6 checks passed
@robertherber
robertherber deleted the fix/example-nitro-0.37 branch November 12, 2026 03:31
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