From 886a092be95ef11ab772486fb96a88a42d225a5b Mon Sep 17 00:00:00 2001 From: Ryan Tremblay Date: Thu, 31 Mar 2022 16:53:42 -0700 Subject: [PATCH 1/2] Add table of additional dependency packages --- Modules/@babylonjs/react-native/README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Modules/@babylonjs/react-native/README.md b/Modules/@babylonjs/react-native/README.md index a704a1498..44d779eb4 100644 --- a/Modules/@babylonjs/react-native/README.md +++ b/Modules/@babylonjs/react-native/README.md @@ -18,9 +18,15 @@ The minimum Android SDK version is 18. This must be set as `minSdkVersion` in th The minimum deployment target version is 12. This must be set as `iOS Deployment Target` in the consuming project's `project.pbxproj`, and must also be set as `platform` in the consuming project's `podfile`. -### Universal Windows Platform (UWP) Configuration +### Platform Native Packages -For windows support, install `@babylonjs/react-native-windows`. +Babylon React Native platform native packages must also be installed for the platforms and React Native versions being targeted. This is only needed for ***apps*** using Babylon React Native, not for ***librarys (React Native packages)*** building on top of Babylon React Native. + +| | React Native 0.63 - 0.64 | React Native 0.65 - 0.66 | +| ------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| Android | [@babylonjs/react-native-iosandroid-0-64](https://www.npmjs.com/package/@babylonjs/react-native-iosandroid-0-64) | [@babylonjs/react-native-iosandroid-0-65](https://www.npmjs.com/package/@babylonjs/react-native-iosandroid-0-65) | +| iOS | [@babylonjs/react-native-iosandroid-0-64](https://www.npmjs.com/package/@babylonjs/react-native-iosandroid-0-64) | [@babylonjs/react-native-iosandroid-0-65](https://www.npmjs.com/package/@babylonjs/react-native-iosandroid-0-65) | +| Windows | [@babylonjs/react-native-windows-0-64](https://www.npmjs.com/package/@babylonjs/react-native-windows-0-64) | [@babylonjs/react-native-windows-0-65](https://www.npmjs.com/package/@babylonjs/react-native-windows-0-65) | ### `useEngine` From c69c9f7f11f7190df7df1c97e0e78855710a3397 Mon Sep 17 00:00:00 2001 From: Ryan Tremblay Date: Fri, 1 Apr 2022 10:37:00 -0700 Subject: [PATCH 2/2] Fix typo and readme titles --- Modules/@babylonjs/react-native-iosandroid/README.md | 4 ++-- Modules/@babylonjs/react-native-windows/README.md | 4 ++-- Modules/@babylonjs/react-native/README.md | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Modules/@babylonjs/react-native-iosandroid/README.md b/Modules/@babylonjs/react-native-iosandroid/README.md index c8bdff758..0c6b08865 100644 --- a/Modules/@babylonjs/react-native-iosandroid/README.md +++ b/Modules/@babylonjs/react-native-iosandroid/README.md @@ -1,4 +1,4 @@ -# @babylonjs/react-native-iosandroid +# Babylon React Native iOS and Android Runtime ## Usage @@ -9,4 +9,4 @@ This package contains iOS and Android dependencies for @babylonjs/react-native. This package has several **peer dependencies**. If these dependencies are unmet, `npm install` will emit warnings. Be sure to add these dependencies to your project. This package will not work without installing the `@babylonjs/react-native` peer dependency. -The `react-native-permissions` dependency is required for XR capabilities of Babylon.js. \ No newline at end of file +The `react-native-permissions` dependency is required for XR capabilities of Babylon.js. diff --git a/Modules/@babylonjs/react-native-windows/README.md b/Modules/@babylonjs/react-native-windows/README.md index 94c75baad..4a84b9a19 100644 --- a/Modules/@babylonjs/react-native-windows/README.md +++ b/Modules/@babylonjs/react-native-windows/README.md @@ -1,4 +1,4 @@ -# @babylonjs/react-native-windows +# Babylon React Native Windows Runtime ## Usage @@ -9,4 +9,4 @@ This package contains windows dependencies for @babylonjs/react-native. See @bab This package has several **peer dependencies**. If these dependencies are unmet, `npm install` will emit warnings. Be sure to add these dependencies to your project. This package will not work without installing the `@babylonjs/react-native` peer dependency. -The `react-native-permissions` dependency is required for XR capabilities of Babylon.js. \ No newline at end of file +The `react-native-permissions` dependency is required for XR capabilities of Babylon.js. diff --git a/Modules/@babylonjs/react-native/README.md b/Modules/@babylonjs/react-native/README.md index 44d779eb4..1cb04d01f 100644 --- a/Modules/@babylonjs/react-native/README.md +++ b/Modules/@babylonjs/react-native/README.md @@ -1,4 +1,4 @@ -# @babylonjs/react-native +# Babylon React Native ## Usage @@ -20,7 +20,7 @@ The minimum deployment target version is 12. This must be set as `iOS Deployment ### Platform Native Packages -Babylon React Native platform native packages must also be installed for the platforms and React Native versions being targeted. This is only needed for ***apps*** using Babylon React Native, not for ***librarys (React Native packages)*** building on top of Babylon React Native. +Babylon React Native platform native packages must also be installed for the platforms and React Native versions being targeted. This is only needed for ***apps*** using Babylon React Native, not for ***libraries (React Native packages)*** building on top of Babylon React Native. | | React Native 0.63 - 0.64 | React Native 0.65 - 0.66 | | ------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | @@ -90,4 +90,4 @@ e.g. ``` -Note: Currently only one `EngineView` can be active at any given time. Multi-view will be supported in a future release. \ No newline at end of file +Note: Currently only one `EngineView` can be active at any given time. Multi-view will be supported in a future release.