@expo/config-types 47.0.0 → 49.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ExpoConfig.d.ts +113 -91
- package/package.json +5 -4
package/build/ExpoConfig.d.ts
CHANGED
|
@@ -19,11 +19,11 @@ export interface ExpoConfig {
|
|
|
19
19
|
*/
|
|
20
20
|
owner?: string;
|
|
21
21
|
/**
|
|
22
|
-
* The auto generated Expo account name and slug used for display purposes. Formatted like `@username/slug`. When unauthenticated, the username is `@anonymous`. For published projects, this value may change when a project is transferred between accounts or renamed.
|
|
22
|
+
* The auto generated Expo account name and slug used for display purposes. It is not meant to be set directly. Formatted like `@username/slug`. When unauthenticated, the username is `@anonymous`. For published projects, this value may change when a project is transferred between accounts or renamed.
|
|
23
23
|
*/
|
|
24
24
|
currentFullName?: string;
|
|
25
25
|
/**
|
|
26
|
-
* The auto generated Expo account name and slug used for services like Notifications and AuthSession proxy. Formatted like `@username/slug`. When unauthenticated, the username is `@anonymous`. For published projects, this value will not change when a project is transferred between accounts or renamed.
|
|
26
|
+
* The auto generated Expo account name and slug used for services like Notifications and AuthSession proxy. It is not meant to be set directly. Formatted like `@username/slug`. When unauthenticated, the username is `@anonymous`. For published projects, this value will not change when a project is transferred between accounts or renamed.
|
|
27
27
|
*/
|
|
28
28
|
originalFullName?: string;
|
|
29
29
|
/**
|
|
@@ -38,11 +38,10 @@ export interface ExpoConfig {
|
|
|
38
38
|
* **Note: Don't use this property unless you are sure what you're doing**
|
|
39
39
|
*
|
|
40
40
|
* The runtime version associated with this manifest.
|
|
41
|
-
* Set this to `{"policy": "nativeVersion"}` to generate it automatically
|
|
42
|
-
* 'android.versionCode'/'ios.buildNumber' or to `{"policy": "appVersion"}` to use just 'version' field.
|
|
41
|
+
* Set this to `{"policy": "nativeVersion"}` to generate it automatically.
|
|
43
42
|
*/
|
|
44
43
|
runtimeVersion?: string | {
|
|
45
|
-
policy:
|
|
44
|
+
policy: 'nativeVersion' | 'sdkVersion' | 'appVersion';
|
|
46
45
|
};
|
|
47
46
|
/**
|
|
48
47
|
* Your app version. In addition to this field, you'll also use `ios.buildNumber` and `android.versionCode` — read more about how to version your app [here](https://docs.expo.dev/distribution/app-stores/#versioning-your-app). On iOS this corresponds to `CFBundleShortVersionString`, and on Android, this corresponds to `versionName`. The required format can be found [here](https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring).
|
|
@@ -101,10 +100,6 @@ export interface ExpoConfig {
|
|
|
101
100
|
*/
|
|
102
101
|
androidCollapsedTitle?: string;
|
|
103
102
|
};
|
|
104
|
-
/**
|
|
105
|
-
* @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.
|
|
106
|
-
*/
|
|
107
|
-
appKey?: string;
|
|
108
103
|
/**
|
|
109
104
|
* Configuration for the status bar on Android. For more details please navigate to [Configuring StatusBar](https://docs.expo.dev/guides/configuring-statusbar/).
|
|
110
105
|
*/
|
|
@@ -122,7 +117,7 @@ export interface ExpoConfig {
|
|
|
122
117
|
*/
|
|
123
118
|
hidden?: boolean;
|
|
124
119
|
/**
|
|
125
|
-
*
|
|
120
|
+
* 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.
|
|
126
121
|
*/
|
|
127
122
|
translucent?: boolean;
|
|
128
123
|
};
|
|
@@ -159,15 +154,11 @@ export interface ExpoConfig {
|
|
|
159
154
|
silentLaunch?: boolean;
|
|
160
155
|
};
|
|
161
156
|
/**
|
|
162
|
-
* **
|
|
163
|
-
*/
|
|
164
|
-
scheme?: string;
|
|
165
|
-
/**
|
|
166
|
-
* The relative path to your main JavaScript file.
|
|
157
|
+
* **Custom Builds Only**. URL scheme(s) to link into your app. For example, if we set this to `'demo'`, then demo:// URLs would open your app when tapped.
|
|
167
158
|
*/
|
|
168
|
-
|
|
159
|
+
scheme?: string | string[];
|
|
169
160
|
/**
|
|
170
|
-
* Any extra fields you want to pass to your experience. Values are accessible via `
|
|
161
|
+
* Any extra fields you want to pass to your experience. Values are accessible via `Constants.expoConfig.extra` ([Learn more](https://docs.expo.dev/versions/latest/sdk/constants/#constantsmanifest))
|
|
171
162
|
*/
|
|
172
163
|
extra?: {
|
|
173
164
|
[k: string]: any;
|
|
@@ -187,9 +178,9 @@ export interface ExpoConfig {
|
|
|
187
178
|
*/
|
|
188
179
|
enabled?: boolean;
|
|
189
180
|
/**
|
|
190
|
-
* 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. Must be one of `ON_LOAD`
|
|
181
|
+
* 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. Set this to `NEVER` to completely disable automatic checking. Must be one of `ON_LOAD` (default value), `ON_ERROR_RECOVERY`, `WIFI_ONLY`, or `NEVER`
|
|
191
182
|
*/
|
|
192
|
-
checkAutomatically?: 'ON_ERROR_RECOVERY' | 'ON_LOAD';
|
|
183
|
+
checkAutomatically?: 'ON_ERROR_RECOVERY' | 'ON_LOAD' | 'WIFI_ONLY' | 'NEVER';
|
|
193
184
|
/**
|
|
194
185
|
* How long (in ms) to allow for fetching OTA updates before falling back to a cached version of the app. Defaults to 0. Must be between 0 and 300000 (5 minutes).
|
|
195
186
|
*/
|
|
@@ -215,6 +206,16 @@ export interface ExpoConfig {
|
|
|
215
206
|
*/
|
|
216
207
|
keyid?: string;
|
|
217
208
|
};
|
|
209
|
+
/**
|
|
210
|
+
* Extra HTTP headers to include in HTTP requests made by `expo-updates`. These may override preset headers.
|
|
211
|
+
*/
|
|
212
|
+
requestHeaders?: {
|
|
213
|
+
[k: string]: any;
|
|
214
|
+
};
|
|
215
|
+
/**
|
|
216
|
+
* Whether to use deprecated Classic Updates when developing with the local Expo CLI and creating builds. Omitting this or setting it to false affects the behavior of APIs like `Constants.manifest`. SDK 49 is the last SDK version that supports Classic Updates.
|
|
217
|
+
*/
|
|
218
|
+
useClassicUpdates?: boolean;
|
|
218
219
|
};
|
|
219
220
|
/**
|
|
220
221
|
* Provide overrides by locale for System Dialog prompts like Permissions Boxes
|
|
@@ -224,30 +225,6 @@ export interface ExpoConfig {
|
|
|
224
225
|
[k: string]: any;
|
|
225
226
|
};
|
|
226
227
|
};
|
|
227
|
-
/**
|
|
228
|
-
* Used for all Facebook libraries. Set up your Facebook App ID at https://developers.facebook.com.
|
|
229
|
-
*/
|
|
230
|
-
facebookAppId?: string;
|
|
231
|
-
/**
|
|
232
|
-
* Whether the Facebook SDK should be initialized automatically. The default in Expo (Client and in standalone apps) is `false`.
|
|
233
|
-
*/
|
|
234
|
-
facebookAutoInitEnabled?: boolean;
|
|
235
|
-
/**
|
|
236
|
-
* 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`
|
|
237
|
-
*/
|
|
238
|
-
facebookAutoLogAppEventsEnabled?: boolean;
|
|
239
|
-
/**
|
|
240
|
-
* 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.)
|
|
241
|
-
*/
|
|
242
|
-
facebookAdvertiserIDCollectionEnabled?: boolean;
|
|
243
|
-
/**
|
|
244
|
-
* Used for native Facebook login.
|
|
245
|
-
*/
|
|
246
|
-
facebookDisplayName?: string;
|
|
247
|
-
/**
|
|
248
|
-
* 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).
|
|
249
|
-
*/
|
|
250
|
-
facebookScheme?: string;
|
|
251
228
|
/**
|
|
252
229
|
* Is app detached
|
|
253
230
|
*/
|
|
@@ -268,7 +245,7 @@ export interface ExpoConfig {
|
|
|
268
245
|
plugins?: (string | [] | [string] | [string, any])[];
|
|
269
246
|
splash?: Splash;
|
|
270
247
|
/**
|
|
271
|
-
* Specifies the JavaScript engine for apps. Supported only on EAS Build. Defaults to `
|
|
248
|
+
* Specifies the JavaScript engine for apps. Supported only on EAS Build. Defaults to `hermes`. Valid values: `hermes`, `jsc`.
|
|
272
249
|
*/
|
|
273
250
|
jsEngine?: 'hermes' | 'jsc';
|
|
274
251
|
ios?: IOS;
|
|
@@ -285,6 +262,10 @@ export interface ExpoConfig {
|
|
|
285
262
|
* Enable experimental features that may be unstable, unsupported, or removed without deprecation notices.
|
|
286
263
|
*/
|
|
287
264
|
experiments?: {
|
|
265
|
+
/**
|
|
266
|
+
* Enable tsconfig/jsconfig `compilerOptions.paths` and `compilerOptions.baseUrl` support for import aliases in Metro.
|
|
267
|
+
*/
|
|
268
|
+
tsconfigPaths?: boolean;
|
|
288
269
|
/**
|
|
289
270
|
* Enables Turbo Modules, which are a type of native modules that use a different way of communicating between JS and platform code. When installing a Turbo Module you will need to enable this experimental option (the library still needs to be a part of Expo SDK already, like react-native-reanimated v2). Turbo Modules do not support remote debugging and enabling this option will disable remote debugging.
|
|
290
271
|
*/
|
|
@@ -338,7 +319,7 @@ export interface IOS {
|
|
|
338
319
|
*/
|
|
339
320
|
bundleIdentifier?: string;
|
|
340
321
|
/**
|
|
341
|
-
* Build number for your iOS standalone app. Corresponds to `CFBundleVersion` and must match Apple's [specified format](https://developer.apple.com/
|
|
322
|
+
* 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`.)
|
|
342
323
|
*/
|
|
343
324
|
buildNumber?: string;
|
|
344
325
|
/**
|
|
@@ -351,16 +332,12 @@ export interface IOS {
|
|
|
351
332
|
* Expo will generate the other required sizes. This icon will appear on the home screen and within the Expo app.
|
|
352
333
|
*/
|
|
353
334
|
icon?: string;
|
|
354
|
-
/**
|
|
355
|
-
* @deprecated Merchant ID for use with Apple Pay in your standalone app.
|
|
356
|
-
*/
|
|
357
|
-
merchantId?: string;
|
|
358
335
|
/**
|
|
359
336
|
* 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.
|
|
360
337
|
*/
|
|
361
338
|
appStoreUrl?: string;
|
|
362
339
|
/**
|
|
363
|
-
* Enable iOS Bitcode optimizations in the native build. Accepts the name of an iOS build configuration to enable for a single configuration and disable for all others, e.g. Debug, Release. Not available in
|
|
340
|
+
* Enable iOS Bitcode optimizations in the native build. Accepts the name of an iOS build configuration to enable for a single configuration and disable for all others, e.g. Debug, Release. Not available in Expo Go. Defaults to `undefined` which uses the template's predefined settings.
|
|
364
341
|
*/
|
|
365
342
|
bitcode?: boolean | string;
|
|
366
343
|
/**
|
|
@@ -392,15 +369,6 @@ export interface IOS {
|
|
|
392
369
|
* A boolean indicating whether to initialize Google App Measurement and begin sending user-level event data to Google immediately when the app starts. The default in Expo (Go and in standalone apps) is `false`. [Sets the opposite of the given value to the following key in `Info.plist`.](https://developers.google.com/admob/ios/eu-consent#delay_app_measurement_optional)
|
|
393
370
|
*/
|
|
394
371
|
googleMobileAdsAutoInit?: boolean;
|
|
395
|
-
/**
|
|
396
|
-
* @deprecated Use `ios.googleServicesFile` instead.
|
|
397
|
-
*/
|
|
398
|
-
googleSignIn?: {
|
|
399
|
-
/**
|
|
400
|
-
* @deprecated Use `ios.googleServicesFile` instead.
|
|
401
|
-
*/
|
|
402
|
-
reservedClientId?: string;
|
|
403
|
-
};
|
|
404
372
|
};
|
|
405
373
|
/**
|
|
406
374
|
* [Firebase Configuration File](https://support.google.com/firebase/answer/7015592) Location of the `GoogleService-Info.plist` file for configuring Firebase.
|
|
@@ -454,10 +422,6 @@ export interface IOS {
|
|
|
454
422
|
* Configuration for loading and splash screen for standalone iOS apps.
|
|
455
423
|
*/
|
|
456
424
|
splash?: {
|
|
457
|
-
/**
|
|
458
|
-
* @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.
|
|
459
|
-
*/
|
|
460
|
-
xib?: string;
|
|
461
425
|
/**
|
|
462
426
|
* Color to fill the loading screen background
|
|
463
427
|
*/
|
|
@@ -474,21 +438,42 @@ export interface IOS {
|
|
|
474
438
|
* 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.
|
|
475
439
|
*/
|
|
476
440
|
tabletImage?: string;
|
|
441
|
+
/**
|
|
442
|
+
* Configuration for loading and splash screen for standalone iOS apps in dark mode.
|
|
443
|
+
*/
|
|
444
|
+
dark?: {
|
|
445
|
+
/**
|
|
446
|
+
* Color to fill the loading screen background
|
|
447
|
+
*/
|
|
448
|
+
backgroundColor?: string;
|
|
449
|
+
/**
|
|
450
|
+
* Determines how the `image` will be displayed in the splash loading screen. Must be one of `cover` or `contain`, defaults to `contain`.
|
|
451
|
+
*/
|
|
452
|
+
resizeMode?: 'cover' | 'contain';
|
|
453
|
+
/**
|
|
454
|
+
* 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.
|
|
455
|
+
*/
|
|
456
|
+
image?: string;
|
|
457
|
+
/**
|
|
458
|
+
* 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.
|
|
459
|
+
*/
|
|
460
|
+
tabletImage?: string;
|
|
461
|
+
[k: string]: any;
|
|
462
|
+
};
|
|
477
463
|
[k: string]: any;
|
|
478
464
|
};
|
|
479
465
|
/**
|
|
480
|
-
* Specifies the JavaScript engine for iOS apps. Supported only on EAS Build. Defaults to `
|
|
466
|
+
* Specifies the JavaScript engine for iOS apps. Supported only on EAS Build. Defaults to `hermes`. Valid values: `hermes`, `jsc`.
|
|
481
467
|
*/
|
|
482
468
|
jsEngine?: 'hermes' | 'jsc';
|
|
483
469
|
/**
|
|
484
470
|
* **Note: Don't use this property unless you are sure what you're doing**
|
|
485
471
|
*
|
|
486
472
|
* The runtime version associated with this manifest for the iOS platform. If provided, this will override the top level runtimeVersion key.
|
|
487
|
-
* Set this to `{"policy": "nativeVersion"}` to generate it automatically
|
|
488
|
-
* to `{"policy": "appVersion"}` to use just 'version' field.
|
|
473
|
+
* Set this to `{"policy": "nativeVersion"}` to generate it automatically.
|
|
489
474
|
*/
|
|
490
475
|
runtimeVersion?: string | {
|
|
491
|
-
policy:
|
|
476
|
+
policy: 'nativeVersion' | 'sdkVersion' | 'appVersion';
|
|
492
477
|
};
|
|
493
478
|
}
|
|
494
479
|
/**
|
|
@@ -519,10 +504,6 @@ export interface Android {
|
|
|
519
504
|
* 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`. Requires `expo-system-ui` be installed in your project to work on Android.
|
|
520
505
|
*/
|
|
521
506
|
userInterfaceStyle?: 'light' | 'dark' | 'automatic';
|
|
522
|
-
/**
|
|
523
|
-
* @deprecated A Boolean value that indicates whether the app should use the new notifications API.
|
|
524
|
-
*/
|
|
525
|
-
useNextNotificationsApi?: boolean;
|
|
526
507
|
/**
|
|
527
508
|
* 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.
|
|
528
509
|
*/
|
|
@@ -536,7 +517,11 @@ export interface Android {
|
|
|
536
517
|
*/
|
|
537
518
|
foregroundImage?: string;
|
|
538
519
|
/**
|
|
539
|
-
* Local path or remote URL to
|
|
520
|
+
* 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+.
|
|
521
|
+
*/
|
|
522
|
+
monochromeImage?: string;
|
|
523
|
+
/**
|
|
524
|
+
* 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).
|
|
540
525
|
*/
|
|
541
526
|
backgroundImage?: string;
|
|
542
527
|
/**
|
|
@@ -599,7 +584,7 @@ export interface Android {
|
|
|
599
584
|
*/
|
|
600
585
|
permissions?: string[];
|
|
601
586
|
/**
|
|
602
|
-
* List of permissions to block in the final `AndroidManifest.xml`. This is useful for removing permissions that are added by native package `AndroidManifest.xml` files which are merged into the final manifest. Internally this feature uses the `tools:node="remove"` XML attribute to remove permissions. Not available in
|
|
587
|
+
* List of permissions to block in the final `AndroidManifest.xml`. This is useful for removing permissions that are added by native package `AndroidManifest.xml` files which are merged into the final manifest. Internally this feature uses the `tools:node="remove"` XML attribute to remove permissions. Not available in Expo Go.
|
|
603
588
|
*/
|
|
604
589
|
blockedPermissions?: string[];
|
|
605
590
|
/**
|
|
@@ -636,19 +621,6 @@ export interface Android {
|
|
|
636
621
|
* A boolean indicating whether to initialize Google App Measurement and begin sending user-level event data to Google immediately when the app starts. The default in Expo (Client and in standalone apps) is `false`. [Sets the opposite of the given value to the following key in `Info.plist`](https://developers.google.com/admob/ios/eu-consent#delay_app_measurement_optional)
|
|
637
622
|
*/
|
|
638
623
|
googleMobileAdsAutoInit?: boolean;
|
|
639
|
-
/**
|
|
640
|
-
* @deprecated Use `googleServicesFile` instead. [Google Sign-In Android SDK](https://developers.google.com/identity/sign-in/android/start-integrating) keys for your standalone app.
|
|
641
|
-
*/
|
|
642
|
-
googleSignIn?: {
|
|
643
|
-
/**
|
|
644
|
-
* The Android API key. Can be found in the credentials section of the developer console or in `google-services.json`.
|
|
645
|
-
*/
|
|
646
|
-
apiKey?: string;
|
|
647
|
-
/**
|
|
648
|
-
* 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
|
|
649
|
-
*/
|
|
650
|
-
certificateHash?: string;
|
|
651
|
-
};
|
|
652
624
|
};
|
|
653
625
|
/**
|
|
654
626
|
* Configuration for loading and splash screen for managed and standalone Android apps.
|
|
@@ -696,6 +668,54 @@ export interface Android {
|
|
|
696
668
|
* `Scale 4x`
|
|
697
669
|
*/
|
|
698
670
|
xxxhdpi?: string;
|
|
671
|
+
/**
|
|
672
|
+
* Configuration for loading and splash screen for managed and standalone Android apps in dark mode.
|
|
673
|
+
*/
|
|
674
|
+
dark?: {
|
|
675
|
+
/**
|
|
676
|
+
* Color to fill the loading screen background
|
|
677
|
+
*/
|
|
678
|
+
backgroundColor?: string;
|
|
679
|
+
/**
|
|
680
|
+
* Determines how the `image` will be displayed in the splash loading screen. Must be one of `cover`, `contain` or `native`, defaults to `contain`.
|
|
681
|
+
*/
|
|
682
|
+
resizeMode?: 'cover' | 'contain' | 'native';
|
|
683
|
+
/**
|
|
684
|
+
* 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.
|
|
685
|
+
*/
|
|
686
|
+
image?: string;
|
|
687
|
+
/**
|
|
688
|
+
* 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)
|
|
689
|
+
*
|
|
690
|
+
* `Natural sized image (baseline)`
|
|
691
|
+
*/
|
|
692
|
+
mdpi?: string;
|
|
693
|
+
/**
|
|
694
|
+
* 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)
|
|
695
|
+
*
|
|
696
|
+
* `Scale 1.5x`
|
|
697
|
+
*/
|
|
698
|
+
hdpi?: string;
|
|
699
|
+
/**
|
|
700
|
+
* 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)
|
|
701
|
+
*
|
|
702
|
+
* `Scale 2x`
|
|
703
|
+
*/
|
|
704
|
+
xhdpi?: string;
|
|
705
|
+
/**
|
|
706
|
+
* 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)
|
|
707
|
+
*
|
|
708
|
+
* `Scale 3x`
|
|
709
|
+
*/
|
|
710
|
+
xxhdpi?: string;
|
|
711
|
+
/**
|
|
712
|
+
* 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)
|
|
713
|
+
*
|
|
714
|
+
* `Scale 4x`
|
|
715
|
+
*/
|
|
716
|
+
xxxhdpi?: string;
|
|
717
|
+
[k: string]: any;
|
|
718
|
+
};
|
|
699
719
|
[k: string]: any;
|
|
700
720
|
};
|
|
701
721
|
/**
|
|
@@ -719,18 +739,17 @@ export interface Android {
|
|
|
719
739
|
*/
|
|
720
740
|
softwareKeyboardLayoutMode?: 'resize' | 'pan';
|
|
721
741
|
/**
|
|
722
|
-
* Specifies the JavaScript engine for Android apps. Supported only on EAS Build and in Expo Go. Defaults to `
|
|
742
|
+
* Specifies the JavaScript engine for Android apps. Supported only on EAS Build and in Expo Go. Defaults to `hermes`. Valid values: `hermes`, `jsc`.
|
|
723
743
|
*/
|
|
724
744
|
jsEngine?: 'hermes' | 'jsc';
|
|
725
745
|
/**
|
|
726
746
|
* **Note: Don't use this property unless you are sure what you're doing**
|
|
727
747
|
*
|
|
728
748
|
* The runtime version associated with this manifest for the Android platform. If provided, this will override the top level runtimeVersion key.
|
|
729
|
-
* Set this to `{"policy": "nativeVersion"}` to generate it automatically
|
|
730
|
-
* to `{"policy": "appVersion"}` to use just 'version' field.
|
|
749
|
+
* Set this to `{"policy": "nativeVersion"}` to generate it automatically.
|
|
731
750
|
*/
|
|
732
751
|
runtimeVersion?: string | {
|
|
733
|
-
policy:
|
|
752
|
+
policy: 'nativeVersion' | 'sdkVersion' | 'appVersion';
|
|
734
753
|
};
|
|
735
754
|
}
|
|
736
755
|
export interface AndroidIntentFiltersData {
|
|
@@ -767,6 +786,10 @@ export interface AndroidIntentFiltersData {
|
|
|
767
786
|
* Configuration that is specific to the web platform.
|
|
768
787
|
*/
|
|
769
788
|
export interface Web {
|
|
789
|
+
/**
|
|
790
|
+
* Sets the rendering method for the web app for both `expo start` and `expo export`. `static` statically renders HTML files for every route in the `app/` directory, which is available only in Expo Router apps. `single` outputs a Single Page Application (SPA), with a single `index.html` in the output folder, and has no statically indexable HTML. Defaults to `single`.
|
|
791
|
+
*/
|
|
792
|
+
output?: 'single' | 'static';
|
|
770
793
|
/**
|
|
771
794
|
* Relative path of an image to use for your app's favicon.
|
|
772
795
|
*/
|
|
@@ -877,4 +900,3 @@ export interface PublishHook {
|
|
|
877
900
|
};
|
|
878
901
|
[k: string]: any;
|
|
879
902
|
}
|
|
880
|
-
export declare type RuntimeVersionPolicy = 'sdkVersion' | 'nativeVersion' | 'appVersion';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/config-types",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "49.0.0-alpha.1",
|
|
4
4
|
"description": "Types for the Expo config object app.config.ts",
|
|
5
5
|
"types": "build/ExpoConfig.d.ts",
|
|
6
6
|
"main": "build/ExpoConfig.js",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"generate": "ts-node ./scripts/generate.ts",
|
|
11
11
|
"prepare": "yarn run clean && yarn build",
|
|
12
12
|
"clean": "rimraf build ./tsconfig.tsbuildinfo",
|
|
13
|
-
"lint": "eslint .",
|
|
13
|
+
"lint": "eslint . && npx prettier --write src/ExpoConfig.ts",
|
|
14
14
|
"test": "jest"
|
|
15
15
|
},
|
|
16
16
|
"repository": {
|
|
@@ -35,11 +35,12 @@
|
|
|
35
35
|
"build"
|
|
36
36
|
],
|
|
37
37
|
"devDependencies": {
|
|
38
|
+
"@expo/babel-preset-cli": "^0.2.24",
|
|
38
39
|
"json-schema-to-typescript": "^10.0.0",
|
|
39
|
-
"
|
|
40
|
+
"ts-node": "^10.9.1"
|
|
40
41
|
},
|
|
41
42
|
"publishConfig": {
|
|
42
43
|
"access": "public"
|
|
43
44
|
},
|
|
44
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "b8be1f6c8dc273698908751db0555049866d899b"
|
|
45
46
|
}
|