@magicred-1/react-native-lxmf
v0.2.68
Published
LXMF Reticulum mesh networking for React Native + Expo
Maintainers
Readme
@magicred-1/react-native-lxmf
LXMF Reticulum mesh networking module for React Native + Expo.
Install
npm install @magicred-1/react-native-lxmfUsage
import { useLxmf, LxmfNodeMode } from '@magicred-1/react-native-lxmf';
const lxmf = useLxmf({
identityHex: 'new',
lxmfAddressHex: 'new',
mode: LxmfNodeMode.BleOnly,
});Package Contents
Published package includes:
build/JavaScript + TypeScript declarationsandroid/native Android module sources and JNI library artifactsios/native iOS Swift sourcesLxmfReactNative.podspec- Expo plugin files (
app.plugin.js,expo-module.config.json)
Build
npm run buildVerify Package
npm run pack:checkPublish
npm publishImportant Native Note
The iOS podspec currently references a Rust static library outside the package directory:
../../rust-core/target/release/liblxmf_rn.a
For public npm distribution, this static library must be bundled into the package (or built during pod install), otherwise iOS consumers will fail to link.
