From 50362d5e8873b742137401587dd53b8e04bf24fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hanno=20J=2E=20G=C3=B6decke?= Date: Tue, 16 Jul 2024 15:12:01 +0200 Subject: [PATCH] fix getting started for new arch --- README.md | 1 + docs/docs/guides/GETTING_STARTED.mdx | 28 +++++++++++++++++++++++++--- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5f37c6c6..4a39fedb 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ react-native-filament is a powerful 3D rendering engine for React Native. It fea * 📹 Rendering happens on a separate thread, nothing blocks the JS thread * 🏀 Comes with a physics engine as well, wrapping [bullet3](https://github.com/bulletphysics/bullet3) * 📦 Easy to use declarative API +* ✅ Supports old and new arch ### Installation diff --git a/docs/docs/guides/GETTING_STARTED.mdx b/docs/docs/guides/GETTING_STARTED.mdx index 6f419455..79798ca7 100644 --- a/docs/docs/guides/GETTING_STARTED.mdx +++ b/docs/docs/guides/GETTING_STARTED.mdx @@ -18,9 +18,31 @@ npm i react-native-filament 2. `react-native-filament` depends on [`react-native-worklets-core`](https://github.com/margelo/react-native-worklets-core): -```sh -npm i react-native-worklets-core -``` + + + ```sh + npm i react-native-worklets-core + ``` + + + + + On the new arch you need to use the beta version of `react-native-worklets-core`: + + ```sh + npm i react-native-worklets-core@beta + ``` + + + + + 3. Update your pods: