Home
last modified time | relevance | path

Searched refs:splash (Results 1 – 25 of 137) sorted by relevance

123456

/expo/packages/@expo/prebuild-config/src/plugins/unversioned/expo-splash-screen/
H A DgetAndroidSplashConfig.ts21 const splash = config.android?.splash; constant
23 xxxhdpi: splash.xxxhdpi ?? splash.image ?? null,
24 xxhdpi: splash.xxhdpi ?? splash.image ?? null,
25 xhdpi: splash.xhdpi ?? splash.image ?? null,
26 hdpi: splash.hdpi ?? splash.image ?? null,
27 mdpi: splash.mdpi ?? splash.image ?? null,
34 const splash = config.splash; constant
55 const splash = config.android?.splash?.dark; constant
60 xhdpi: splash.xhdpi ?? splash.image ?? null,
61 hdpi: splash.hdpi ?? splash.image ?? null,
[all …]
H A DgetIosSplashConfig.ts28 if (config.ios?.splash) {
29 const splash = config.ios?.splash; constant
30 const image = splash.image ?? null;
33 resizeMode: splash.resizeMode ?? defaultResizeMode,
35 tabletImage: splash.tabletImage ?? null,
38 image: splash.dark?.image ?? null,
39 backgroundColor: splash.dark?.backgroundColor,
40 tabletImage: splash.dark?.tabletImage ?? null,
46 if (config.splash) {
47 const splash = config.splash; constant
[all …]
H A DwithIosSplashScreen.ts15 splash
18 if (!splash) {
19 splash = getIosSplashConfig(config);
24 debug(`config:`, splash);
27 [withIosSplashInfoPlist, splash],
28 [withIosSplashAssets, splash],
30 [withIosSplashScreenImage, splash],
H A DwithIosSplashInfoPlist.ts9 export const withIosSplashInfoPlist: ConfigPlugin<IOSSplashConfig> = (config, splash) => {
11 config.modResults = setSplashInfoPlist(config, config.modResults, splash);
19 splash: IOSSplashConfig
22 splash?.dark?.image ||
23 splash?.dark?.tabletImage ||
24 splash?.dark?.backgroundColor ||
25 splash?.dark?.tabletBackgroundColor
48 if (splash) {
H A DwtihIosSplashScreenStoryboardImage.ts12 export const withIosSplashScreenImage: ConfigPlugin<IOSSplashConfig> = (config, splash) => {
14 config.modResults = applySplashScreenStoryboard(config.modResults, splash);
19 export function applySplashScreenStoryboard(obj: IBSplashScreenDocument, splash: IOSSplashConfig) {
20 const resizeMode = splash?.resizeMode;
21 const splashScreenImagePresent = Boolean(splash?.image);
H A DwithIosSplashAssets.ts28 if (!splash) {
38 splash,
44 image: splash.image,
45 darkImage: splash.dark?.image,
46 tabletImage: splash.tabletImage,
47 darkTabletImage: splash.dark?.tabletImage,
190 splash,
194 splash: IOSSplashConfig;
196 const color = splash.backgroundColor;
197 const darkColor = splash.dark?.backgroundColor;
[all …]
H A DwithAndroidSplashDrawables.ts7 splash
12 if (splash) {
13 await setSplashDrawableAsync(splash, config.modRequest.projectRoot);
/expo/packages/@expo/prebuild-config/build/plugins/unversioned/expo-splash-screen/
H A DgetAndroidSplashConfig.js15 …const splash = (_config$android2 = config.android) === null || _config$android2 === void 0 ? void …
17 …xxxhdpi: (_ref = (_splash$xxxhdpi = splash.xxxhdpi) !== null && _splash$xxxhdpi !== void 0 ? _spla…
18 …xxhdpi: (_ref2 = (_splash$xxhdpi = splash.xxhdpi) !== null && _splash$xxhdpi !== void 0 ? _splash$…
19 …xhdpi: (_ref3 = (_splash$xhdpi = splash.xhdpi) !== null && _splash$xhdpi !== void 0 ? _splash$xhdp…
20 …hdpi: (_ref4 = (_splash$hdpi = splash.hdpi) !== null && _splash$hdpi !== void 0 ? _splash$hdpi : s…
21 …mdpi: (_ref5 = (_splash$mdpi = splash.mdpi) !== null && _splash$mdpi !== void 0 ? _splash$mdpi : s…
26 if (config.splash) {
28 const splash = config.splash;
52 …xhdpi: (_ref8 = (_splash$xhdpi2 = splash.xhdpi) !== null && _splash$xhdpi2 !== void 0 ? _splash$xh…
53 …hdpi: (_ref9 = (_splash$hdpi2 = splash.hdpi) !== null && _splash$hdpi2 !== void 0 ? _splash$hdpi2 …
[all …]
H A DgetIosSplashConfig.js14 if ((_config$ios = config.ios) !== null && _config$ios !== void 0 && _config$ios.splash) {
16 …const splash = (_config$ios2 = config.ios) === null || _config$ios2 === void 0 ? void 0 : _config$…
17 …const image = (_splash$image = splash.image) !== null && _splash$image !== void 0 ? _splash$image …
20 …resizeMode: (_splash$resizeMode = splash.resizeMode) !== null && _splash$resizeMode !== void 0 ? _…
22 …tabletImage: (_splash$tabletImage = splash.tabletImage) !== null && _splash$tabletImage !== void 0…
23 tabletBackgroundColor: splash.tabletBackgroundColor,
26 …backgroundColor: (_splash$dark2 = splash.dark) === null || _splash$dark2 === void 0 ? void 0 : _sp…
28 …tabletBackgroundColor: (_splash$dark4 = splash.dark) === null || _splash$dark4 === void 0 ? void 0…
32 if (config.splash) {
34 const splash = config.splash;
[all …]
H A DwithIosSplashInfoPlist.js24 const withIosSplashInfoPlist = (config, splash) => { argument
26 config.modResults = setSplashInfoPlist(config, config.modResults, splash);
31 function setSplashInfoPlist(config, infoPlist, splash) { argument
33splash !== null && splash !== void 0 && (_splash$dark = splash.dark) !== null && _splash$dark !== …
51 if (splash) {
H A DwtihIosSplashScreenStoryboardImage.js22 const withIosSplashScreenImage = (config, splash) => { argument
24 config.modResults = applySplashScreenStoryboard(config.modResults, splash);
29 function applySplashScreenStoryboard(obj, splash) { argument
30 const resizeMode = splash === null || splash === void 0 ? void 0 : splash.resizeMode;
31 …const splashScreenImagePresent = Boolean(splash === null || splash === void 0 ? void 0 : splash.im…
H A DgetAndroidSplashConfig.js.map1splash","_config$android2","_ref","_splash$xxxhdpi","_ref2","_splash$xxhdpi","_ref3","_splash$xhdp…
H A DwithIosSplashScreen.js65 const withIosSplashScreen = (config, splash) => { argument
67 if (!splash) {
68 splash = (0, _getIosSplashConfig().getIosSplashConfig)(config);
72 debug(`config:`, splash);
73 …hIosSplashInfoPlist().withIosSplashInfoPlist, splash], [_withIosSplashAssets().withIosSplashAssets…
75 [_wtihIosSplashScreenStoryboardImage().withIosSplashScreenImage, splash],
H A DgetIosSplashConfig.js.map1splash","_config$ios2","_splash$image","_splash$resizeMode","_splash$backgroundCol","_splash$table…
H A DwithIosSplashScreen.js.map1splash","getIosSplashConfig","withPlugins","withIosSplashInfoPlist","withIosSplashAssets","withIos…
H A DwithIosSplashAssets.js70 const withIosSplashAssets = (config, splash) => { argument
71 if (!splash) {
79 splash
84 image: splash.image,
85 …darkImage: (_splash$dark = splash.dark) === null || _splash$dark === void 0 ? void 0 : _splash$dar…
86 tabletImage: splash.tabletImage,
87 …darkTabletImage: (_splash$dark2 = splash.dark) === null || _splash$dark2 === void 0 ? void 0 : _sp…
191 splash
194 const color = splash.backgroundColor;
195 …const darkColor = (_splash$dark3 = splash.dark) === null || _splash$dark3 === void 0 ? void 0 : _s…
[all …]
H A DwithAndroidSplashDrawables.js15 const withAndroidSplashDrawables = (config, splash) => { argument
17 if (splash) {
18 await setSplashDrawableAsync(splash, config.modRequest.projectRoot);
/expo/docs/pages/versions/unversioned/sdk/
H A Dsplash-screen.mdx5 packageName: 'expo-splash-screen'
15 … the guide on [creating a splash screen image](/develop/user-interface/splash-screen/), or [quickl…
25 This example shows how to keep the splash screen visible while loading app resources and then hide …
31 import * as SplashScreen from 'expo-splash-screen';
34 // Keep the splash screen visible while we fetch resources
89 - [`splash`](../config/app.mdx#splash)
90 - [`android.splash`](../config/app.mdx#splash-2)
91 - [`ios.splash`](../config/app.mdx#splash-1)
99 ### Animating the splash screen
101splash-screen](https://github.com/expo/examples/tree/master/with-splash-screen) example on how to …
[all …]
/expo/docs/pages/versions/v49.0.0/sdk/
H A Dsplash-screen.mdx5 packageName: 'expo-splash-screen'
15 … the guide on [creating a splash screen image](/develop/user-interface/splash-screen/), or [quickl…
25 This example shows how to keep the splash screen visible while loading app resources and then hide …
31 import * as SplashScreen from 'expo-splash-screen';
34 // Keep the splash screen visible while we fetch resources
89 - [`splash`](../config/app.mdx#splash)
90 - [`android.splash`](../config/app.mdx#splash-2)
91 - [`ios.splash`](../config/app.mdx#splash-1)
99 ### Animating the splash screen
101splash-screen](https://github.com/expo/examples/tree/master/with-splash-screen) example on how to …
[all …]
/expo/docs/pages/versions/v48.0.0/sdk/
H A Dsplash-screen.mdx5 packageName: 'expo-splash-screen'
17 … the guide on [creating a splash screen image](/develop/user-interface/splash-screen/), or [quickl…
33 import * as SplashScreen from 'expo-splash-screen';
36 // Keep the splash screen visible while we fetch resources
91 - [`splash`](../config/app.mdx#splash)
92 - [`android.splash`](../config/app.mdx#splash-2)
93 - [`ios.splash`](../config/app.mdx#splash-1)
95 ### Animate the splash screen
98 title="Animate splash screen example"
99 …description="See with-splash-screen example on how to apply any arbitrary animations to your splas…
[all …]
/expo/docs/pages/versions/v46.0.0/sdk/
H A Dsplash-screen.mdx4 sourceCodeUrl: 'https://github.com/expo/expo/tree/sdk-46/packages/expo-splash-screen'
5 packageName: 'expo-splash-screen'
14 … the guide on [creating a splash screen image](/develop/user-interface/splash-screen/), or [quickl…
24 This example shows how to keep the splash screen visible while loading app resources and then hide …
30 import * as SplashScreen from 'expo-splash-screen';
33 // Keep the splash screen visible while we fetch resources
63 // we hide the splash screen once we know the root view has already
84 ### Animating the splash screen
86splash-screen](https://github.com/expo/examples/tree/master/with-splash-screen) example on how to …
91 import * as SplashScreen from 'expo-splash-screen';
[all …]
/expo/docs/pages/versions/v47.0.0/sdk/
H A Dsplash-screen.mdx5 packageName: 'expo-splash-screen'
16 … the guide on [creating a splash screen image](/develop/user-interface/splash-screen/), or [quickl…
26 This example shows how to keep the splash screen visible while loading app resources and then hide …
32 import * as SplashScreen from 'expo-splash-screen';
35 // Keep the splash screen visible while we fetch resources
86 ### Animate the splash screen
89 title="Animate splash screen example"
90 …description="See with-splash-screen example on how to apply any arbitrary animations to your splas…
92 href="https://github.com/expo/examples/tree/master/with-splash-screen"
98 import * as SplashScreen from 'expo-splash-screen';
[all …]
/expo/docs/pages/develop/user-interface/
H A Dsplash-screen.mdx19 ## Make a splash image
35 ## Export the splash image as a .png
39 ### Using `splash.image`
46 "splash": {
47 "image": "./assets/splash.png"
57 ### `splash.backgroundColor`
66 "splash": {
67 "image": "./assets/splash.png",
79 ### `splash.resizeMode`
92 "splash": {
[all …]
/expo/packages/@expo/prebuild-config/src/plugins/unversioned/expo-splash-screen/__tests__/
H A DgetAndroidSplashConfig-test.ts6 splash: { backgroundColor: 'red', image: 'a' },
7 android: { splash: { mdpi: 'b' } },
17 splash: { backgroundColor: 'red', image: 'a' },
18 android: { splash: { mdpi: 'b', dark: { image: 'c' } } },
/expo/docs/pages/tutorial/
H A Dconfiguration.mdx2 title: Configure status bar, splash screen and app icon
57 The splash screen is configured by defining a path to the `"splash.image"` property in the <A href=…
63 src="/static/images/tutorial/splash.png"
70 <Video file={'tutorial/splash-add.mp4'} />
78 <Terminal cmd={['$ npx expo install expo-splash-screen']} />
83 import * as SplashScreen from 'expo-splash-screen';
99 ## Configure the splash screen background color
101 We can configure the splash screen's background color in **app.json** file. Open it and make the fo…
106 "splash": {
107 "image": "./assets/splash.png",
[all …]

123456