Socket
Book a DemoInstallSign in
Socket

react-native-sia

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-sia

The Sia SDK for React Native.

latest
Source
npmnpm
Version
0.13.3
Version published
Maintainers
1
Created
Source

react-native-sia

The Sia SDK for React Native.

Installation

npm install react-native-sia

Usage

import { getHostSettings } from 'react-native-sia';

// ...

const result = await getHostSettings('127.0.0.1', 9980);

Build scripts

  • yarn ubrn:ios

    • Uses UBRN to:
      • Build the Rust crate for iOS and iOS Simulator (via Cargo).
      • Create the XCFramework from the static libraries.
      • Generate UniFFI bindings (TypeScript + C++ glue) and the TurboModule.
      • Run pod install in the example app so Xcode picks up the framework and module.
    • Note: because of Rust 2024 edition dependencies, this runs with nightly toolchain.
  • yarn prepare (react-native-builder-bob)

    • Builds the JavaScript/TypeScript distribution for publishing:
      • Transpiles src/ to lib/module (ES/CJS).
      • Emits type declarations to lib/typescript.

Keywords

sia

FAQs

Package last updated on 05 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts