New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

expo-build-properties

Package Overview
Dependencies
Maintainers
26
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expo-build-properties

Config plugin to customize native build properties on prebuild

  • 0.12.1
  • sdk-51
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
290K
decreased by-14.01%
Maintainers
26
Weekly downloads
 
Created

What is expo-build-properties?

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.

What are expo-build-properties's main functionalities?

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"
    }
  }
}

Other packages similar to expo-build-properties

Keywords

FAQs

Package last updated on 06 May 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc