expo-splash-screen 56.0.6 → 56.0.8

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.
Files changed (55) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/android/build.gradle +2 -2
  3. package/build/SplashScreen.d.ts +38 -0
  4. package/build/SplashScreen.d.ts.map +1 -0
  5. package/build/SplashScreen.js +41 -0
  6. package/build/SplashScreen.js.map +1 -0
  7. package/build/{index.native.d.ts → SplashScreen.native.d.ts} +1 -1
  8. package/build/SplashScreen.native.d.ts.map +1 -0
  9. package/build/{index.native.js → SplashScreen.native.js} +1 -1
  10. package/build/SplashScreen.native.js.map +1 -0
  11. package/build/index.d.ts +1 -37
  12. package/build/index.d.ts.map +1 -1
  13. package/build/index.js +1 -40
  14. package/build/index.js.map +1 -1
  15. package/expo-module.config.json +1 -1
  16. package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/{56.0.6/expo.modules.splashscreen-56.0.6.module → 56.0.8/expo.modules.splashscreen-56.0.8.module} +7 -7
  17. package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/56.0.8/expo.modules.splashscreen-56.0.8.module.md5 +1 -0
  18. package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/56.0.8/expo.modules.splashscreen-56.0.8.module.sha1 +1 -0
  19. package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/56.0.8/expo.modules.splashscreen-56.0.8.module.sha256 +1 -0
  20. package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/56.0.8/expo.modules.splashscreen-56.0.8.module.sha512 +1 -0
  21. package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/{56.0.6/expo.modules.splashscreen-56.0.6.pom → 56.0.8/expo.modules.splashscreen-56.0.8.pom} +1 -1
  22. package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/56.0.8/expo.modules.splashscreen-56.0.8.pom.md5 +1 -0
  23. package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/56.0.8/expo.modules.splashscreen-56.0.8.pom.sha1 +1 -0
  24. package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/56.0.8/expo.modules.splashscreen-56.0.8.pom.sha256 +1 -0
  25. package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/56.0.8/expo.modules.splashscreen-56.0.8.pom.sha512 +1 -0
  26. package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/maven-metadata.xml +4 -4
  27. package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/maven-metadata.xml.md5 +1 -1
  28. package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/maven-metadata.xml.sha1 +1 -1
  29. package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/maven-metadata.xml.sha256 +1 -1
  30. package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/maven-metadata.xml.sha512 +1 -1
  31. package/package.json +5 -5
  32. package/plugin/tsconfig.tsbuildinfo +1 -0
  33. package/src/SplashScreen.ts +46 -0
  34. package/src/index.ts +1 -47
  35. package/build/index.native.d.ts.map +0 -1
  36. package/build/index.native.js.map +0 -1
  37. package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/56.0.6/expo.modules.splashscreen-56.0.6.module.md5 +0 -1
  38. package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/56.0.6/expo.modules.splashscreen-56.0.6.module.sha1 +0 -1
  39. package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/56.0.6/expo.modules.splashscreen-56.0.6.module.sha256 +0 -1
  40. package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/56.0.6/expo.modules.splashscreen-56.0.6.module.sha512 +0 -1
  41. package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/56.0.6/expo.modules.splashscreen-56.0.6.pom.md5 +0 -1
  42. package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/56.0.6/expo.modules.splashscreen-56.0.6.pom.sha1 +0 -1
  43. package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/56.0.6/expo.modules.splashscreen-56.0.6.pom.sha256 +0 -1
  44. package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/56.0.6/expo.modules.splashscreen-56.0.6.pom.sha512 +0 -1
  45. /package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/{56.0.6/expo.modules.splashscreen-56.0.6-sources.jar → 56.0.8/expo.modules.splashscreen-56.0.8-sources.jar} +0 -0
  46. /package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/{56.0.6/expo.modules.splashscreen-56.0.6-sources.jar.md5 → 56.0.8/expo.modules.splashscreen-56.0.8-sources.jar.md5} +0 -0
  47. /package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/{56.0.6/expo.modules.splashscreen-56.0.6-sources.jar.sha1 → 56.0.8/expo.modules.splashscreen-56.0.8-sources.jar.sha1} +0 -0
  48. /package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/{56.0.6/expo.modules.splashscreen-56.0.6-sources.jar.sha256 → 56.0.8/expo.modules.splashscreen-56.0.8-sources.jar.sha256} +0 -0
  49. /package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/{56.0.6/expo.modules.splashscreen-56.0.6-sources.jar.sha512 → 56.0.8/expo.modules.splashscreen-56.0.8-sources.jar.sha512} +0 -0
  50. /package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/{56.0.6/expo.modules.splashscreen-56.0.6.aar → 56.0.8/expo.modules.splashscreen-56.0.8.aar} +0 -0
  51. /package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/{56.0.6/expo.modules.splashscreen-56.0.6.aar.md5 → 56.0.8/expo.modules.splashscreen-56.0.8.aar.md5} +0 -0
  52. /package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/{56.0.6/expo.modules.splashscreen-56.0.6.aar.sha1 → 56.0.8/expo.modules.splashscreen-56.0.8.aar.sha1} +0 -0
  53. /package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/{56.0.6/expo.modules.splashscreen-56.0.6.aar.sha256 → 56.0.8/expo.modules.splashscreen-56.0.8.aar.sha256} +0 -0
  54. /package/local-maven-repo/host/exp/exponent/expo.modules.splashscreen/{56.0.6/expo.modules.splashscreen-56.0.6.aar.sha512 → 56.0.8/expo.modules.splashscreen-56.0.8.aar.sha512} +0 -0
  55. /package/src/{index.native.ts → SplashScreen.native.ts} +0 -0
package/CHANGELOG.md CHANGED
@@ -10,6 +10,16 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 56.0.8 — 2026-05-19
14
+
15
+ _This version does not introduce any user-facing changes._
16
+
17
+ ## 56.0.7 — 2026-05-15
18
+
19
+ ### 🐛 Bug fixes
20
+
21
+ - Fix `exports` field resolving to the web stubs on native, making functions like `preventAutoHideAsync` no-ops. ([#45798](https://github.com/expo/expo/pull/45798) by [@zoontek](https://github.com/zoontek))
22
+
13
23
  ## 56.0.6 — 2026-05-13
14
24
 
15
25
  _This version does not introduce any user-facing changes._
@@ -4,13 +4,13 @@ plugins {
4
4
  }
5
5
 
6
6
  group = 'host.exp.exponent'
7
- version = '56.0.6'
7
+ version = '56.0.8'
8
8
 
9
9
  android {
10
10
  namespace "expo.modules.splashscreen"
11
11
  defaultConfig {
12
12
  versionCode 17
13
- versionName '56.0.6'
13
+ versionName '56.0.8'
14
14
  }
15
15
  }
16
16
 
@@ -0,0 +1,38 @@
1
+ import type { SplashScreenOptions } from './SplashScreen.types';
2
+ /**
3
+ * Makes the native splash screen (configured in `app.json`) remain visible until `hideAsync` is called.
4
+ *
5
+ * > **Important note**: It is recommended to call this in global scope without awaiting, rather than
6
+ * > inside React components or hooks, because otherwise this might be called too late,
7
+ * > when the splash screen is already hidden.
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * import * as SplashScreen from 'expo-splash-screen';
12
+ *
13
+ * SplashScreen.preventAutoHideAsync();
14
+ *
15
+ * export default function App() {
16
+ * // ...
17
+ * }
18
+ * ```
19
+ */
20
+ export declare function preventAutoHideAsync(): Promise<boolean>;
21
+ /**
22
+ *
23
+ * Configures the splashscreens default animation behavior.
24
+ *
25
+ */
26
+ export declare function setOptions(options: SplashScreenOptions): void;
27
+ /**
28
+ * Hides the native splash screen immediately. Be careful to ensure that your app has content ready
29
+ * to display when you hide the splash screen, or you may see a blank screen briefly. See the
30
+ * ["Usage"](#usage) section for an example.
31
+ */
32
+ export declare function hide(): void;
33
+ /**
34
+ * Hides the native splash screen immediately. This method is provided for backwards compatability. See the
35
+ * ["Usage"](#usage) section for an example.
36
+ */
37
+ export declare function hideAsync(): Promise<void>;
38
+ //# sourceMappingURL=SplashScreen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SplashScreen.d.ts","sourceRoot":"","sources":["../src/SplashScreen.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAEhE;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAsB,oBAAoB,IAAI,OAAO,CAAC,OAAO,CAAC,CAE7D;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,mBAAmB,GAAG,IAAI,CAAG;AAGjE;;;;GAIG;AACH,wBAAgB,IAAI,IAAI,IAAI,CAAG;AAE/B;;;GAGG;AACH,wBAAsB,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC,CAAG"}
@@ -0,0 +1,41 @@
1
+ // @needsAudit
2
+ /**
3
+ * Makes the native splash screen (configured in `app.json`) remain visible until `hideAsync` is called.
4
+ *
5
+ * > **Important note**: It is recommended to call this in global scope without awaiting, rather than
6
+ * > inside React components or hooks, because otherwise this might be called too late,
7
+ * > when the splash screen is already hidden.
8
+ *
9
+ * @example
10
+ * ```ts
11
+ * import * as SplashScreen from 'expo-splash-screen';
12
+ *
13
+ * SplashScreen.preventAutoHideAsync();
14
+ *
15
+ * export default function App() {
16
+ * // ...
17
+ * }
18
+ * ```
19
+ */
20
+ export async function preventAutoHideAsync() {
21
+ return false;
22
+ }
23
+ /**
24
+ *
25
+ * Configures the splashscreens default animation behavior.
26
+ *
27
+ */
28
+ export function setOptions(options) { }
29
+ // @needsAudit
30
+ /**
31
+ * Hides the native splash screen immediately. Be careful to ensure that your app has content ready
32
+ * to display when you hide the splash screen, or you may see a blank screen briefly. See the
33
+ * ["Usage"](#usage) section for an example.
34
+ */
35
+ export function hide() { }
36
+ /**
37
+ * Hides the native splash screen immediately. This method is provided for backwards compatability. See the
38
+ * ["Usage"](#usage) section for an example.
39
+ */
40
+ export async function hideAsync() { }
41
+ //# sourceMappingURL=SplashScreen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SplashScreen.js","sourceRoot":"","sources":["../src/SplashScreen.ts"],"names":[],"mappings":"AAAA,cAAc;AAId;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,KAAK,UAAU,oBAAoB;IACxC,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,UAAU,CAAC,OAA4B,IAAS,CAAC;AAEjE,cAAc;AACd;;;;GAIG;AACH,MAAM,UAAU,IAAI,KAAU,CAAC;AAE/B;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,SAAS,KAAmB,CAAC","sourcesContent":["// @needsAudit\n\nimport type { SplashScreenOptions } from './SplashScreen.types';\n\n/**\n * Makes the native splash screen (configured in `app.json`) remain visible until `hideAsync` is called.\n *\n * > **Important note**: It is recommended to call this in global scope without awaiting, rather than\n * > inside React components or hooks, because otherwise this might be called too late,\n * > when the splash screen is already hidden.\n *\n * @example\n * ```ts\n * import * as SplashScreen from 'expo-splash-screen';\n *\n * SplashScreen.preventAutoHideAsync();\n *\n * export default function App() {\n * // ...\n * }\n * ```\n */\nexport async function preventAutoHideAsync(): Promise<boolean> {\n return false;\n}\n\n/**\n *\n * Configures the splashscreens default animation behavior.\n *\n */\nexport function setOptions(options: SplashScreenOptions): void {}\n\n// @needsAudit\n/**\n * Hides the native splash screen immediately. Be careful to ensure that your app has content ready\n * to display when you hide the splash screen, or you may see a blank screen briefly. See the\n * [\"Usage\"](#usage) section for an example.\n */\nexport function hide(): void {}\n\n/**\n * Hides the native splash screen immediately. This method is provided for backwards compatability. See the\n * [\"Usage\"](#usage) section for an example.\n */\nexport async function hideAsync(): Promise<void> {}\n"]}
@@ -3,4 +3,4 @@ export declare function setOptions(options: SplashScreenOptions): void;
3
3
  export declare function hide(): void;
4
4
  export declare function hideAsync(): Promise<void>;
5
5
  export declare function preventAutoHideAsync(): Promise<boolean | undefined>;
6
- //# sourceMappingURL=index.native.d.ts.map
6
+ //# sourceMappingURL=SplashScreen.native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SplashScreen.native.d.ts","sourceRoot":"","sources":["../src/SplashScreen.native.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAA4B,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAI1F,wBAAgB,UAAU,CAAC,OAAO,EAAE,mBAAmB,QAatD;AAED,wBAAgB,IAAI,SAMnB;AAED,wBAAsB,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC,CAE/C;AAED,wBAAsB,oBAAoB,iCAMzC"}
@@ -26,4 +26,4 @@ export async function preventAutoHideAsync() {
26
26
  }
27
27
  return SplashModule.preventAutoHideAsync();
28
28
  }
29
- //# sourceMappingURL=index.native.js.map
29
+ //# sourceMappingURL=SplashScreen.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SplashScreen.native.js","sourceRoot":"","sources":["../src/SplashScreen.native.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,MAAM,CAAC;AACzC,OAAO,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAC;AAIhE,MAAM,YAAY,GAAG,2BAA2B,CAA2B,kBAAkB,CAAC,CAAC;AAE/F,MAAM,UAAU,UAAU,CAAC,OAA4B;IACrD,IAAI,CAAC,YAAY,EAAE,CAAC;QAClB,OAAO;IACT,CAAC;IAED,IAAI,iBAAiB,EAAE,EAAE,CAAC;QACxB,OAAO,CAAC,IAAI,CACV,sHAAsH,CACvH,CAAC;QACF,OAAO;IACT,CAAC;IAED,YAAY,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AACnC,CAAC;AAED,MAAM,UAAU,IAAI;IAClB,IAAI,CAAC,YAAY,EAAE,CAAC;QAClB,OAAO;IACT,CAAC;IAED,YAAY,CAAC,IAAI,EAAE,CAAC;AACtB,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,SAAS;IAC7B,IAAI,EAAE,CAAC;AACT,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,oBAAoB;IACxC,IAAI,CAAC,YAAY,EAAE,CAAC;QAClB,OAAO;IACT,CAAC;IAED,OAAO,YAAY,CAAC,oBAAoB,EAAE,CAAC;AAC7C,CAAC","sourcesContent":["import { isRunningInExpoGo } from 'expo';\nimport { requireOptionalNativeModule } from 'expo-modules-core';\n\nimport type { SplashScreenNativeModule, SplashScreenOptions } from './SplashScreen.types';\n\nconst SplashModule = requireOptionalNativeModule<SplashScreenNativeModule>('ExpoSplashScreen');\n\nexport function setOptions(options: SplashScreenOptions) {\n if (!SplashModule) {\n return;\n }\n\n if (isRunningInExpoGo()) {\n console.warn(\n \"'Splashscreen.setOptions' cannot be used in Expo Go. To customize the splash screen, you can use development builds.\"\n );\n return;\n }\n\n SplashModule.setOptions(options);\n}\n\nexport function hide() {\n if (!SplashModule) {\n return;\n }\n\n SplashModule.hide();\n}\n\nexport async function hideAsync(): Promise<void> {\n hide();\n}\n\nexport async function preventAutoHideAsync() {\n if (!SplashModule) {\n return;\n }\n\n return SplashModule.preventAutoHideAsync();\n}\n"]}
package/build/index.d.ts CHANGED
@@ -1,39 +1,3 @@
1
- import type { SplashScreenOptions } from './SplashScreen.types';
2
- /**
3
- * Makes the native splash screen (configured in `app.json`) remain visible until `hideAsync` is called.
4
- *
5
- * > **Important note**: It is recommended to call this in global scope without awaiting, rather than
6
- * > inside React components or hooks, because otherwise this might be called too late,
7
- * > when the splash screen is already hidden.
8
- *
9
- * @example
10
- * ```ts
11
- * import * as SplashScreen from 'expo-splash-screen';
12
- *
13
- * SplashScreen.preventAutoHideAsync();
14
- *
15
- * export default function App() {
16
- * // ...
17
- * }
18
- * ```
19
- */
20
- export declare function preventAutoHideAsync(): Promise<boolean>;
21
- /**
22
- *
23
- * Configures the splashscreens default animation behavior.
24
- *
25
- */
26
- export declare function setOptions(options: SplashScreenOptions): void;
27
- /**
28
- * Hides the native splash screen immediately. Be careful to ensure that your app has content ready
29
- * to display when you hide the splash screen, or you may see a blank screen briefly. See the
30
- * ["Usage"](#usage) section for an example.
31
- */
32
- export declare function hide(): void;
33
- /**
34
- * Hides the native splash screen immediately. This method is provided for backwards compatability. See the
35
- * ["Usage"](#usage) section for an example.
36
- */
37
- export declare function hideAsync(): Promise<void>;
1
+ export * from './SplashScreen';
38
2
  export type { SplashScreenOptions } from './SplashScreen.types';
39
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAEhE;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAsB,oBAAoB,IAAI,OAAO,CAAC,OAAO,CAAC,CAE7D;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,mBAAmB,GAAG,IAAI,CAAG;AAGjE;;;;GAIG;AACH,wBAAgB,IAAI,IAAI,IAAI,CAAG;AAE/B;;;GAGG;AACH,wBAAsB,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC,CAAG;AAEnD,YAAY,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,YAAY,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC"}
package/build/index.js CHANGED
@@ -1,41 +1,2 @@
1
- // @needsAudit
2
- /**
3
- * Makes the native splash screen (configured in `app.json`) remain visible until `hideAsync` is called.
4
- *
5
- * > **Important note**: It is recommended to call this in global scope without awaiting, rather than
6
- * > inside React components or hooks, because otherwise this might be called too late,
7
- * > when the splash screen is already hidden.
8
- *
9
- * @example
10
- * ```ts
11
- * import * as SplashScreen from 'expo-splash-screen';
12
- *
13
- * SplashScreen.preventAutoHideAsync();
14
- *
15
- * export default function App() {
16
- * // ...
17
- * }
18
- * ```
19
- */
20
- export async function preventAutoHideAsync() {
21
- return false;
22
- }
23
- /**
24
- *
25
- * Configures the splashscreens default animation behavior.
26
- *
27
- */
28
- export function setOptions(options) { }
29
- // @needsAudit
30
- /**
31
- * Hides the native splash screen immediately. Be careful to ensure that your app has content ready
32
- * to display when you hide the splash screen, or you may see a blank screen briefly. See the
33
- * ["Usage"](#usage) section for an example.
34
- */
35
- export function hide() { }
36
- /**
37
- * Hides the native splash screen immediately. This method is provided for backwards compatability. See the
38
- * ["Usage"](#usage) section for an example.
39
- */
40
- export async function hideAsync() { }
1
+ export * from './SplashScreen';
41
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc;AAId;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,KAAK,UAAU,oBAAoB;IACxC,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,UAAU,CAAC,OAA4B,IAAS,CAAC;AAEjE,cAAc;AACd;;;;GAIG;AACH,MAAM,UAAU,IAAI,KAAU,CAAC;AAE/B;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,SAAS,KAAmB,CAAC","sourcesContent":["// @needsAudit\n\nimport type { SplashScreenOptions } from './SplashScreen.types';\n\n/**\n * Makes the native splash screen (configured in `app.json`) remain visible until `hideAsync` is called.\n *\n * > **Important note**: It is recommended to call this in global scope without awaiting, rather than\n * > inside React components or hooks, because otherwise this might be called too late,\n * > when the splash screen is already hidden.\n *\n * @example\n * ```ts\n * import * as SplashScreen from 'expo-splash-screen';\n *\n * SplashScreen.preventAutoHideAsync();\n *\n * export default function App() {\n * // ...\n * }\n * ```\n */\nexport async function preventAutoHideAsync(): Promise<boolean> {\n return false;\n}\n\n/**\n *\n * Configures the splashscreens default animation behavior.\n *\n */\nexport function setOptions(options: SplashScreenOptions): void {}\n\n// @needsAudit\n/**\n * Hides the native splash screen immediately. Be careful to ensure that your app has content ready\n * to display when you hide the splash screen, or you may see a blank screen briefly. See the\n * [\"Usage\"](#usage) section for an example.\n */\nexport function hide(): void {}\n\n/**\n * Hides the native splash screen immediately. This method is provided for backwards compatability. See the\n * [\"Usage\"](#usage) section for an example.\n */\nexport async function hideAsync(): Promise<void> {}\n\nexport type { SplashScreenOptions } from './SplashScreen.types';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC","sourcesContent":["export * from './SplashScreen';\nexport type { SplashScreenOptions } from './SplashScreen.types';\n"]}
@@ -9,7 +9,7 @@
9
9
  "publication": {
10
10
  "groupId": "host.exp.exponent",
11
11
  "artifactId": "expo.modules.splashscreen",
12
- "version": "56.0.6",
12
+ "version": "56.0.8",
13
13
  "repository": "local-maven-repo"
14
14
  }
15
15
  }
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "host.exp.exponent",
5
5
  "module": "expo.modules.splashscreen",
6
- "version": "56.0.6",
6
+ "version": "56.0.8",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
@@ -24,8 +24,8 @@
24
24
  },
25
25
  "files": [
26
26
  {
27
- "name": "expo.modules.splashscreen-56.0.6.aar",
28
- "url": "expo.modules.splashscreen-56.0.6.aar",
27
+ "name": "expo.modules.splashscreen-56.0.8.aar",
28
+ "url": "expo.modules.splashscreen-56.0.8.aar",
29
29
  "size": 26004,
30
30
  "sha512": "62b22cb3f466b903bfec8fdaeb98031cf2391509406a04a2193e3c3bd60fac251912c8ba91bda55051ef4dbc779e230120d9400e5a0d784a554e4b3f6034e647",
31
31
  "sha256": "f36cdaf4241abc29e138f0a0c44ace5b8f36a43dfbcbcba7ad8745bd431f588e",
@@ -85,8 +85,8 @@
85
85
  ],
86
86
  "files": [
87
87
  {
88
- "name": "expo.modules.splashscreen-56.0.6.aar",
89
- "url": "expo.modules.splashscreen-56.0.6.aar",
88
+ "name": "expo.modules.splashscreen-56.0.8.aar",
89
+ "url": "expo.modules.splashscreen-56.0.8.aar",
90
90
  "size": 26004,
91
91
  "sha512": "62b22cb3f466b903bfec8fdaeb98031cf2391509406a04a2193e3c3bd60fac251912c8ba91bda55051ef4dbc779e230120d9400e5a0d784a554e4b3f6034e647",
92
92
  "sha256": "f36cdaf4241abc29e138f0a0c44ace5b8f36a43dfbcbcba7ad8745bd431f588e",
@@ -105,8 +105,8 @@
105
105
  },
106
106
  "files": [
107
107
  {
108
- "name": "expo.modules.splashscreen-56.0.6-sources.jar",
109
- "url": "expo.modules.splashscreen-56.0.6-sources.jar",
108
+ "name": "expo.modules.splashscreen-56.0.8-sources.jar",
109
+ "url": "expo.modules.splashscreen-56.0.8-sources.jar",
110
110
  "size": 3255,
111
111
  "sha512": "cab7a74ada7f6bda1a3b07df3787e0cf24949ddb581d4aec81f1f6910254de2458f3978e2578f539084529745227dc5b289ef53f4f17bf0061fad1ea5f403e58",
112
112
  "sha256": "4f4ec662f0535b38318695d84eba02ddf1aca3cc6c26e57cd9b38488fc7bb323",
@@ -0,0 +1 @@
1
+ 7c287c31b5650cbb488cf15c33cc5f7aaf3401880024e6d5631cfb2f552a6811
@@ -0,0 +1 @@
1
+ 410b7aa8755539ffac0d9a2d0b5d57541ad1c0c4846af9ab968557fb01e74df13c98aa726947222928e0699076672ec8ab6305ee0af9c6d7c61937cff013310e
@@ -9,7 +9,7 @@
9
9
  <modelVersion>4.0.0</modelVersion>
10
10
  <groupId>host.exp.exponent</groupId>
11
11
  <artifactId>expo.modules.splashscreen</artifactId>
12
- <version>56.0.6</version>
12
+ <version>56.0.8</version>
13
13
  <packaging>aar</packaging>
14
14
  <name>expo.modules.splashscreen</name>
15
15
  <url>https://github.com/expo/expo</url>
@@ -0,0 +1 @@
1
+ 4ea78fe05ef0d35cba194b629684dd7a5f3e3f1b2bb727e5ed0e0343aa599eaf
@@ -0,0 +1 @@
1
+ 67a3962e35379c8356b541a6b59cfb78c61896d8e8853aab461f864cb524ef9ea58fb8d390873a23077a8119fc1adb160be33a83c3b369d74304ac4f917d2400
@@ -3,11 +3,11 @@
3
3
  <groupId>host.exp.exponent</groupId>
4
4
  <artifactId>expo.modules.splashscreen</artifactId>
5
5
  <versioning>
6
- <latest>56.0.6</latest>
7
- <release>56.0.6</release>
6
+ <latest>56.0.8</latest>
7
+ <release>56.0.8</release>
8
8
  <versions>
9
- <version>56.0.6</version>
9
+ <version>56.0.8</version>
10
10
  </versions>
11
- <lastUpdated>20260513235016</lastUpdated>
11
+ <lastUpdated>20260519105303</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- 2dbb4ef7573ecee31d6450fccb0e9f80
1
+ 0b9447bf8710adf84c290ceb12e3fa72
@@ -1 +1 @@
1
- 60d09bb87f1037b435b6e71b28b4eb0b72d2fbb1
1
+ f2fceea9aa874637f19deb1a5487c4358928c0f1
@@ -1 +1 @@
1
- 4980c875d6a32891fdfe9733b1ba72391c2d8feb46aa41ff1d19c8deb62e9050
1
+ bbe110572778ef4fff7825e886abecde5687e3a8a0013091772088590a173545
@@ -1 +1 @@
1
- 2f4b157473400e1186e64f2db3cb881baefd40a56a1f57bcb524f695b85195d33d1f42837c155b8e60aca59f0f4caebbd1a4050d4753f5a2cf119984a29e07e8
1
+ b50fd8ed21c6f8908d8e39c7717601262b2733ae9a4024e12648632948ede2d2a364aa5b83f206393b592eca93dbc8f39abbb0664a4dc3085e856c3c6b89ec41
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-splash-screen",
3
- "version": "56.0.6",
3
+ "version": "56.0.8",
4
4
  "description": "Provides a module to allow keeping the native Splash Screen visible until you choose to hide it.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -31,22 +31,22 @@
31
31
  "license": "MIT",
32
32
  "homepage": "https://docs.expo.dev/versions/latest/sdk/splash-screen/",
33
33
  "dependencies": {
34
- "@expo/config-plugins": "~56.0.5",
35
- "@expo/image-utils": "^0.9.2",
34
+ "@expo/config-plugins": "~56.0.6",
35
+ "@expo/image-utils": "^0.9.3",
36
36
  "xml2js": "0.6.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/node": "^22.14.0",
40
40
  "@types/xml2js": "~0.4.11",
41
41
  "memfs": "^3.2.0",
42
- "expo": "56.0.0-preview.11",
43
42
  "expo-module-scripts": "56.0.2",
43
+ "expo": "56.0.0-preview.13",
44
44
  "@expo/plist": "0.6.1"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "expo": "*"
48
48
  },
49
- "gitHead": "51c27fce31a5b3a877a4b05d832dabf4a99db5e1",
49
+ "gitHead": "290368bc41026449a05a4ebf991b85c3a2fb0e3a",
50
50
  "scripts": {
51
51
  "build": "expo-module build",
52
52
  "clean": "expo-module clean",
@@ -0,0 +1 @@
1
+ {"root":["./src/index.ts","./src/withsplashscreen.ts"],"version":"5.9.3"}
@@ -0,0 +1,46 @@
1
+ // @needsAudit
2
+
3
+ import type { SplashScreenOptions } from './SplashScreen.types';
4
+
5
+ /**
6
+ * Makes the native splash screen (configured in `app.json`) remain visible until `hideAsync` is called.
7
+ *
8
+ * > **Important note**: It is recommended to call this in global scope without awaiting, rather than
9
+ * > inside React components or hooks, because otherwise this might be called too late,
10
+ * > when the splash screen is already hidden.
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * import * as SplashScreen from 'expo-splash-screen';
15
+ *
16
+ * SplashScreen.preventAutoHideAsync();
17
+ *
18
+ * export default function App() {
19
+ * // ...
20
+ * }
21
+ * ```
22
+ */
23
+ export async function preventAutoHideAsync(): Promise<boolean> {
24
+ return false;
25
+ }
26
+
27
+ /**
28
+ *
29
+ * Configures the splashscreens default animation behavior.
30
+ *
31
+ */
32
+ export function setOptions(options: SplashScreenOptions): void {}
33
+
34
+ // @needsAudit
35
+ /**
36
+ * Hides the native splash screen immediately. Be careful to ensure that your app has content ready
37
+ * to display when you hide the splash screen, or you may see a blank screen briefly. See the
38
+ * ["Usage"](#usage) section for an example.
39
+ */
40
+ export function hide(): void {}
41
+
42
+ /**
43
+ * Hides the native splash screen immediately. This method is provided for backwards compatability. See the
44
+ * ["Usage"](#usage) section for an example.
45
+ */
46
+ export async function hideAsync(): Promise<void> {}
package/src/index.ts CHANGED
@@ -1,48 +1,2 @@
1
- // @needsAudit
2
-
3
- import type { SplashScreenOptions } from './SplashScreen.types';
4
-
5
- /**
6
- * Makes the native splash screen (configured in `app.json`) remain visible until `hideAsync` is called.
7
- *
8
- * > **Important note**: It is recommended to call this in global scope without awaiting, rather than
9
- * > inside React components or hooks, because otherwise this might be called too late,
10
- * > when the splash screen is already hidden.
11
- *
12
- * @example
13
- * ```ts
14
- * import * as SplashScreen from 'expo-splash-screen';
15
- *
16
- * SplashScreen.preventAutoHideAsync();
17
- *
18
- * export default function App() {
19
- * // ...
20
- * }
21
- * ```
22
- */
23
- export async function preventAutoHideAsync(): Promise<boolean> {
24
- return false;
25
- }
26
-
27
- /**
28
- *
29
- * Configures the splashscreens default animation behavior.
30
- *
31
- */
32
- export function setOptions(options: SplashScreenOptions): void {}
33
-
34
- // @needsAudit
35
- /**
36
- * Hides the native splash screen immediately. Be careful to ensure that your app has content ready
37
- * to display when you hide the splash screen, or you may see a blank screen briefly. See the
38
- * ["Usage"](#usage) section for an example.
39
- */
40
- export function hide(): void {}
41
-
42
- /**
43
- * Hides the native splash screen immediately. This method is provided for backwards compatability. See the
44
- * ["Usage"](#usage) section for an example.
45
- */
46
- export async function hideAsync(): Promise<void> {}
47
-
1
+ export * from './SplashScreen';
48
2
  export type { SplashScreenOptions } from './SplashScreen.types';
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../src/index.native.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAA4B,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAI1F,wBAAgB,UAAU,CAAC,OAAO,EAAE,mBAAmB,QAatD;AAED,wBAAgB,IAAI,SAMnB;AAED,wBAAsB,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC,CAE/C;AAED,wBAAsB,oBAAoB,iCAMzC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.native.js","sourceRoot":"","sources":["../src/index.native.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,MAAM,CAAC;AACzC,OAAO,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAC;AAIhE,MAAM,YAAY,GAAG,2BAA2B,CAA2B,kBAAkB,CAAC,CAAC;AAE/F,MAAM,UAAU,UAAU,CAAC,OAA4B;IACrD,IAAI,CAAC,YAAY,EAAE,CAAC;QAClB,OAAO;IACT,CAAC;IAED,IAAI,iBAAiB,EAAE,EAAE,CAAC;QACxB,OAAO,CAAC,IAAI,CACV,sHAAsH,CACvH,CAAC;QACF,OAAO;IACT,CAAC;IAED,YAAY,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AACnC,CAAC;AAED,MAAM,UAAU,IAAI;IAClB,IAAI,CAAC,YAAY,EAAE,CAAC;QAClB,OAAO;IACT,CAAC;IAED,YAAY,CAAC,IAAI,EAAE,CAAC;AACtB,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,SAAS;IAC7B,IAAI,EAAE,CAAC;AACT,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,oBAAoB;IACxC,IAAI,CAAC,YAAY,EAAE,CAAC;QAClB,OAAO;IACT,CAAC;IAED,OAAO,YAAY,CAAC,oBAAoB,EAAE,CAAC;AAC7C,CAAC","sourcesContent":["import { isRunningInExpoGo } from 'expo';\nimport { requireOptionalNativeModule } from 'expo-modules-core';\n\nimport type { SplashScreenNativeModule, SplashScreenOptions } from './SplashScreen.types';\n\nconst SplashModule = requireOptionalNativeModule<SplashScreenNativeModule>('ExpoSplashScreen');\n\nexport function setOptions(options: SplashScreenOptions) {\n if (!SplashModule) {\n return;\n }\n\n if (isRunningInExpoGo()) {\n console.warn(\n \"'Splashscreen.setOptions' cannot be used in Expo Go. To customize the splash screen, you can use development builds.\"\n );\n return;\n }\n\n SplashModule.setOptions(options);\n}\n\nexport function hide() {\n if (!SplashModule) {\n return;\n }\n\n SplashModule.hide();\n}\n\nexport async function hideAsync(): Promise<void> {\n hide();\n}\n\nexport async function preventAutoHideAsync() {\n if (!SplashModule) {\n return;\n }\n\n return SplashModule.preventAutoHideAsync();\n}\n"]}
@@ -1 +0,0 @@
1
- f71a5d7a3844b67fd61dc5fcc6a7ecf27e8e979d67c250cd4b7c9b3dd618eed3
@@ -1 +0,0 @@
1
- ca9dffd93d90de0c1ba700a48e088b090e202844f4cdbdf1f8f0523bf1b3f254eca1a5555f21a858cebb6d15dc1fb2cfa5e4f70c98e7a8c192fe5d2c7defcdcb
@@ -1 +0,0 @@
1
- dc6b3bae20175a31e4a5c86ec363353896952f175e96b60933a73b27e0a529f5
@@ -1 +0,0 @@
1
- 02e0db62299525756178f018580f8eb704d0f1cf9b1099f9db035ab093626249c84a548b1569854d8573aba567ef703b8154c4c45f44988b6d29ec5ac3bd793b
File without changes