Skip to content

refactor(android): collect JNI registrations from Kotlin types - #1850

Merged
mrousavy merged 1 commit into
v1from
mrousavy/v1-android-jni-types
Oct 21, 2026
Merged

mrousavy merged 1 commit into
v1from
mrousavy/v1-android-jni-types

Conversation

@mrousavy

Copy link
Copy Markdown
Member

JNI native registrations now belong to the Kotlin types that need them. Android autolinking collects typed registrations from the spec/type graph, including callbacks and view updaters. SourceFile no longer carries JNI-specific metadata.

Renames the private C++ projections to KotlinCxx*Type and removes the implementation comment from generated CommonJS getters. Generated output is included.

Validation: Nitrogen typecheck, full spec generation, and registration comparison covering all 36 existing registrations.

@vercel

vercel Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
nitro-docs Ready Ready Preview Oct 21, 2026 12:30pm UTC

Request Review

@mrousavy
mrousavy added this pull request to stack #1853 October 20, 2026 23:30
@mrousavy
mrousavy force-pushed the mrousavy/v1-android-jni-types branch from 16190bb to 4b067f2 Compare October 20, 2026 23:54
@mrousavy
mrousavy force-pushed the mrousavy/v1-android-jni-types branch from 4b067f2 to f85a09c Compare October 21, 2026 00:04
@mrousavy
mrousavy force-pushed the mrousavy/v1-android-jni-types branch from f85a09c to 6392024 Compare October 21, 2026 11:41
@mrousavy
mrousavy force-pushed the mrousavy/v1-android-jni-types branch from 6392024 to 7daf9e2 Compare October 21, 2026 12:30
@mrousavy
mrousavy removed this pull request from stack #1853 October 21, 2026 12:30
@mrousavy
mrousavy added this pull request to stack #1862 October 21, 2026 12:30
@mrousavy
mrousavy removed this pull request from stack #1862 October 21, 2026 13:32
@mrousavy
mrousavy added this pull request to stack #1893 October 21, 2026 13:36
@mrousavy
mrousavy force-pushed the mrousavy/v1-android-jni-types branch from 7daf9e2 to 658bf73 Compare October 21, 2026 15:20
@mrousavy
mrousavy removed this pull request from stack #1893 October 21, 2026 15:20
@mrousavy
mrousavy added this pull request to stack #1913 October 21, 2026 15:21
@mrousavy
mrousavy merged commit 1c5123a into v1 Oct 21, 2026
1 of 19 checks passed

This branch was successfully deployed

1 active deployment
Preview — 658bf738 Deployed Oct 21, 2026 by vercel[bot]
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