Use Google's Prefab standard as format for Android prebuilds

Open
#324 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
android, react-native, typescript

Research direction

Start with the Android prebuild format described in docs/PREBUILDS.md and review discussion #319 for the proposal's context. Read Google's Prefab standard to understand how headers, dependencies, and STL ABI information are represented. Done means Android prebuilds are distributed using the Prefab format rather than architecture-specific jni-libs-like directories.

Written by the indexing model from the issue text.

Description

Android 🤖
Discussed in https://github.com/callstackincubator/react-native-node-api/discussions/319

Originally posted by kraenhansen November 5, 2025
We're currently expecting Android prebuilds to be distributed as "jni-libs like" directories of architecture specific directories.

This has a few drawbacks:

  • It doesn't provide an obvious way to distribute headers alongside the shared object files.
  • It provides no way to distribute information on dependencies and STL ABI expected by the library.

These shortcomings are all address by Google's Prefab standard and I suggest we adopt this for React-Native Node-API prebuilds for Android.

Dominant language
TypeScript
Stars
206
Forks
12
Avg merge
4h 8m
Merged PRs (30d)
2

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from callstackincubator/react-native-node-api

All issues in callstackincubator/react-native-node-api

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.