Skip to content

Commit 2ee626c

Browse files
committed
add autolinking config
1 parent 265e563 commit 2ee626c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

react-native.config.js

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
const ios = require('@react-native-community/cli-platform-ios');
2+
const android = require('@react-native-community/cli-platform-android');
3+
4+
module.exports = {
5+
platforms: {
6+
ios: {
7+
linkConfig: ios.linkConfig,
8+
projectConfig: ios.projectConfig,
9+
dependencyConfig: ios.dependencyConfig,
10+
},
11+
android: {
12+
linkConfig: android.linkConfig,
13+
projectConfig: android.projectConfig,
14+
dependencyConfig: android.dependencyConfig,
15+
},
16+
},
17+
};

0 commit comments

Comments
 (0)