react-native-executorch-bare-resource-fetcher
v0.9.1
Published
Bare React Native resource fetcher for react-native-executorch
Readme
react-native-executorch-bare-resource-fetcher
Bare React Native adapter for react-native-executorch that provides resource fetching capabilities using native filesystem libraries.
Installation
yarn add react-native-executorch-bare-resource-fetcher
yarn add @dr.pogodin/react-native-fs @kesha-antonov/react-native-background-downloaderNative Dependencies Setup
After installing, follow the setup guides for the native dependencies:
- @dr.pogodin/react-native-fs - Filesystem operations
- @kesha-antonov/react-native-background-downloader - Background download support
Note: Make sure to complete the native setup (iOS/Android configuration) for both dependencies before using this adapter.
Usage
import { initExecutorch } from 'react-native-executorch';
import { BareResourceFetcher } from 'react-native-executorch-bare-resource-fetcher';
initExecutorch({
resourceFetcher: BareResourceFetcher,
});When to Use
Use this adapter if you're working with:
- Bare React Native projects (created with
npx @react-native-community/cli@latest init) - Projects that need true background downloads
- Projects requiring direct native filesystem access
