UNPKG

36.7 kBSource Map (JSON)View Raw
1{"version":3,"file":"Config.types.js","sourceRoot":"","sources":["../src/Config.types.ts"],"names":[],"mappings":"","sourcesContent":["export type PackageJSONConfig = { [key: string]: any };\nexport type ProjectConfig = {\n /**\n * Fully evaluated Expo config with default values injected.\n */\n exp: ExpoConfig;\n /**\n * Project package.json object with default values injected.\n */\n pkg: PackageJSONConfig;\n /**\n * Unaltered static config (app.config.json, app.json, or custom json config).\n * For legacy, an empty object will be returned even if no static config exists.\n */\n rootConfig: AppJSONConfig;\n /**\n * Path to the static json config file if it exists.\n * If a project has an app.config.js and an app.json then app.json will be returned.\n * If a project has an app.config.json and an app.json then app.config.json will be returned.\n * Returns null if no static config file exists.\n */\n staticConfigPath: string | null;\n /**\n * Path to an app.config.js or app.config.ts.\n * Returns null if no dynamic config file exists.\n */\n dynamicConfigPath: string | null;\n\n /**\n * Returns the type of the value exported from the dynamic config.\n * This can be used to determine if the dynamic config is potentially extending a static config when (v === 'function').\n * Returns null if no dynamic config file exists.\n */\n dynamicConfigObjectType: string | null;\n};\nexport type AppJSONConfig = { expo: ExpoConfig; [key: string]: any };\nexport type BareAppConfig = { name: string; [key: string]: any };\n\ntype ExpoOrientation = 'default' | 'portrait' | 'landscape';\ntype ExpoPrivacy = 'public' | 'unlisted';\ntype SplashResizeMode = 'cover' | 'contain';\n\n/**\n * 6 character long hex color string, eg: `'#000000'`\n * @pattern ^#|(&#x23;)\\\\d{6}$\n */\ntype Color = string;\n\ntype AndroidMode = 'default' | 'collapse';\n\ntype AndroidBarStyle = 'light-content' | 'dark-content';\n\nexport type IntentFilter = {\n action: string;\n category?: string[];\n autoVerify?: boolean;\n data?: {\n scheme?: string;\n host?: string;\n port?: string;\n path?: string;\n pathPattern?: string;\n pathPrefix?: string;\n mimeType?: string;\n };\n};\n\ntype WebAppleBarStyle = 'default' | 'black' | 'black-translucent';\n\n/**\n * Configuration for loading and splash screen for standalone apps.\n */\ntype Splash = {\n /**\n * Color to fill the loading screen background\n */\n backgroundColor?: Color;\n\n /**\n * Determines how the `image` will be displayed in the splash loading screen.\n */\n resizeMode?: SplashResizeMode;\n\n /**\n * 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.\n */\n image?: Image;\n};\n\n/**\n * Local path or remote url to an image to use as an image.\n * {\n * asset: true\n * contentTypePattern: \"^image/png$\"\n * contentTypeHuman: \".png image\"\n * }\n */\ntype Image = string;\n\n/**\n * Local path or remote url to an image to use as an icon.\n * {\n * asset: true\n * contentTypePattern: \"^image/png$\"\n * contentTypeHuman: \".png image\"\n * square: true\n * }\n */\ntype Icon = string;\n\ntype AndroidAdaptiveIcon = {\n /**\n * Local path or remote url to an image to use for your app's icon on Android. If specified, this overrides the top-level `icon` and the `android.icon` keys. Should follow the guidelines specified at https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive. This icon will appear on the home screen.\n */\n foregroundImage?: Icon;\n\n /**\n * Local path or remote url to a background image for your app's Adaptive Icon on Android. If specified, this overrides the `backgroundColor` key. Should follow the guidelines specified at https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive.\n */\n backgroundImage?: Icon;\n\n /**\n * Color to use as the background for your app's Adaptive Icon on Android.\n */\n backgroundColor?: Color;\n};\n\nexport type AndroidPlatformConfig = {\n /**\n * @autogenerated\n */\n publishSourceMapPath?: string;\n /**\n * The manifest for the Android version of your app will be written to this path during publish.\n * {\n * autogenerated: true\n * }\n */\n publishManifestPath?: string;\n\n /**\n * The bundle for the Android version of your app will be written to this path during publish.\n * {\n * autogenerated: true\n * }\n */\n publishBundlePath?: string;\n\n /**\n * The package name for your Android standalone app. You make it up, but it needs to be unique on the Play Store. See [this StackOverflow question](http://stackoverflow.com/questions/6273892/android-package-name-convention).\n * @pattern ^[a-zA-Z][a-zA-Z0-9\\\\_]*(\\\\.[a-zA-Z][a-zA-Z0-9\\\\_]*)+$\n * @regexHuman Reverse DNS notation unique name for your app. For example, host.exp.exponent, where exp.host is our domain and Expo is our app. The name may only contain lowercase and uppercase letters (a-z, A-Z), numbers (0-9) and underscores (_). Each component of the name should start with a lowercase letter.\n */\n package?: string;\n /**\n * Version number required by Google Play. Increment by one for each release. Must be an integer. https://developer.android.com/studio/publish/versioning.html\n */\n versionCode?: number;\n\n /**\n * The background color for your app, behind any of your React views. This is also known as the root view background color. This value should be a 6 character long hex color string, eg: '#000000'. Default is white — '#ffffff'.\n * Overrides the top-level `backgroundColor` key if it is present.\n */\n backgroundColor?: string;\n\n /**\n * Local path or remote url to an image to use for your app's icon on Android. If specified, this overrides the top-level `icon` key. We recommend that you use a 1024x1024 png file (transparency is recommended for the Google Play Store). This icon will appear on the home screen and within the Expo app.\n */\n icon?: Icon;\n\n adaptiveIcon?: AndroidAdaptiveIcon;\n\n /**\n * URL to your app on the Google Play Store, if you have deployed it there. This is used to link to your store page from your Expo project page if your app is public.\n * @pattern ^https://play\\\\.google\\\\.com/\n * @example https://play.google.com/store/apps/details?id=host.exp.exponent\n */\n playStoreUrl?: string;\n\n /**\n * List of permissions used by the standalone app. Remove the field to use the default list of permissions.\\n\\n Example: `[ \\\"CAMERA\\\", \\\"ACCESS_FINE_LOCATION\\\" ]`.\\n\\n You can specify the following permissions depending on what you need:\\n\\n- `ACCESS_COARSE_LOCATION`\\n- `ACCESS_FINE_LOCATION`\\n- `CAMERA`\\n- `MANAGE_DOCUMENTS`\\n- `READ_CONTACTS`\\n- `READ_EXTERNAL_STORAGE`\\n- `READ_INTERNAL_STORAGE`\\n- `READ_PHONE_STATE`\\n- `RECORD_AUDIO`\\n- `USE_FINGERPRINT`\\n- `VIBRATE`\\n- `WAKE_LOCK`\\n- `WRITE_EXTERNAL_STORAGE`\\n- `com.anddoes.launcher.permission.UPDATE_COUNT`\\n- `com.android.launcher.permission.INSTALL_SHORTCUT`\\n- `com.google.android.c2dm.permission.RECEIVE`\\n- `com.google.android.gms.permission.ACTIVITY_RECOGNITION`\\n- `com.google.android.providers.gsf.permission.READ_GSERVICES`\\n- `com.htc.launcher.permission.READ_SETTINGS`\\n- `com.htc.launcher.permission.UPDATE_SHORTCUT`\\n- `com.majeur.launcher.permission.UPDATE_BADGE`\\n- `com.sec.android.provider.badge.permission.READ`\\n- `com.sec.android.provider.badge.permission.WRITE`\\n- `com.sonyericsson.home.permission.BROADCAST_BADGE`\n */\n permissions?: string[];\n\n /**\n * [Firebase Configuration File](https://support.google.com/firebase/answer/7015592) google-services.json file for configuring Firebase.\n */\n googleServicesFile?: string;\n\n /**\n * Configuration to force the app to always use the light or dark user-interface appearance, such as \\\"dark mode\\\", or make it automatically adapt to the system preferences. If not provided, defaults to `light`.\n * @fallback light\n */\n userInterfaceStyle?: 'light' | 'dark' | 'automatic';\n\n config?: {\n /**\n * [Branch](https://branch.io/) key to hook up Branch linking services.\n */\n branch?: {\n /**\n * Your Branch API key\n */\n apiKey?: string;\n };\n\n /**\n * [Google Developers Fabric](https://get.fabric.io/) keys to hook up Crashlytics and other services.\n */\n fabric?: {\n /**\n * Your Fabric API key\n */\n apiKey?: string;\n /**\n * Your Fabric build secret\n */\n buildSecret?: string;\n };\n /**\n * [Google Maps Android SDK](https://developers.google.com/maps/documentation/android-api/signup) key for your standalone app.\n */\n googleMaps?: {\n /**\n * Your Google Maps Android SDK API key\n */\n apiKey: string;\n };\n /**\n * [Google Mobile Ads App ID](https://support.google.com/admob/answer/6232340) Google AdMob App ID.\n */\n googleMobileAdsAppId?: string;\n /**\n * A boolean indicating whether to initialize Google App Measurement and begin sending\n * user-level event data to Google immediately when the app starts. The default in Expo\n * (Client and in standalone apps) is `false`.\n *\n * Sets the opposite of the given value to the following tag in AndroidManifest.xml:\n * https://developers.google.com/admob/android/eu-consent#delay_app_measurement_optional\n */\n googleMobileAdsAutoInit: boolean;\n /**\n * [Google Sign-In Android SDK](https://developers.google.com/identity/sign-in/android/start-integrating) keys for your standalone app.\n */\n googleSignIn?: {\n /**\n * The Android API key. Can be found in the credentials section of the developer console or in `google-services.json`.\n */\n apiKey: string;\n\n /**\n * The SHA-1 hash of the signing certificate used to build the apk without any separator `:`. Can be found in `google-services.json`. https://developers.google.com/android/guides/client-auth\n */\n certificateHash: string;\n };\n };\n /**\n * Configuration for loading and splash screen for standalone Android apps.\n */\n splash?: {\n /**\n * Color to fill the loading screen background\n */\n backgroundColor?: Color;\n\n /**\n * Determines how the `image` will be displayed in the splash loading screen. Must be one of `cover`, `contain` or `native`, defaults to `contain`.\n */\n resizeMode?: 'cover' | 'contain' | 'native';\n /**\n * 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.\n */\n mdpi?: Image;\n /**\n * 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.\n */\n hdpi?: Image;\n /**\n * 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.\n */\n xhdpi?: Image;\n /**\n * 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.\n */\n xxhdpi?: Image;\n /**\n * 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.\n */\n xxxhdpi?: Image;\n };\n /**\n * An array of intent filters.\n * @uniqueItems\n * @example [{\n \"autoVerify\": true,\n \"action\": \"VIEW\",\n \"data\": {\n \"scheme\": \"https\",\n \"host\": \"*.expo.io\"\n },\n \"category\": [\n \"BROWSABLE\",\n \"DEFAULT\"\n ]\n }]\n */\n intentFilters?: IntentFilter[];\n};\n\n// tslint:disable-next-line:max-line-length\ntype Devtool =\n | 'eval'\n | 'inline-source-map'\n | 'cheap-eval-source-map'\n | 'cheap-source-map'\n | 'cheap-module-eval-source-map'\n | 'cheap-module-source-map'\n | 'eval-source-map'\n | 'source-map'\n | 'nosources-source-map'\n | 'hidden-source-map'\n | 'nosources-source-map'\n | 'inline-cheap-source-map'\n | 'inline-cheap-module-source-map'\n | '@eval'\n | '@inline-source-map'\n | '@cheap-eval-source-map'\n | '@cheap-source-map'\n | '@cheap-module-eval-source-map'\n | '@cheap-module-source-map'\n | '@eval-source-map'\n | '@source-map'\n | '@nosources-source-map'\n | '@hidden-source-map'\n | '@nosources-source-map'\n | '#eval'\n | '#inline-source-map'\n | '#cheap-eval-source-map'\n | '#cheap-source-map'\n | '#cheap-module-eval-source-map'\n | '#cheap-module-source-map'\n | '#eval-source-map'\n | '#source-map'\n | '#nosources-source-map'\n | '#hidden-source-map'\n | '#nosources-source-map'\n | '#@eval'\n | '#@inline-source-map'\n | '#@cheap-eval-source-map'\n | '#@cheap-source-map'\n | '#@cheap-module-eval-source-map'\n | '#@cheap-module-source-map'\n | '#@eval-source-map'\n | '#@source-map'\n | '#@nosources-source-map'\n | '#@hidden-source-map'\n | '#@nosources-source-map'\n | boolean;\n\n/**\n * Web platform specific configuration\n */\nexport type WebPlatformConfig = {\n [key: string]: any;\n\n /**\n * Relative path of an image to use for your app's favicon.\n */\n favicon?: string;\n\n /**\n * Defines the title of the document, defaults to the outer level name\n * @pwa name\n * @metatag title\n */\n name?: string;\n /**\n * A short version of the app's name, 12 characters or fewer. Used in app launcher and new tab pages. Maps to `short_name` in the PWA manifest.json. Defaults to the `name` property.\n * @pwa short_name\n * @regexHuman Maximum 12 characters long\n */\n shortName?: string;\n\n /**\n * Specifies the primary language for the values in the name and short_name members. This value is a string containing a single language tag.\n * @fallback 'en'\n * @pwa lang\n */\n lang?: string;\n\n /**\n * Defines the navigation scope of this website's context. This restricts what web pages can be viewed while the manifest is applied. If the user navigates outside the scope, it returns to a normal web page inside a browser tab/window. If the scope is a relative URL, the base URL will be the URL of the manifest.\n * @pwa scope\n */\n scope?: string;\n /**\n * Defines the color of the Android tool bar, and may be reflected in the app's preview in task switchers.\n * @fallback 'expo.primaryColor', '#4630EB'\n * @pwa theme_color\n * @metatag theme-color\n */\n themeColor?: Color;\n /**\n * Provides a general description of what the pinned website does.\n * @fallback 'expo.description'\n * @pwa description\n */\n description?: string;\n /**\n * Specifies the primary text direction for the name, short_name, and description members. Together with the lang member, it helps the correct display of right-to-left languages.\n * @fallback auto\n * @pwa dir\n *\n */\n dir?: 'auto' | 'ltr' | 'rtl';\n /**\n * Defines the developers’ preferred display mode for the website.\n * @fallback standalone\n * @pwa display\n */\n display?: 'fullscreen' | 'standalone' | 'minimal-ui' | 'browser';\n /**\n * The URL that loads when a user launches the application (e.g. when added to home screen), typically the index. Note that this has to be a relative URL, relative to the manifest URL.\n * @pwa start_url\n */\n startUrl?: string;\n /**\n * Defines the default orientation for all the website's top level browsing contexts.\n * @pwa orientation\n */\n orientation?:\n | 'any'\n | 'natural'\n | 'landscape'\n | 'landscape-primary'\n | 'landscape-secondary'\n | 'portrait'\n | 'portrait-primary'\n | 'portrait-secondary';\n\n /**\n * Defines the expected “background color” for the website. This value repeats what is already available in the site’s CSS, but can be used by browsers to draw the background color of a shortcut when the manifest is available before the stylesheet has loaded. This creates a smooth transition between launching the web application and loading the site's content.\n * @pwa background_color\n * @fallback 'expo.splash.backgroundColor', '#ffffff'\n */\n backgroundColor?: Color;\n /**\n * If content is set to default, the status bar appears normal. If set to black, the status bar has a black background. If set to black-translucent, the status bar is black and translucent. If set to default or black, the web content is displayed below the status bar. If set to black-translucent, the web content is displayed on the entire screen, partially obscured by the status bar.\n *\n * @fallback black-translucent\n * @metatag apple-mobile-web-app-status-bar-style\n */\n barStyle?: WebAppleBarStyle;\n\n /**\n * Hints for the user agent to indicate to the user that the specified native applications (defined in expo.ios and expo.android) are recommended over the website.\n * @pwa prefer_related_applications\n */\n preferRelatedApplications?: boolean;\n\n /**\n * Basic customization options for configuring the default webpack config\n */\n build?: {\n [key: string]: any;\n\n /**\n * Choose a custom style of source mapping to enhance the debugging process. These values can affect build and rebuild speed dramatically.\n */\n devtool?: Devtool;\n /**\n * Allows you to specify the base path for all the assets within your application.\n * @deprecated\n */\n publicPath?: string;\n /**\n * Configuration for customizing webpack report. See `HtmlWebpackPlugin.Options` from `html-webpack-plugin`.\n */\n minifyHTML?: {\n // TODO: Bacon: HtmlWebpackPlugin.Options\n [option: string]: any;\n };\n /**\n * Configuration for customizing the service worker. See `GenerateSWOptions` from `workbox-webpack-plugin`.\n */\n serviceWorker?: {\n // TODO: Bacon: GenerateSWOptions\n [options: string]: any;\n };\n };\n /**\n * Defines the meta tag elements that will be added to the head element of your index.html.\n */\n meta?: {\n [key: string]: any;\n\n /**\n * ID provided by the Google Site Verification API: https://developers.google.com/site-verification/\n */\n googleSiteVerification?: string;\n /**\n * Apple PWA-specific meta elements. By default these values will be inferred from fields in the scope above, but you can override them here.\n */\n apple?: {\n [key: string]: any;\n /**\n * Enables PWA functionality on iOS devices.\n * @fallback 'yes'\n * @metatag 'apple-mobile-web-app-capable'\n */\n mobileWebAppCapable?: string;\n\n /**\n * If content is set to default, the status bar appears normal. If set to black, the status bar has a black background. If set to black-translucent, the status bar is black and translucent. If set to default or black, the web content is displayed below the status bar. If set to black-translucent, the web content is displayed on the entire screen, partially obscured by the status bar.\n *\n * @deprecated use web.barStyle instead\n * @fallback black-translucent\n * @metatag apple-mobile-web-app-status-bar-style\n */\n barStyle?: WebAppleBarStyle;\n };\n\n /**\n * [Twitter card protocol](https://developer.twitter.com/en/docs/tweets/optimize-with-cards/overview/markup.html)\n */\n twitter?: {\n [key: string]: any;\n };\n /**\n * [The Open Graph protocol](http://ogp.me/)\n */\n openGraph?: {\n [key: string]: any;\n };\n /**\n * X-UA protocol\n */\n microsoft?: {\n [key: string]: any;\n };\n };\n\n /**\n * Experimental features. These will break without deprecation notice.\n */\n dangerous?: {\n [key: string]: any;\n };\n /**\n * Configuration for PWA splash screens.\n */\n splash?: WebSplashScreen;\n config?: {\n /**\n * [Firebase Configuration Object](https://support.google.com/firebase/answer/7015592) Firebase web configuration.\n */\n firebase?: {\n [key: string]: any;\n };\n };\n};\n\n/**\n * Configuration for PWA splash screens.\n */\nexport type WebSplashScreen = {\n /**\n * Color to fill the loading screen background\n */\n backgroundColor?: Color;\n /**\n * Determines how the `image` will be displayed in the splash loading screen. Must be one of `cover` or `contain`, defaults to `contain`.\n */\n resizeMode?: 'cover' | 'contain';\n /**\n * 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.\n */\n image: Image;\n};\n\nexport type IosPlatformConfig = {\n /**\n * @autogenerated\n */\n publishSourceMapPath?: string;\n /**\n * The manifest for the Android version of your app will be written to this path during publish.\n * @autogenerated\n */\n publishManifestPath?: string;\n /**\n * The bundle for the Android version of your app will be written to this path during publish.\n * @autogenerated\n */\n publishBundlePath?: string;\n /**\n * 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](http://stackoverflow.com/questions/11347470/what-does-bundle-identifier-mean-in-the-ios-project).\n * @pattern ^[a-zA-Z][a-zA-Z0-9\\\\-\\\\.]+$\n * @regexHuman \"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.\"\n */\n bundleIdentifier?: string;\n\n /**\n * Build number for your iOS standalone app. Must be a string that matches Apple's [format for CFBundleVersion](https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-102364).\n * @pattern ^[A-Za-z0-9\\\\.]+$\n */\n buildNumber?: string;\n\n /**\n * The background color for your app, behind any of your React views. This is also known as the root view background color. This value should be a 6 character long hex color string, eg: '#000000'. Default is white — '#ffffff'.\n * Overrides the top-level `backgroundColor` key if it is present.\n */\n backgroundColor?: string;\n\n /**\n * Local path or remote URL to an image to use for your app's icon on iOS. If specified, this overrides the top-level `icon` key. Use a 1024x1024 icon which follows Apple's interface guidelines for icons, including color profile and transparency. Expo will generate the other required sizes. This icon will appear on the home screen and within the Expo app.\n */\n icon?: Icon;\n /**\n * Merchant ID for use with Apple Pay in your standalone app.\n */\n merchantId?: string;\n\n /**\n * URL to your app on the Apple App Store, if you have deployed it there. This is used to link to your store page from your Expo project page if your app is public.\n * @pattern ^https://itunes\\\\.apple\\\\.com/.*?\\\\d+\n * @example https://itunes.apple.com/us/app/expo-client/id982107779\n */\n appStoreUrl?: string;\n config?: {\n /**\n * [Branch](https://branch.io/) key to hook up Branch linking services.\n */\n branch?: {\n /**\n * Your Branch API key\n */\n apiKey: string;\n };\n /**\n * Sets `ITSAppUsesNonExemptEncryption` in the standalone ipa's Info.plist to the given boolean value.\n */\n usesNonExemptEncryption?: boolean;\n /**\n * [Google Maps iOS SDK](https://developers.google.com/maps/documentation/ios-sdk/start) key for your standalone app.\n */\n googleMapsApiKey?: string;\n /**\n * [Google Mobile Ads App ID](https://support.google.com/admob/answer/6232340) Google AdMob App ID.\n */\n googleMobileAdsAppId?: string;\n /**\n * [Google Sign-In iOS SDK](https://developers.google.com/identity/sign-in/ios/start-integrating) keys for your standalone app.\n */\n googleSignIn?: {\n /**\n * The reserved client ID URL scheme. Can be found in `GoogeService-Info.plist`.\n */\n reservedClientId?: string;\n };\n };\n /**\n * [Firebase Configuration File](https://support.google.com/firebase/answer/7015592) GoogleService-Info.plist file for configuring Firebase.\n */\n googleServicesFile?: string;\n /**\n * Whether your standalone iOS app supports tablet screen sizes. Defaults to `false`.\n */\n supportsTablet?: boolean;\n /**\n * If true, indicates that your standalone iOS app does not support handsets, and only supports tablets.\n */\n isTabletOnly?: boolean;\n /**\n * If true, indicates that your standalone iOS app does not support Slide Over and Split View on iPad. Defaults to `true` currently, but will change to `false` in a future SDK version.\n */\n requireFullScreen?: boolean;\n /**\n * Configuration to force the app to always use the light or dark user-interface appearance, such as \\\"dark mode\\\", or make it automatically adapt to the system preferences. If not provided, defaults to `light`.\n * @fallback light\n */\n userInterfaceStyle?: 'light' | 'dark' | 'automatic';\n\n /**\n * Dictionary of arbitrary configuration to add to your standalone app's native Info.plist. Applied prior to all other Expo-specific configuration. No other validation is performed, so use this at your own risk of rejection from the App Store.\n */\n infoPlist?: {\n [key: string]: any;\n };\n /**\n * An array that contains Associated Domains for the standalone app.\n */\n associatedDomains?: string[];\n /**\n * A boolean indicating if the app uses iCloud Storage for DocumentPicker. See DocumentPicker docs for details.\n */\n usesIcloudStorage?: boolean;\n /**\n * A boolean indicating if the app uses Apple Sign-In. See AppleAuthentication docs for details.\n * @fallback false\n */\n usesAppleSignIn?: boolean;\n /**\n * A boolean value indicating if the app may access the notes stored in contacts. See Contacts docs for details.\n * @fallback false\n */\n accessesContactNotes?: boolean;\n\n /**\n * Configuration for loading and splash screen for standalone iOS apps.\n */\n splash?: {\n /**\n * Local path to a XIB file as the loading screen. It overrides other loading screen options.\n * {\n * \"asset\": true,\n * \"contentTypePattern\": \"^text/xml$\",\n * \"contentTypeHuman\": \".xib interface builder document\"\n * }\n */\n xib?: string;\n /**\n * Color to fill the loading screen background\n */\n backgroundColor?: Color;\n /**\n * Determines how the `image` will be displayed in the splash loading screen. Must be one of `cover` or `contain`, defaults to `contain`.\n */\n resizeMode?: SplashResizeMode;\n\n /**\n * 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.\n */\n image: Image;\n\n /**\n * 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.\n */\n tabletImage?: Image;\n };\n};\n\nexport type ExpoConfig = {\n /**\n * The name of your app as it appears both within Expo and on your home screen as a standalone app.\n */\n name?: string;\n /**\n * A short description of what your app is and why it is great.\n */\n description?: string;\n /**\n * The friendly url name for publishing. eg: `expo.io/@your-username/slug`.\n * @pattern ^[a-zA-Z0-9_\\\\-]+$\n */\n slug?: string;\n /**\n * The background color for your app, behind any of your React views. This is also known as the root view background color. This value should be a 6 character long hex color string, eg: '#000000'. Default is white — '#ffffff'.\n */\n backgroundColor?: string;\n /**\n * The username of the account under which this app is published. If not specified, the app is published as the currently signed-in user.\n */\n owner?: string;\n /**\n * Either `public` or `unlisted`. If not provided, defaults to `unlisted`. In the future `private` will be supported. `unlisted` hides the experience from search results.\n */\n privacy?: ExpoPrivacy;\n /**\n * The Expo sdkVersion to run the project on. This should line up with the version specified in your package.json.\n * @pattern ^(\\\\d+\\\\.\\\\d+\\\\.\\\\d+)|(UNVERSIONED)$\n */\n sdkVersion?: string;\n /**\n * Your app version, use whatever versioning scheme that you like.\n */\n version?: string;\n /**\n * Platforms that your project explicitly supports. If not specified, it defaults to `[\\\"ios\\\", \\\"android\\\"]`.\n */\n platforms?: Platform[];\n /**\n * If you would like to share the source code of your app on Github, enter the URL for the repository here and it will be linked to from your Expo project page.\n * @pattern ^https://github\\\\.com/\n */\n githubUrl?: string;\n /**\n * Lock your app to a specific orientation with `portrait` or `landscape`. Defaults to no lock.\n */\n orientation?: ExpoOrientation;\n /**\n * On Android, this will determine the color of your app in the multitasker. Currently this is not used on iOS, but it may be used for other purposes in the future.\n */\n primaryColor?: Color;\n /**\n * Local path or remote url to an image to use for your app's icon. We recommend that you use a 1024x1024 png file. This icon will appear on the home screen and within the Expo app.\n */\n icon?: Icon;\n /**\n * Configuration for remote (push) notifications.\n */\n notification?: {\n /**\n * Local path or remote url to an image to use as the icon for push notifications. 96x96 png grayscale with transparency.\n */\n icon?: Icon;\n /**\n * Tint color for the push notification image when it appears in the notification tray.\n */\n color?: Color;\n /**\n * Display the notification when the app is in foreground on iOS.\n */\n iosDisplayInForeground?: boolean;\n /**\n * Show each push notification individually (`default`) or collapse into one (`collapse`).\n */\n androidMode?: AndroidMode;\n /**\n * If `androidMode` is set to `collapse`, this title is used for the collapsed notification message. eg: `'#{unread_notifications} new interactions'`.\n */\n androidCollapsedTitle?: string;\n };\n /**\n * By default, Expo looks for the application registered with the AppRegistry as `main`. If you would like to change this, you can specify the name in this property.\n */\n appKey?: string;\n /**\n * Configuration for the status bar on Android.\n */\n androidStatusBar?: {\n /**\n * Configures the status bar icons to have a light or dark color.\n */\n barStyle?: AndroidBarStyle;\n /**\n * Specifies the background color of the status bar.\n */\n backgroundColor?: Color;\n };\n /**\n * Configuration for the bottom navigation bar on Android.\n */\n androidNavigationBar?: {\n /**\n * Determines how and when the navigation bar is shown. Boolean type added for backwards-compatibility (pre SDK-37)\n */\n visible?: 'leanback' | 'immersive' | 'sticky-immersive' | boolean;\n /**\n * Configure the navigation bar icons to have a light or dark color. Supported on Android Oreo and newer.\n */\n barStyle?: AndroidBarStyle;\n /**\n * Specifies the background color of the navigation bar.\n */\n backgroundColor?: Color;\n };\n /**\n * Adds a notification to your standalone app with refresh button and debug info.\n */\n androidShowExponentNotificationInShellApp?: boolean;\n /**\n * URL scheme to link into your app. For example, if we set this to `'demo'`, then demo:// URLs would open your app when tapped.\n * @pattern ^[a-z][a-z0-9+.-]*$\n * @regexHuman String beginning with a lowercase letter followed by any combination of lowercase letters, digits, \\\"+\\\", \\\".\\\" or \\\"-\\\"\n * @standaloneOnly\n */\n scheme?: string;\n /**\n * The relative path to your main JavaScript file.\n */\n entryPoint?: string;\n /**\n * Any extra fields you want to pass to your experience. Values are accessible via `Expo.Constants.manifest.extra` ([read more](../sdk/constants.html#expoconstantsmanifest))\n */\n extra?: {\n [key: string]: any;\n };\n rnCliPath?: string;\n packagerOpts?: {\n [key: string]: any;\n };\n ignoreNodeModulesValidation?: boolean;\n nodeModulesPath?: string;\n /**\n * Configuration for how and when the app should request OTA JavaScript updates\n */\n updates?: {\n /**\n * If set to false, your standalone app will never download any code, and will only use code bundled locally on the device. In that case, all updates to your app must be submitted through Apple review. Defaults to true. (Note that this will not work out of the box with ExpoKit projects)\n */\n enabled?: boolean;\n /**\n * By default, Expo will check for updates every time the app is loaded. Set this to `'ON_ERROR_RECOVERY'` to disable automatic checking unless recovering from an error.\n */\n checkAutomatically?: 'ON_ERROR_RECOVERY' | 'ON_LOAD';\n /**\n * How long (in ms) to allow for fetching OTA updates before falling back to a cached version of the app. Defaults to 30000 (30 sec).\n * minimum: 0,\n * maximum: 300000\n */\n fallbackToCacheTimeout?: number;\n };\n /**\n * Provide overrides by locale for System Dialog prompts like Permissions Boxes\n */\n locales?: { [key: string]: any };\n /**\n * iOS standalone app specific configuration\n * @standaloneOnly\n */\n ios?: IosPlatformConfig;\n /**\n * Android standalone app specific configuration\n * @standaloneOnly\n */\n android?: AndroidPlatformConfig;\n /**\n * Web platform specific configuration\n */\n web?: WebPlatformConfig;\n /**\n * Used for all Facebook libraries. Set up your Facebook App ID at https://developers.facebook.com.\n * @pattern ^[0-9]+$\n */\n facebookAppId?: string;\n /**\n * Used for native Facebook login.\n */\n facebookDisplayName?: string;\n /**\n * Used for Facebook native login. Starts with 'fb' and followed by a string of digits, like 'fb1234567890'. You can find your scheme at https://developers.facebook.com/docs/facebook-login/ios in the 'Configuring Your info.plist' section.\n */\n facebookScheme?: string;\n facebookAutoInitEnabled?: boolean;\n facebookAutoLogAppEventsEnabled?: boolean;\n facebookAdvertiserIDCollectionEnabled?: boolean;\n\n /**\n * Is app detached\n * @generated\n */\n isDetached?: boolean;\n /**\n * Extra fields needed by detached apps\n * @generated\n */\n detach?: {\n scheme?: string;\n iosExpoViewUrl?: string;\n androidExpoViewUrl?: string;\n [key: string]: any;\n };\n /**\n * Configuration for loading and splash screen for standalone apps.\n */\n splash?: Splash;\n /**\n * Configuration for scripts to run to hook into the publish process\n */\n hooks?: {\n postPublish?: string[];\n };\n /**\n * An array of file glob strings which point to assets that will be bundled within your standalone app binary. Read more in the [Offline Support guide](https://docs.expo.io/versions/latest/guides/offline-support.html)\n */\n assetBundlePatterns?: string[];\n [key: string]: any;\n};\nexport type ExpRc = { [key: string]: any };\nexport type Platform = 'android' | 'ios' | 'web';\nexport type ProjectTarget = 'managed' | 'bare';\n\nexport type ConfigErrorCode =\n | 'NO_APP_JSON'\n | 'NOT_OBJECT'\n | 'NO_EXPO'\n | 'MODULE_NOT_FOUND'\n | 'INVALID_MODE'\n | 'INVALID_FORMAT'\n | 'INVALID_CONFIG';\n\nexport type ConfigContext = {\n projectRoot: string;\n /**\n * The static config path either app.json, app.config.json, or a custom user-defined config.\n */\n staticConfigPath: string | null;\n packageJsonPath: string | null;\n config: Partial<ExpoConfig>;\n};\n\nexport type GetConfigOptions = {\n skipSDKVersionRequirement?: boolean;\n strict?: boolean;\n};\n\nexport type WriteConfigOptions = { dryRun?: boolean };\n\nexport type ConfigFilePaths = { staticConfigPath: string | null; dynamicConfigPath: string | null };\n"]}
\No newline at end of file