sdk/runanywhere-react-native/packages/core/README.md
Core React Native SDK for RunAnywhere — public API, model lifecycle, events, and native bridge to runanywhere-commons.
npm install @runanywhere/[email protected] react-native-nitro-modules
cd ios && pod install && cd ..
For iOS microphone capture, add NSMicrophoneUsageDescription to your app's Info.plist. See the React Native SDK README for full setup.
import { RunAnywhere, SDKEnvironment } from '@runanywhere/core';
await RunAnywhere.initialize({
environment: SDKEnvironment.SDK_ENVIRONMENT_DEVELOPMENT,
});
console.log('Ready:', RunAnywhere.isInitialized);
Install backend packages (@runanywhere/llamacpp, @runanywhere/onnx, etc.) and use core APIs for models and inference. See the React Native SDK README.
Hermes: consume SDK
AsyncIterablestreams with manual[Symbol.asyncIterator]()loops, notfor await...of.
RunAnywhere License. See LICENSE.