Skip to content

Commit 60b7f2d

Browse files
committed
feat: add react-native.config.js for autolinking Nitro modules
1 parent f4d2da9 commit 60b7f2d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

react-native.config.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
const path = require('path');
2+
3+
module.exports = {
4+
dependencies: {
5+
// Ensure the core Nitro modules package is autolinked
6+
'react-native-nitro-modules': {
7+
root: path.resolve(
8+
__dirname,
9+
'node_modules',
10+
'react-native-nitro-modules'
11+
),
12+
platforms: {
13+
ios: {},
14+
android: {},
15+
},
16+
},
17+
},
18+
};

0 commit comments

Comments
 (0)