Skip to content

software-mansion-labs/expo-brownfield-target

Repository files navigation

expo-brownfield-target-banner

expo-brownfield-target

Installation

Step 1: Installation

Run the following command to add the expo-brownfield-target plugin to your project:

npm install expo-brownfield-target

Step 2: Config plugin setup

Add the config plugin to the "plugins" section in your app.json or app.config.js:

{
  "expo": {
    "name": "my-awesome-expo-project",
    "slug": "my-awesome-expo-project",
    ...
    "plugins": [
      ... // Other plugins
      "expo-brownfield-target"
    ]
  }
}

Then prebuild your app with:

npx expo prebuild --clean

API

iOS

Property Description Default value
bundleIdentifier Bundle identifier for the brownfield native target. ios.bundleIdentifier with last component replaced with the target name or com.example.<target-name> if ios.bundleIdentifier is undefined.
targetName Name of the brownfield native target. Also used as the name of the directory containing brownfield files. The value is sanitized to only contain alphanumeric characters and start with a letter. config.scheme or config.ios.scheme appended with brownfield, if either value is defined and a single string. If not defaults to to <slug>brownfield, where <slug> is sanitized slug from the Expo project config

About

Expo config plugin extending native projects for building app as a brownfield

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published