Files
notesnook/apps/mobile/native/react-native.config.js

40 lines
662 B
JavaScript
Raw Normal View History

2022-09-12 15:04:34 +05:00
2023-02-20 14:54:44 +05:00
const isGithubRelease = false;
2022-09-12 15:04:34 +05:00
const config = {
2025-03-04 12:46:21 +05:00
commands: require('@callstack/repack/commands/rspack'),
2022-08-16 16:48:10 +05:00
project: {
android: {
sourceDir: './android'
}
}
};
2022-09-12 15:04:34 +05:00
2023-04-04 15:42:28 +05:00
if (!config.dependencies) config.dependencies = {};
2023-04-04 15:42:28 +05:00
config.dependencies['react-native-vector-icons'] = {
platforms: {
ios: null,
},
}
2024-06-04 10:55:41 +05:00
config.dependencies['react-native-screenguard'] = {
platforms: {
android: null,
},
}
2022-09-12 15:04:34 +05:00
if (isGithubRelease) {
2023-04-04 15:42:28 +05:00
config.dependencies["react-native-iap"] = {
platforms: {
android:null
}
2022-09-12 15:04:34 +05:00
}
2023-05-17 11:14:49 +05:00
config.dependencies["react-native-in-app-review"] = {
platforms: {
android: null
}
}
2022-09-12 15:04:34 +05:00
}
module.exports = config;