
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
expo-build-properties
Advanced tools
Config plugin to customize native build properties on prebuild
The expo-build-properties package allows you to customize native build properties for your Expo project. This includes modifying Android and iOS build settings directly from your JavaScript code, making it easier to manage and automate build configurations.
Modify Android build properties
This feature allows you to set various Android build properties such as compileSdkVersion, targetSdkVersion, minSdkVersion, and buildToolsVersion. This is useful for ensuring your app is built with the correct SDK versions.
{
"android": {
"compileSdkVersion": 30,
"targetSdkVersion": 30,
"minSdkVersion": 21,
"buildToolsVersion": "30.0.3"
}
}
Modify iOS build properties
This feature allows you to set iOS build properties such as deploymentTarget and useFrameworks. This is useful for configuring the minimum iOS version your app supports and whether to use static or dynamic frameworks.
{
"ios": {
"deploymentTarget": "12.0",
"useFrameworks": "static"
}
}
Custom Gradle properties
This feature allows you to set custom Gradle properties for your Android build. This is useful for enabling AndroidX and Jetifier, which are often required for modern Android development.
{
"android": {
"gradleProperties": {
"android.useAndroidX": "true",
"android.enableJetifier": "true"
}
}
}
Custom Xcode build settings
This feature allows you to set custom Xcode build settings for your iOS project. This is useful for specifying the Swift version and enabling or disabling Bitcode.
{
"ios": {
"buildSettings": {
"SWIFT_VERSION": "5.0",
"ENABLE_BITCODE": "NO"
}
}
}
react-native-config allows you to manage environment-specific configurations for your React Native app. It provides a way to define and access environment variables in your JavaScript code, but it does not offer the same level of native build property customization as expo-build-properties.
react-native-build-config is another package that allows you to manage build configurations for React Native projects. It provides a way to define build-specific settings, but it is less integrated with Expo and does not offer the same level of customization for native build properties.
react-native-ultimate-config is a package that provides a unified way to manage configuration settings for React Native apps. It supports both JavaScript and native code configurations, but it is more focused on environment variables and less on native build properties compared to expo-build-properties.
expo-build-properties
is a config plugin to customize native build properties when using npx expo prebuild
.
npx expo install expo-build-properties
Add plugin to app.json
. For example:
{
"expo": {
"plugins": [
[
"expo-build-properties",
{
"android": {
"compileSdkVersion": 31,
"targetSdkVersion": 31,
"buildToolsVersion": "31.0.0"
},
"ios": {
"deploymentTarget": "13.0"
}
}
]
]
}
}
Contributions are very welcome! Please refer to guidelines described in the [contributing guide][https://github.com/expo/expo#contributing].
FAQs
Config plugin to customize native build properties on prebuild
The npm package expo-build-properties receives a total of 461,904 weekly downloads. As such, expo-build-properties popularity was classified as popular.
We found that expo-build-properties demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 26 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.