From 6cc26a5e23d94bc85a02aec4f0b1a3f17456cc45 Mon Sep 17 00:00:00 2001 From: chmjkb Date: Mon, 10 Mar 2025 11:31:46 +0100 Subject: [PATCH] Add a note of Expo Modules requirement in the docs --- docs/docs/fundamentals/getting-started.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/docs/fundamentals/getting-started.md b/docs/docs/fundamentals/getting-started.md index 34444f05..85baffdf 100644 --- a/docs/docs/fundamentals/getting-started.md +++ b/docs/docs/fundamentals/getting-started.md @@ -45,6 +45,8 @@ Installation is pretty straightforward, just use your favorite package manager. +If you're using bare React Native (instead of a managed Expo project), you also need to install Expo Modules because the underlying implementation relies on expo-file-system. Since expo-file-system is an Expo package, bare React Native projects need **Expo Modules** to properly integrate and use it. The link provided (https://docs.expo.dev/bare/installing-expo-modules/) offers guidance on setting up Expo Modules in a bare React Native environment. + If you plan on using your models via require() instead of fetching them from a url, you also need to add following lines to your `metro.config.js`: ```json @@ -62,7 +64,7 @@ When using Expo, please note that you need to use a custom development build of ::: :::caution -If you encountered an error that native modules for React Native Audio API were not installed, please make sure to install react-native-audio-api. +If you encountered an error that native modules for React Native Audio API were not installed, please make sure to install react-native-audio-api. ::: :::info