Skip to content

Commit

Permalink
readme and testscript for RN 0.73+ (#628)
Browse files Browse the repository at this point in the history
  • Loading branch information
CedricGuillemet authored Dec 9, 2023
1 parent cacf7df commit 32a6611
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 12 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/test_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ on:
required: true
type: string
default: '6.0'
Node_Version:
description: 'Node.js Version (18+ for RN 0.73+)'
required: true
type: string
default: '18'

jobs:
build-windows:
Expand All @@ -31,10 +36,10 @@ jobs:
uses: actions/checkout@v2.3.3
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.0.2
- name: Setup Node 16
- name: Setup Node ${{ github.event.inputs.Node_Version }}
uses: actions/setup-node@v3
with:
node-version: 16
node-version: ${{ github.event.inputs.Node_Version }}
- name: Build Playground Windows x64
run: |
npx react-native init Playground --version ${{ github.event.inputs.RN_Version }}
Expand Down Expand Up @@ -62,10 +67,10 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v2.3.3
- name: Setup Node 16
- name: Setup Node ${{ github.event.inputs.Node_Version }}
uses: actions/setup-node@v3
with:
node-version: 16
node-version: ${{ github.event.inputs.Node_Version }}
- name: Setup Java
uses: actions/setup-java@v3
with:
Expand Down Expand Up @@ -134,10 +139,16 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v2.3.3
- name: Setup Node 16
- name: Setup Node ${{ github.event.inputs.Node_Version }}
uses: actions/setup-node@v3
with:
node-version: 16
node-version: ${{ github.event.inputs.Node_Version }}
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
check-latest: true
- name: Build Playground Android
run: |
npm uninstall -g react-native-cli @react-native-community/cli
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,11 @@ For iOS the XCode project needs to be generated with `CMake` as described [above

| React Native | Babylon React Native |
|---|---|
| 0.64 | 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.3 |
| 0.65 -> 0.68 | 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.3 |
| 0.69 | 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.3 |
| 0.70 | 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.3 |
| 0.71 -> 0.72 | 1.6.0, 1.6.1, 1.6.3 |
| 0.64 | 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.3, 1.8.1 |
| 0.65 -> 0.68 | 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.3, 1.8.1 |
| 0.69 | 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.3, 1.8.1 |
| 0.70 | 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.3, 1.8.1 |
| 0.71 -> 0.73 | 1.6.0, 1.6.1, 1.6.3, 1.8.1 |

Here are the package names for Android/iOS and Windows:

Expand All @@ -242,7 +242,7 @@ Here are the package names for Android/iOS and Windows:
| 0.65 -> 0.68 | [@babylonjs/react-native-iosandroid-0-65](https://www.npmjs.com/package/@babylonjs/react-native-iosandroid-0-65) | [@babylonjs/react-native-windows-0-65](https://www.npmjs.com/package/@babylonjs/react-native-windows-0-65) |
| 0.69 | [@babylonjs/react-native-iosandroid-0-69](https://www.npmjs.com/package/@babylonjs/react-native-iosandroid-0-69) | [@babylonjs/react-native-windows-0-69](https://www.npmjs.com/package/@babylonjs/react-native-windows-0-69) |
| 0.70 | [@babylonjs/react-native-iosandroid-0-70](https://www.npmjs.com/package/@babylonjs/react-native-iosandroid-0-70) | [@babylonjs/react-native-windows-0-70](https://www.npmjs.com/package/@babylonjs/react-native-windows-0-70) |
| 0.71 -> 0.72 | [@babylonjs/react-native-iosandroid-0-71](https://www.npmjs.com/package/@babylonjs/react-native-iosandroid-0-71) | [@babylonjs/react-native-windows-0-71](https://www.npmjs.com/package/@babylonjs/react-native-windows-0-71) |
| 0.71 -> 0.73 | [@babylonjs/react-native-iosandroid-0-71](https://www.npmjs.com/package/@babylonjs/react-native-iosandroid-0-71) | [@babylonjs/react-native-windows-0-71](https://www.npmjs.com/package/@babylonjs/react-native-windows-0-71) |

Also, [@babylonjs/react-native](https://www.npmjs.com/package/@babylonjs/react-native) is a needed dependency for all platforms.

Expand Down

0 comments on commit 32a6611

Please sign in to comment.