Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 5 additions & 5 deletions apps/fabric-example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2675,7 +2675,7 @@ PODS:
- RNWorklets
- SocketRocket
- Yoga
- RNScreens (4.18.0):
- RNScreens (4.17.1):
- boost
- DoubleConversion
- fast_float
Expand All @@ -2702,10 +2702,10 @@ PODS:
- ReactCodegen
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- RNScreens/common (= 4.18.0)
- RNScreens/common (= 4.17.1)
- SocketRocket
- Yoga
- RNScreens/common (4.18.0):
- RNScreens/common (4.17.1):
- boost
- DoubleConversion
- fast_float
Expand Down Expand Up @@ -3216,10 +3216,10 @@ SPEC CHECKSUMS:
ReactAppDependencyProvider: c5c4f5280e4ae0f9f4a739c64c4260fe0b3edaf1
ReactCodegen: 096bbbb2498ca55f385e2fbd465bfa0211ee8295
ReactCommon: 25c7f94aee74ddd93a8287756a8ac0830a309544
RNAudioAPI: c763dbacdb8d89b7ce829484306df54322a7d951
RNAudioAPI: c7dc7b491a0e4b23535a55fd9b4a00d0f803f4bb
RNGestureHandler: f1dd7f92a0faa2868a919ab53bb9d66eb4ebfcf5
RNReanimated: e4993dd98196c698cbacc1441a4ac5b855ae56dc
RNScreens: d821082c6dd1cb397cc0c98b026eeafaa68be479
RNScreens: 833237c48c756d40764540246a501b47dadb2cac
RNSVG: 8c0bbfa480a24b24468f1c76bd852a4aac3178e6
RNWorklets: d4553da98908962b6b834d5f2d26525b0d6840ad
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
Expand Down
7 changes: 1 addition & 6 deletions apps/fabric-example/metro.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
const {getDefaultConfig, mergeConfig} = require('@react-native/metro-config');
const {
wrapWithAudioAPIMetroConfig,
} = require('react-native-audio-api/metro-config');

const path = require('path');

Expand All @@ -16,6 +13,4 @@ const config = {
watchFolders: [root],
};

module.exports = wrapWithAudioAPIMetroConfig(
mergeConfig(getDefaultConfig(__dirname), config),
);
module.exports = mergeConfig(getDefaultConfig(__dirname), config);
19 changes: 1 addition & 18 deletions packages/audiodocs/docs/fundamentals/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -102,24 +102,7 @@ If your app is not managed by expo, see [non-expo-permissions page](/docs/other/

Read more about plugin [here](/docs/other/audio-api-plugin)!

### Step 3: Wrap metro config with Audio API wrapper (recommended)

Wrap your existing Metro configuration in the `metro.config.js` file with the `wrapWithAudioAPIMetroConfig` function:

```javascript
// metro.config.js
const {
wrapWithAudioAPIMetroConfig,
} = require('react-native-audio-api/metro-config');

const config = {
// Your existing Metro configuration options
};

module.exports = wrapWithAudioAPIMetroConfig(config);
```

### Step 4: Install system-wide bash (only Windows OS)
### Step 3: Install system-wide bash (only Windows OS)

There are many ways to do that f.e. using git bash. To make sure just test if any unix command works.
```bash
Expand Down
5 changes: 0 additions & 5 deletions packages/react-native-audio-api/metro-config/index.d.ts

This file was deleted.

41 changes: 0 additions & 41 deletions packages/react-native-audio-api/metro-config/index.js

This file was deleted.

3 changes: 0 additions & 3 deletions packages/react-native-audio-api/metro-config/tsconfig.json

This file was deleted.