Skip to content

Commit 10e0a80

Browse files
authored
docs: fix README.md and documentation about resource fetchers (#896)
## Description Fix documentation about resource fetchers. ### Introduces a breaking change? - [ ] Yes - [x] No ### Type of change - [ ] Bug fix (change which fixes an issue) - [ ] New feature (change which adds functionality) - [x] Documentation update (improves or adds clarity to existing documentation) - [ ] Other (chores, tests, code style improvements etc.) ### Tested on - [ ] iOS - [ ] Android ### Testing instructions <!-- Provide step-by-step instructions on how to test your changes. Include setup details if necessary. --> ### Screenshots <!-- Add screenshots here, if applicable --> ### Related issues <!-- Link related issues here using #issue-number --> ### Checklist - [ ] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [x] I have updated the documentation accordingly - [ ] My changes generate no new warnings ### Additional notes <!-- Include any additional information, assumptions, or context that reviewers might need to understand this PR. -->
1 parent 62ac55d commit 10e0a80

7 files changed

Lines changed: 14 additions & 14 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@ React Native ExecuTorch is powering [Private Mind](https://privatemind.swmansion
7878
yarn add react-native-executorch
7979

8080
# If you use expo, please add these packages for resource fetching:
81-
yarn add @react-native-executorch/expo-adapter
81+
yarn add @react-native-executorch/expo-resource-fetcher
8282
yarn add expo-file-system expo-asset
8383

8484
#if you use bare React Native project use these packages:
85-
yarn add @react-native-executorch/bare-adapter
85+
yarn add @react-native-executorch/bare-resource-fetcher
8686
yarn add @dr.pogodin/react-native-fs @kesha-antonov/react-native-background-downloader
8787

8888
# Depending on the platform, choose either iOS or Android

docs/docs/01-fundamentals/02-loading-models.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ In our library, you can use two different resource fetching mechanisms. One is i
1111
To use the Expo adapter, please add these libraries:
1212

1313
```bash
14-
yarn add @react-native-executorch/expo-adapter
14+
yarn add @react-native-executorch/expo-resource-fetcher
1515
yarn add expo-file-system expo-asset
1616
```
1717

@@ -29,7 +29,7 @@ initExecutorch({
2929
If you cannot use Expo in your project, proceed with the following steps:
3030

3131
```bash
32-
yarn add @react-native-executorch/bare-adapter
32+
yarn add @react-native-executorch/bare-resource-fetcher
3333
yarn add @dr.pogodin/react-native-fs @kesha-antonov/react-native-background-downloader
3434
```
3535

readmes/README_cn.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ React Native ExecuTorch 为 [Private Mind](https://privatemind.swmansion.com/)
7777
yarn add react-native-executorch
7878

7979
# 如果您使用 expo,请添加这些包用于资源获取:
80-
yarn add @react-native-executorch/expo-adapter
80+
yarn add @react-native-executorch/expo-resource-fetcher
8181
yarn add expo-file-system expo-asset
8282

8383
# 如果您使用原生 React Native 项目,请使用这些包:
84-
yarn add @react-native-executorch/bare-adapter
84+
yarn add @react-native-executorch/bare-resource-fetcher
8585
yarn add @dr.pogodin/react-native-fs @kesha-antonov/react-native-background-downloader
8686

8787
# 根据平台,选择 iOS 或 Android

readmes/README_es.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ React Native ExecuTorch impulsa [Private Mind](https://privatemind.swmansion.com
7777
yarn add react-native-executorch
7878

7979
# Si usa expo, agregue estos paquetes para la obtención de recursos:
80-
yarn add @react-native-executorch/expo-adapter
80+
yarn add @react-native-executorch/expo-resource-fetcher
8181
yarn add expo-file-system expo-asset
8282

8383
# Si usa un proyecto básico de React Native, use estos paquetes:
84-
yarn add @react-native-executorch/bare-adapter
84+
yarn add @react-native-executorch/bare-resource-fetcher
8585
yarn add @dr.pogodin/react-native-fs @kesha-antonov/react-native-background-downloader
8686

8787
# Dependiendo de la plataforma, elige iOS o Android

readmes/README_fr.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ React Native ExecuTorch alimente [Private Mind](https://privatemind.swmansion.co
7777
yarn add react-native-executorch
7878

7979
# Si vous utilisez expo, veuillez ajouter ces packages pour la récupération de ressources :
80-
yarn add @react-native-executorch/expo-adapter
80+
yarn add @react-native-executorch/expo-resource-fetcher
8181
yarn add expo-file-system expo-asset
8282

8383
# Si vous utilisez un projet React Native brut, utilisez ces packages :
84-
yarn add @react-native-executorch/bare-adapter
84+
yarn add @react-native-executorch/bare-resource-fetcher
8585
yarn add @dr.pogodin/react-native-fs @kesha-antonov/react-native-background-downloader
8686

8787
# Selon la plateforme, choisissez soit iOS soit Android

readmes/README_in.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ React Native ExecuTorch को [Private Mind](https://privatemind.swmansion.com/
7777
yarn add react-native-executorch
7878

7979
# यदि आप expo का उपयोग करते हैं, तो कृपया संसाधन प्राप्त करने के लिए ये पैकेज जोड़ें:
80-
yarn add @react-native-executorch/expo-adapter
80+
yarn add @react-native-executorch/expo-resource-fetcher
8181
yarn add expo-file-system expo-asset
8282

8383
# यदि आप bare React Native प्रोजेक्ट का उपयोग करते हैं तो इन पैकेजों का उपयोग करें:
84-
yarn add @react-native-executorch/bare-adapter
84+
yarn add @react-native-executorch/bare-resource-fetcher
8585
yarn add @dr.pogodin/react-native-fs @kesha-antonov/react-native-background-downloader
8686

8787
# प्लेटफॉर्म के अनुसार, या तो iOS या Android चुनें

readmes/README_pt.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@ React Native ExecuTorch está impulsionando o [Private Mind](https://privatemind
7878
yarn add react-native-executorch
7979

8080
# Se você usa expo, adicione estes pacotes para busca de recursos:
81-
yarn add @react-native-executorch/expo-adapter
81+
yarn add @react-native-executorch/expo-resource-fetcher
8282
yarn add expo-file-system expo-asset
8383

8484
# Se você usa projeto React Native básico, use estes pacotes:
85-
yarn add @react-native-executorch/bare-adapter
85+
yarn add @react-native-executorch/bare-resource-fetcher
8686
yarn add @dr.pogodin/react-native-fs @kesha-antonov/react-native-background-downloader
8787

8888
# Dependendo da plataforma, escolha iOS ou Android

0 commit comments

Comments
 (0)