Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
aa79d3b
Migrate yarn to npm
jchen351 Sep 17, 2024
53b3874
npm --prefix e2e install
jchen351 Sep 17, 2024
0b321d6
Update package.json
jchen351 Sep 17, 2024
116f431
Update update_version.py
jchen351 Sep 18, 2024
ce0c841
Update boostrap.js
jchen351 Sep 18, 2024
374d6ae
Update react-native-ci.yml
jchen351 Sep 18, 2024
e3a593b
Adding "e2e:start": "npm --prefix e2e run start"
jchen351 Sep 18, 2024
7a66218
use_react_native!(:path => '../node_modules/react-native')
jchen351 Sep 18, 2024
0a849ad
Trying to update to ios 15.0
jchen351 Sep 18, 2024
52a1723
Trying to update to ios 15.0
jchen351 Sep 18, 2024
108e35f
Adding debug info
jchen351 Sep 18, 2024
ed99966
Rearrange npm install
jchen351 Sep 18, 2024
b27a5f9
Remove reference to react.grale
jchen351 Sep 19, 2024
18d642b
Update react-native-ci.yml
jchen351 Sep 23, 2024
ad2c666
Update gradle settings
jchen351 Sep 24, 2024
4c3fcb9
Update react-native-ci.yml
jchen351 Sep 24, 2024
1d28223
update setting.gradle
jchen351 Sep 24, 2024
50981a1
Update gradle version to 8.10.2
jchen351 Sep 24, 2024
54cce11
update setting.gradle
jchen351 Sep 24, 2024
a7b1370
Update gradle-wrapper.properties in java project.
jchen351 Sep 24, 2024
6c28b62
update ndk version
jchen351 Sep 24, 2024
2d09024
com.android.tools.build:gradle:8.6.0
jchen351 Sep 24, 2024
70308f4
com.android.tools.build:gradle:8.6.1
jchen351 Sep 24, 2024
82ab4ee
com.android.tools.build:gradle:8.6.1
jchen351 Sep 24, 2024
876eb4a
com.android.tools.build:gradle:8.6.1
jchen351 Sep 24, 2024
7fb3dcf
update gradle to 8.7
jchen351 Sep 24, 2024
9b60ae7
com.android.tools.build:gradle:8.6.1
jchen351 Sep 24, 2024
aa613aa
com.android.tools.build:gradle:8.6.1
jchen351 Sep 25, 2024
a934b3f
Adding react-native-fs as dependency
jchen351 Sep 25, 2024
f6682c0
Merge branch 'Cjian/gradle' into Cjian/yarn2npm
jchen351 Sep 25, 2024
c5baa3b
Use JDK 17 for andriod-java-api-aar.yml
jchen351 Sep 25, 2024
45b08f6
Merge branch 'Cjian/gradle' into Cjian/yarn2npm
jchen351 Sep 25, 2024
963f379
Use JDK 17 for android-binary-size-check-stage.yml
jchen351 Sep 25, 2024
441cbc8
Merge branch 'Cjian/gradle' into Cjian/yarn2npm
jchen351 Sep 25, 2024
990cfe4
Downgradle AGP to 7.4.2
jchen351 Sep 25, 2024
cd18332
downgrade com.android.tools.build:gradle:8.6.1 to 7.4.2
jchen351 Sep 25, 2024
5aeccdd
Merge branch 'main' into Cjian/yarn2npm
jchen351 Mar 3, 2025
26e379c
Revert gradle to main
jchen351 Mar 3, 2025
3e1de2c
Revert gtools/ci_build/github/azure-pipelines/templates/android-binar…
jchen351 Mar 3, 2025
b4a2055
revert js/react_native/android/src/main/AndroidManifest.xml
jchen351 Mar 3, 2025
95ae2fa
jobs:
jchen351 Mar 4, 2025
c418cd2
Remove package-lock.json
jchen351 Mar 4, 2025
2181a61
Adding back package-lock.json
jchen351 Mar 4, 2025
9bf6260
Update bootstrap.js and update_version.py
jchen351 Mar 4, 2025
5489896
Update package.json
jchen351 Mar 4, 2025
c36a0bc
Merge branch 'main' into Cjian/yarn2npm
jchen351 Mar 6, 2025
8960583
Update js/README.md
jchen351 Mar 10, 2025
63ea9c2
Update tools/python/update_version.py
jchen351 Mar 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ From ORT v1.19 onwards, the ONNX Runtime Mobile packages are no longer published
From `<ORT_ROOT>/js/react_native,

```sh
yarn bootstrap
npm run bootstrap
```

When testing with a custom built ONNX Runtime Android package, copy `<BUILD_DIRECTORY>/aar_out/MinSizeRel/com/microsoft/onnxruntime/onnxruntime-android/<version>/onnxruntime-android-<version>.aar` into the `<ORT_ROOT>/js/react_native/e2e/android/app/libs` directory.
Expand All @@ -377,7 +377,7 @@ From ORT v1.19 onwards, the ONNX Runtime Mobile packages are no longer published
Install detox command line tools:

```
yarn global add detox-cli
npm install -g detox-cli
```

Install applesimutils which is required by Detox to work with iOS simulators. (Requires a MacOS device)
Expand Down Expand Up @@ -439,13 +439,13 @@ From ORT v1.19 onwards, the ONNX Runtime Mobile packages are no longer published
To record logs for testing results, add `--record-logs`. Output logs and test results will be produced in the `e2e/artifacts/` folder.
See: [Detox/logger#artifacts](https://wix.github.io/Detox/docs/api/logger#artifacts)

**_`yarn bootstrap` changes `packages.json` and `yarn.lock` files. Once testing is done, restore changes to avoid unwanted commit._**
**_`npm run bootstrap` changes `packages.json` and `package-lock.json` files. Once testing is done, restore changes to avoid unwanted commit._**

5. Run Android and iOS apps.

```sh
yarn e2e android
yarn e2e ios
npm run e2e:android
npm run e2e:ios
```

### NPM Packaging
Expand All @@ -460,4 +460,4 @@ From ORT v1.19 onwards, the ONNX Runtime Mobile packages are no longer published

### Distribution

It should be able to consumed by React Native projects that uses Yarn packages through `yarn add onnxruntime-react-native`.
It should be able to consumed by React Native projects that uses npm packages through `npm install onnxruntime-react-native`.
2 changes: 1 addition & 1 deletion js/react_native/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ With ONNX Runtime React Native, React Native developers can score pre-trained ON
### Installation

```sh
yarn add onnxruntime-react-native
npm install onnxruntime-react-native
```

### Usage
Expand Down
Loading
Loading