Socket
Socket
Sign inDemoInstall

@expo/config-types

Package Overview
Dependencies
Maintainers
20
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@expo/config-types - npm Package Compare versions

Comparing version 47.0.0 to 48.0.0

168

build/ExpoConfig.d.ts

@@ -41,7 +41,6 @@ /**

* The runtime version associated with this manifest.
* Set this to `{"policy": "nativeVersion"}` to generate it automatically based on the 'version' and
* 'android.versionCode'/'ios.buildNumber' or to `{"policy": "appVersion"}` to use just 'version' field.
* Set this to `{"policy": "nativeVersion"}` to generate it automatically.
*/
runtimeVersion?: string | {
policy: RuntimeVersionPolicy;
policy: 'nativeVersion' | 'sdkVersion' | 'appVersion';
};

@@ -106,6 +105,2 @@ /**

/**
* @deprecated 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.
*/
appKey?: string;
/**
* Configuration for the status bar on Android. For more details please navigate to [Configuring StatusBar](https://docs.expo.dev/guides/configuring-statusbar/).

@@ -127,3 +122,3 @@ */

/**
* Sets `android:windowTranslucentStatus` in `styles.xml`. When false, the system status bar pushes the content of your app down (similar to `position: relative`). When true, the status bar floats above the content in your app (similar to `position: absolute`). Defaults to `true` to match the iOS status bar behavior (which can only float above content).
* When false, the system status bar pushes the content of your app down (similar to `position: relative`). When true, the status bar floats above the content in your app (similar to `position: absolute`). Defaults to `true` to match the iOS status bar behavior (which can only float above content). Explicitly setting this property to `true` will add `android:windowTranslucentStatus` to `styles.xml` and may cause unexpected keyboard behavior on Android when using the `softwareKeyboardLayoutMode` set to `resize`. In this case you will have to use `KeyboardAvoidingView` to manage the keyboard layout.
*/

@@ -169,3 +164,3 @@ translucent?: boolean;

/**
* The relative path to your main JavaScript file.
* @deprecated Use a `main` field in the project `package.json` instead.
*/

@@ -222,2 +217,8 @@ entryPoint?: string;

};
/**
* Extra HTTP headers to include in HTTP requests made by `expo-updates`. These may override preset headers.
*/
requestHeaders?: {
[k: string]: any;
};
};

@@ -233,26 +234,2 @@ /**

/**
* Used for all Facebook libraries. Set up your Facebook App ID at https://developers.facebook.com.
*/
facebookAppId?: string;
/**
* Whether the Facebook SDK should be initialized automatically. The default in Expo (Client and in standalone apps) is `false`.
*/
facebookAutoInitEnabled?: boolean;
/**
* Whether the Facebook SDK log app events automatically. If you don't set this property, Facebook's default will be used. (Applicable only to standalone apps.) Note: The Facebook SDK must be initialized for app events to work. You may autoinitialize Facebook SDK by setting `facebookAutoInitEnabled` to `true`
*/
facebookAutoLogAppEventsEnabled?: boolean;
/**
* Whether the Facebook SDK should collect advertiser ID properties, like the Apple IDFA and Android Advertising ID, automatically. If you don't set this property, Facebook's default policy will be used. (Applicable only to standalone apps.)
*/
facebookAdvertiserIDCollectionEnabled?: boolean;
/**
* Used for native Facebook login.
*/
facebookDisplayName?: string;
/**
* Used for Facebook native login. Starts with 'fb' and followed by a string of digits, like 'fb1234567890'. You can find your scheme [here](https://developers.facebook.com/docs/facebook-login/ios)in the 'Configuring Your info.plist' section (only applicable to standalone apps and custom Expo Go apps).
*/
facebookScheme?: string;
/**
* Is app detached

@@ -277,3 +254,3 @@ */

/**
* Specifies the JavaScript engine for apps. Supported only on EAS Build. Defaults to `jsc`. Valid values: `hermes`, `jsc`.
* Specifies the JavaScript engine for apps. Supported only on EAS Build. Defaults to `hermes`. Valid values: `hermes`, `jsc`.
*/

@@ -348,3 +325,3 @@ jsEngine?: 'hermes' | 'jsc';

/**
* Build number for your iOS standalone app. Corresponds to `CFBundleVersion` and must match Apple's [specified format](https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-102364). (Note: Transporter will pull the value for `Version Number` from `expo.version` and NOT from `expo.ios.buildNumber`.)
* Build number for your iOS standalone app. Corresponds to `CFBundleVersion` and must match Apple's [specified format](https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleversion). (Note: Transporter will pull the value for `Version Number` from `expo.version` and NOT from `expo.ios.buildNumber`.)
*/

@@ -363,6 +340,2 @@ buildNumber?: string;

/**
* @deprecated Merchant ID for use with Apple Pay in your standalone app.
*/
merchantId?: string;
/**
* 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.

@@ -404,11 +377,2 @@ */

googleMobileAdsAutoInit?: boolean;
/**
* @deprecated Use `ios.googleServicesFile` instead.
*/
googleSignIn?: {
/**
* @deprecated Use `ios.googleServicesFile` instead.
*/
reservedClientId?: string;
};
};

@@ -468,6 +432,2 @@ /**

/**
* @deprecated Apple has deprecated `.xib` splash screens in favor of `.storyboard` files. Local path to a XIB file as the loading screen. It overrides other loading screen options. Note: This will only be used in the standalone app (i.e., after you build the app). It will not be used in the Expo Go.
*/
xib?: string;
/**
* Color to fill the loading screen background

@@ -488,2 +448,24 @@ */

tabletImage?: string;
/**
* Configuration for loading and splash screen for standalone iOS apps in dark mode.
*/
dark?: {
/**
* Color to fill the loading screen background
*/
backgroundColor?: string;
/**
* Determines how the `image` will be displayed in the splash loading screen. Must be one of `cover` or `contain`, defaults to `contain`.
*/
resizeMode?: 'cover' | 'contain';
/**
* 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.
*/
image?: string;
/**
* 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.
*/
tabletImage?: string;
[k: string]: any;
};
[k: string]: any;

@@ -499,7 +481,6 @@ };

* The runtime version associated with this manifest for the iOS platform. If provided, this will override the top level runtimeVersion key.
* Set this to `{"policy": "nativeVersion"}` to generate it automatically based on the 'version' and 'ios.buildNumber' or
* to `{"policy": "appVersion"}` to use just 'version' field.
* Set this to `{"policy": "nativeVersion"}` to generate it automatically.
*/
runtimeVersion?: string | {
policy: RuntimeVersionPolicy;
policy: 'nativeVersion' | 'sdkVersion' | 'appVersion';
};

@@ -536,6 +517,2 @@ }

/**
* @deprecated A Boolean value that indicates whether the app should use the new notifications API.
*/
useNextNotificationsApi?: boolean;
/**
* 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.

@@ -553,4 +530,8 @@ */

/**
* Local path or remote URL to a background image for your app's Adaptive Icon on Android. If specified, this overrides the `backgroundColor` key. Must have the same dimensions as foregroundImage`, and has no effect if `foregroundImage` is not specified. Should follow the [specified guidelines](https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive).
* Local path or remote URL to an image representing the Android 13+ monochromatic icon. Should follow the [specified guidelines](https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive). This icon will appear on the home screen when the user enables 'Themed icons' in system settings on a device running Android 13+.
*/
monochromeImage?: string;
/**
* Local path or remote URL to a background image for your app's Adaptive Icon on Android. If specified, this overrides the `backgroundColor` key. Must have the same dimensions as `foregroundImage`, and has no effect if `foregroundImage` is not specified. Should follow the [specified guidelines](https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive).
*/
backgroundImage?: string;

@@ -654,15 +635,2 @@ /**

googleMobileAdsAutoInit?: boolean;
/**
* @deprecated Use `googleServicesFile` instead. [Google Sign-In Android SDK](https://developers.google.com/identity/sign-in/android/start-integrating) keys for your standalone app.
*/
googleSignIn?: {
/**
* The Android API key. Can be found in the credentials section of the developer console or in `google-services.json`.
*/
apiKey?: string;
/**
* 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
*/
certificateHash?: string;
};
};

@@ -715,2 +683,50 @@ /**

xxxhdpi?: string;
/**
* Configuration for loading and splash screen for managed and standalone Android apps in dark mode.
*/
dark?: {
/**
* Color to fill the loading screen background
*/
backgroundColor?: string;
/**
* Determines how the `image` will be displayed in the splash loading screen. Must be one of `cover`, `contain` or `native`, defaults to `contain`.
*/
resizeMode?: 'cover' | 'contain' | 'native';
/**
* 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.
*/
image?: string;
/**
* Local path or remote URL to an image to fill the background of the loading screen in "native" mode. Image size and aspect ratio are up to you. [Learn more]( https://developer.android.com/training/multiscreen/screendensities)
*
* `Natural sized image (baseline)`
*/
mdpi?: string;
/**
* Local path or remote URL to an image to fill the background of the loading screen in "native" mode. Image size and aspect ratio are up to you. [Learn more]( https://developer.android.com/training/multiscreen/screendensities)
*
* `Scale 1.5x`
*/
hdpi?: string;
/**
* Local path or remote URL to an image to fill the background of the loading screen in "native" mode. Image size and aspect ratio are up to you. [Learn more]( https://developer.android.com/training/multiscreen/screendensities)
*
* `Scale 2x`
*/
xhdpi?: string;
/**
* Local path or remote URL to an image to fill the background of the loading screen in "native" mode. Image size and aspect ratio are up to you. [Learn more]( https://developer.android.com/training/multiscreen/screendensities)
*
* `Scale 3x`
*/
xxhdpi?: string;
/**
* Local path or remote URL to an image to fill the background of the loading screen in "native" mode. Image size and aspect ratio are up to you. [Learn more]( https://developer.android.com/training/multiscreen/screendensities)
*
* `Scale 4x`
*/
xxxhdpi?: string;
[k: string]: any;
};
[k: string]: any;

@@ -746,7 +762,6 @@ };

* The runtime version associated with this manifest for the Android platform. If provided, this will override the top level runtimeVersion key.
* Set this to `{"policy": "nativeVersion"}` to generate it automatically based on the 'version' and 'versionCode' or
* to `{"policy": "appVersion"}` to use just 'version' field.
* Set this to `{"policy": "nativeVersion"}` to generate it automatically.
*/
runtimeVersion?: string | {
policy: RuntimeVersionPolicy;
policy: 'nativeVersion' | 'sdkVersion' | 'appVersion';
};

@@ -898,2 +913,1 @@ }

}
export declare type RuntimeVersionPolicy = 'sdkVersion' | 'nativeVersion' | 'appVersion';
{
"name": "@expo/config-types",
"version": "47.0.0",
"version": "48.0.0",
"description": "Types for the Expo config object app.config.ts",

@@ -44,3 +44,3 @@ "types": "build/ExpoConfig.d.ts",

},
"gitHead": "eab2b09c735fb0fc2bf734a3f29a6593adba3838"
"gitHead": "1815e2eaad8c753588c7b1eb74420174a28e01f4"
}
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