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

34 lines
594 B
JavaScript
Raw Normal View History

2023-02-20 14:54:44 +05:00
const isGithubRelease = false;
2022-09-12 15:04:34 +05:00
const config = {
commands: require("@callstack/repack/commands/rspack")
2022-08-16 16:48:10 +05:00
};
2022-09-12 15:04:34 +05:00
2023-04-04 15:42:28 +05:00
if (!config.dependencies) config.dependencies = {};
config.dependencies["react-native-vector-icons"] = {
2023-04-04 15:42:28 +05:00
platforms: {
ios: null
}
};
2023-04-04 15:42:28 +05:00
config.dependencies["react-native-screenguard"] = {
2024-06-04 10:55:41 +05:00
platforms: {
android: null
}
};
2024-06-04 10:55:41 +05:00
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
2023-04-04 15:42:28 +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;