Configuration with exp.json

exp.json is your go-to place for configuring parts of your app that don’t belong in code. It is located at the root of your project next to your package.json. The following is a full list of properties available to you.

  • name

    Required. The name of your app as it appears both within Expo and on your home screen as a standalone app.

  • description

    A short description of what your app is and why it is great.

  • slug

    Required. The friendly url name for publishing. eg: exp.host/@your-username/slug.

  • privacy

    Either public or unlisted. If not provided, defaults to unlisted. In the future private will be supported. unlisted hides the experience from search results. public, unlisted

  • sdkVersion

    Required. The Expo sdkVersion to run the project on. This should line up with the version specified in your package.json.

  • version

    Your app version, use whatever versioning scheme that you like.

  • icon

    Local path or remote url to an image to use for your app’s icon. We recommend that you use a 512x512 png file with transparency. This icon will appear on the home screen and within the Expo app.

  • loading

    Configuration for the loading screen that users see when opening your app, while fetching & caching bundle and assets.

    • icon

      Local path or remote url to an image to display while starting up the app. Image size and aspect ratio are up to you. Must be a .png.

    • exponentIconColor

      If no icon is provided, we will show the Expo logo. You can choose between white and blue. white, blue

    • exponentIconGrayscale

      Similar to exponentIconColor but instead indicate if it should be grayscale (1) or not (0).

    • backgroundImage

      Local path or remote url to an image to fill the background of the loading screen. Image size and aspect ratio are up to you. Must be a .png.

    • backgroundColor

      Color to fill the loading screen background 6 character long hex color string, eg: '#000000'

    • hideExponentText

      By default, Expo shows some text at the bottom of the loading screen. Set this to true to disable.

  • ios

    Standalone Apps Only. iOS standalone app specific configuration

    • bundleIdentifier

      The bundle identifier for your iOS standalone app. You make it up, but it needs to be unique on the App Store. See this StackOverflow question. iOS bundle identifier notation unique name for your app. For example, host.exp.exponent, where exp.host is our domain and Expo is our app.

    • buildNumber

      Build number for your iOS standalone app

  • android

    Standalone Apps Only. Android standalone app specific configuration

https://docs.expo.io/versions/v14.0.0/guides/configuration.html

results matching ""

    No results matching ""