react-native-edge-to-edge 1.7.0 → 1.8.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.
Files changed (57) hide show
  1. package/README.md +40 -9
  2. package/android/build.gradle +11 -18
  3. package/android/src/main/AndroidManifest.xml +1 -1
  4. package/android/src/main/java/com/zoontek/rnedgetoedge/EdgeToEdgeModuleImpl.kt +5 -0
  5. package/android/src/main/java/com/zoontek/rnedgetoedge/EdgeToEdgePackage.kt +0 -1
  6. package/app.plugin.js +2 -1
  7. package/dist/commonjs/{expo.js → extras/expo.js} +8 -5
  8. package/dist/commonjs/extras/expo.js.map +1 -0
  9. package/dist/commonjs/index.js +1 -20
  10. package/dist/commonjs/index.js.map +1 -1
  11. package/dist/commonjs/package.json +1 -0
  12. package/dist/module/{expo.js → extras/expo.js} +6 -4
  13. package/dist/module/extras/expo.js.map +1 -0
  14. package/dist/module/index.js +1 -2
  15. package/dist/module/index.js.map +1 -1
  16. package/dist/module/package.json +1 -0
  17. package/dist/typescript/{SystemBars.d.ts → commonjs/SystemBars.d.ts} +1 -1
  18. package/dist/typescript/commonjs/SystemBars.d.ts.map +1 -0
  19. package/dist/typescript/commonjs/extras/expo.d.ts +24 -0
  20. package/dist/typescript/commonjs/extras/expo.d.ts.map +1 -0
  21. package/dist/typescript/commonjs/index.d.ts +3 -0
  22. package/dist/typescript/commonjs/index.d.ts.map +1 -0
  23. package/dist/typescript/commonjs/package.json +1 -0
  24. package/dist/typescript/commonjs/specs/NativeEdgeToEdgeModule.d.ts.map +1 -0
  25. package/dist/typescript/commonjs/specs/NativeEdgeToEdgeModule.web.d.ts.map +1 -0
  26. package/dist/typescript/commonjs/types.d.ts.map +1 -0
  27. package/dist/typescript/module/SystemBars.d.ts +10 -0
  28. package/dist/typescript/module/SystemBars.d.ts.map +1 -0
  29. package/dist/typescript/module/extras/expo.d.ts +24 -0
  30. package/dist/typescript/module/extras/expo.d.ts.map +1 -0
  31. package/dist/typescript/module/index.d.ts +3 -0
  32. package/dist/typescript/module/index.d.ts.map +1 -0
  33. package/dist/typescript/module/package.json +1 -0
  34. package/dist/typescript/module/specs/NativeEdgeToEdgeModule.d.ts +11 -0
  35. package/dist/typescript/module/specs/NativeEdgeToEdgeModule.d.ts.map +1 -0
  36. package/dist/typescript/module/specs/NativeEdgeToEdgeModule.web.d.ts +3 -0
  37. package/dist/typescript/module/specs/NativeEdgeToEdgeModule.web.d.ts.map +1 -0
  38. package/dist/typescript/module/types.d.ts +17 -0
  39. package/dist/typescript/module/types.d.ts.map +1 -0
  40. package/package.json +50 -16
  41. package/src/SystemBars.ts +1 -1
  42. package/src/{expo.ts → extras/expo.ts} +29 -15
  43. package/src/index.ts +1 -1
  44. package/android/src/main/AndroidManifestNew.xml +0 -3
  45. package/dist/commonjs/expo.js.map +0 -1
  46. package/dist/module/expo.js.map +0 -1
  47. package/dist/typescript/SystemBars.d.ts.map +0 -1
  48. package/dist/typescript/expo.d.ts +0 -12
  49. package/dist/typescript/expo.d.ts.map +0 -1
  50. package/dist/typescript/index.d.ts +0 -3
  51. package/dist/typescript/index.d.ts.map +0 -1
  52. package/dist/typescript/specs/NativeEdgeToEdgeModule.d.ts.map +0 -1
  53. package/dist/typescript/specs/NativeEdgeToEdgeModule.web.d.ts.map +0 -1
  54. package/dist/typescript/types.d.ts.map +0 -1
  55. /package/dist/typescript/{specs → commonjs/specs}/NativeEdgeToEdgeModule.d.ts +0 -0
  56. /package/dist/typescript/{specs → commonjs/specs}/NativeEdgeToEdgeModule.web.d.ts +0 -0
  57. /package/dist/typescript/{types.d.ts → commonjs/types.d.ts} +0 -0
package/README.md CHANGED
@@ -2,11 +2,14 @@
2
2
 
3
3
  Effortlessly enable [edge-to-edge](https://developer.android.com/develop/ui/views/layout/edge-to-edge) display in React Native, allowing your Android (v6 and above) app content to flow seamlessly beneath the system bars.
4
4
 
5
+ > [!TIP]
6
+ > If you're running React Native 0.81 or later, consider using the built-in `edgeToEdgeEnabled=true` Gradle property along with [`@zoontek/react-native-navigation-bar`](https://github.com/zoontek/react-native-navigation-bar) instead.
7
+
5
8
  [![mit licence](https://img.shields.io/dub/l/vibe-d.svg?style=for-the-badge)](https://github.com/zoontek/react-native-edge-to-edge/blob/main/LICENSE)
6
9
  [![npm version](https://img.shields.io/npm/v/react-native-edge-to-edge?style=for-the-badge)](https://www.npmjs.org/package/react-native-edge-to-edge)
7
10
  [![npm downloads](https://img.shields.io/npm/dt/react-native-edge-to-edge.svg?label=downloads&style=for-the-badge)](https://www.npmjs.org/package/react-native-edge-to-edge)
8
11
 
9
- <img width="240" src="./docs/logo.svg" alt="Logo">
12
+ <img width="210" src="./docs/logo.svg" alt="Logo">
10
13
 
11
14
  ## Credits
12
15
 
@@ -64,26 +67,54 @@ This library requires you to update the parent of your Android `AppTheme` to an
64
67
 
65
68
  ### Expo
66
69
 
67
- Add the library plugin in your `app.json` config file and [create a new build](https://docs.expo.dev/develop/development-builds/create-a-build) 👷:
70
+ Add the library plugin in your app config file and [create a new build](https://docs.expo.dev/develop/development-builds/create-a-build) 👷:
71
+
72
+ <details open>
73
+ <summary><strong>Dynamic configuration (app.config.js, app.config.ts)</strong></summary>
74
+
75
+ ```ts
76
+ import type { ConfigContext, ExpoConfig } from "expo/config";
77
+ import edgeToEdge from "react-native-edge-to-edge/expo"; // use `require` in app.config.js
78
+
79
+ export default ({ config }: ConfigContext): ExpoConfig => ({
80
+ // …
81
+ plugins: [
82
+ edgeToEdge({
83
+ android: {
84
+ parentTheme: "Default",
85
+ enforceNavigationBarContrast: false,
86
+ },
87
+ }),
88
+ ],
89
+ });
90
+ ```
91
+
92
+ </details>
68
93
 
69
- ```json
94
+ <details>
95
+ <summary><strong>Static configuration (app.json)</strong></summary>
96
+
97
+ ```jsonc
70
98
  {
71
99
  "expo": {
100
+ // …
72
101
  "plugins": [
73
102
  [
74
103
  "react-native-edge-to-edge",
75
104
  {
76
105
  "android": {
77
106
  "parentTheme": "Default",
78
- "enforceNavigationBarContrast": false
79
- }
80
- }
81
- ]
82
- ]
83
- }
107
+ "enforceNavigationBarContrast": false,
108
+ },
109
+ },
110
+ ],
111
+ ],
112
+ },
84
113
  }
85
114
  ```
86
115
 
116
+ </details>
117
+
87
118
  _📌 The available plugins options are:_
88
119
 
89
120
  ```ts
@@ -7,8 +7,8 @@ buildscript {
7
7
  gradlePluginPortal()
8
8
  }
9
9
  dependencies {
10
- classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet("kotlinVersion", "1.8.0")}")
11
- classpath("com.android.tools.build:gradle:8.1.1")
10
+ classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet("kotlinVersion", "1.9.24")}")
11
+ classpath("com.android.tools.build:gradle:8.13.0")
12
12
  }
13
13
  }
14
14
 
@@ -24,25 +24,18 @@ if (isNewArchitectureEnabled()) {
24
24
  }
25
25
 
26
26
  android {
27
- buildToolsVersion safeExtGet("buildToolsVersion", "34.0.0")
28
- compileSdkVersion safeExtGet("compileSdkVersion", 34)
27
+ namespace "com.zoontek.rnedgetoedge"
29
28
 
30
- if (project.android.hasProperty("namespace")) {
31
- namespace "com.zoontek.rnedgetoedge"
29
+ buildToolsVersion safeExtGet("buildToolsVersion", "35.0.0")
30
+ compileSdkVersion safeExtGet("compileSdkVersion", 35)
32
31
 
33
- buildFeatures {
34
- buildConfig true
35
- }
36
- sourceSets {
37
- main {
38
- manifest.srcFile "src/main/AndroidManifestNew.xml"
39
- }
40
- }
32
+ buildFeatures {
33
+ buildConfig true
41
34
  }
42
35
  defaultConfig {
43
36
  buildConfigField("boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString())
44
- minSdkVersion safeExtGet("minSdkVersion", 23)
45
- targetSdkVersion safeExtGet("targetSdkVersion", 34)
37
+ minSdkVersion safeExtGet("minSdkVersion", 24)
38
+ targetSdkVersion safeExtGet("targetSdkVersion", 35)
46
39
  }
47
40
  lintOptions {
48
41
  abortOnError false
@@ -63,12 +56,12 @@ repositories {
63
56
  // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
64
57
  url("$rootDir/../node_modules/react-native/android")
65
58
  }
66
- mavenCentral()
67
59
  google()
60
+ mavenCentral()
68
61
  }
69
62
 
70
63
  dependencies {
71
64
  //noinspection GradleDynamicVersion
72
65
  implementation "com.facebook.react:react-native:+" // From node_modules
73
- implementation "com.google.android.material:material:${safeExtGet("materialVersion", "1.14.0-alpha04")}"
66
+ implementation "com.google.android.material:material:${safeExtGet("materialVersion", "1.14.0-alpha09")}"
74
67
  }
@@ -1,3 +1,3 @@
1
1
  <?xml version="1.0" encoding="utf-8"?>
2
- <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.zoontek.rnedgetoedge">
2
+ <manifest xmlns:android="http://schemas.android.com/apk/res/android">
3
3
  </manifest>
@@ -73,6 +73,11 @@ object EdgeToEdgeModuleImpl {
73
73
 
74
74
  window.statusBarColor = Color.TRANSPARENT
75
75
 
76
+ // Fix https://github.com/zoontek/react-native-edge-to-edge/issues/105
77
+ if (VERSION.SDK_INT <= VERSION_CODES.O_MR1) {
78
+ window.decorView.setOnSystemUiVisibilityChangeListener { initInsetsController(window) }
79
+ }
80
+
76
81
  if (VERSION.SDK_INT >= VERSION_CODES.O_MR1 && isNavigationBarTransparent(activity)) {
77
82
  window.navigationBarColor = Color.TRANSPARENT
78
83
 
@@ -23,7 +23,6 @@ class EdgeToEdgePackage : BaseReactPackage() {
23
23
  EdgeToEdgeModuleImpl.NAME,
24
24
  false,
25
25
  true,
26
- true,
27
26
  false,
28
27
  isTurboModule
29
28
  )
package/app.plugin.js CHANGED
@@ -1 +1,2 @@
1
- module.exports = require("./dist/commonjs/expo");
1
+ const { withEdgeToEdge } = require("./dist/commonjs/extras/expo");
2
+ module.exports = withEdgeToEdge;
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.default = void 0;
6
+ exports.withEdgeToEdge = exports.default = void 0;
7
7
  var _configPlugins = require("@expo/config-plugins");
8
- const withAndroidEdgeToEdgeTheme = (config, props = {}) => {
8
+ const plugin = (expoConfig, pluginConfig = {}) => {
9
9
  const themes = {
10
10
  Default: "Theme.EdgeToEdge",
11
11
  Material2: "Theme.EdgeToEdge.Material2",
@@ -21,7 +21,7 @@ const withAndroidEdgeToEdgeTheme = (config, props = {}) => {
21
21
  "Material3Expressive.Dynamic.Light": "Theme.EdgeToEdge.Material3Expressive.Dynamic.Light"
22
22
  };
23
23
  const cleanupList = new Set(["enforceNavigationBarContrast", "android:enforceNavigationBarContrast", "android:enforceStatusBarContrast", "android:fitsSystemWindows", "android:navigationBarColor", "android:statusBarColor", "android:windowDrawsSystemBarBackgrounds", "android:windowLayoutInDisplayCutoutMode", "android:windowLightNavigationBar", "android:windowLightStatusBar", "android:windowTranslucentNavigation", "android:windowTranslucentStatus"]);
24
- return (0, _configPlugins.withAndroidStyles)(config, config => {
24
+ return (0, _configPlugins.withAndroidStyles)(expoConfig, config => {
25
25
  const {
26
26
  androidNavigationBar = {},
27
27
  androidStatusBar = {},
@@ -35,7 +35,7 @@ const withAndroidEdgeToEdgeTheme = (config, props = {}) => {
35
35
  } = androidStatusBar;
36
36
  const {
37
37
  android = {}
38
- } = props;
38
+ } = pluginConfig;
39
39
  const {
40
40
  enforceNavigationBarContrast,
41
41
  parentTheme = "Default"
@@ -90,5 +90,8 @@ const withAndroidEdgeToEdgeTheme = (config, props = {}) => {
90
90
  return config;
91
91
  });
92
92
  };
93
- var _default = exports.default = (0, _configPlugins.createRunOncePlugin)(withAndroidEdgeToEdgeTheme, "react-native-edge-to-edge");
93
+ const PACKAGE_NAME = "react-native-edge-to-edge";
94
+ const withEdgeToEdge = exports.withEdgeToEdge = (0, _configPlugins.createRunOncePlugin)(plugin, PACKAGE_NAME);
95
+ var _default = config => [PACKAGE_NAME, config];
96
+ exports.default = _default;
94
97
  //# sourceMappingURL=expo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_configPlugins","require","plugin","expoConfig","pluginConfig","themes","Default","Material2","Material3","Material3Expressive","Light","cleanupList","Set","withAndroidStyles","config","androidNavigationBar","androidStatusBar","userInterfaceStyle","barStyle","navigationBarStyle","statusBarStyle","android","enforceNavigationBarContrast","parentTheme","modResults","resources","style","map","$","name","parent","item","filter","has","push","_","String","PACKAGE_NAME","withEdgeToEdge","exports","createRunOncePlugin","_default","default"],"sourceRoot":"../../../src","sources":["extras/expo.ts"],"mappings":";;;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AAsCA,MAAMC,MAAwD,GAAGA,CAC/DC,UAAU,EACVC,YAAY,GAAG,CAAC,CAAC,KACd;EACH,MAAMC,MAAmC,GAAG;IAC1CC,OAAO,EAAE,kBAAkB;IAC3BC,SAAS,EAAE,4BAA4B;IACvCC,SAAS,EAAE,4BAA4B;IACvC,mBAAmB,EAAE,oCAAoC;IACzDC,mBAAmB,EAAE,sCAAsC;IAC3D,6BAA6B,EAC3B,8CAA8C;IAEhDC,KAAK,EAAE,wBAAwB;IAC/B,iBAAiB,EAAE,kCAAkC;IACrD,iBAAiB,EAAE,kCAAkC;IACrD,yBAAyB,EAAE,0CAA0C;IACrE,2BAA2B,EAAE,4CAA4C;IACzE,mCAAmC,EACjC;EACJ,CAAC;EAED,MAAMC,WAAW,GAAG,IAAIC,GAAG,CAAC,CAC1B,8BAA8B,EAC9B,sCAAsC,EACtC,kCAAkC,EAClC,2BAA2B,EAC3B,4BAA4B,EAC5B,wBAAwB,EACxB,yCAAyC,EACzC,yCAAyC,EACzC,kCAAkC,EAClC,8BAA8B,EAC9B,qCAAqC,EACrC,iCAAiC,CAClC,CAAC;EAEF,OAAO,IAAAC,gCAAiB,EAACV,UAAU,EAAGW,MAAM,IAAK;IAC/C,MAAM;MACJC,oBAAoB,GAAG,CAAC,CAAC;MACzBC,gBAAgB,GAAG,CAAC,CAAC;MACrBC,kBAAkB,GAAG;IACvB,CAAC,GAAGH,MAAM;IAEV,MAAM;MAAEI,QAAQ,EAAE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,kBAAkB,IAAI,IAAI,EAAE;YAC9BO,KAAK,CAACK,IAAI,CAACG,IAAI,CAAC;cACdN,CAAC,EAAE;gBAAEC,IAAI,EAAE;cAAmC,CAAC;cAC/CM,CAAC,EAAEC,MAAM,CAACjB,kBAAkB,KAAK,cAAc;YACjD,CAAC,CAAC;UACJ,CAAC,MAAM,IAAIF,kBAAkB,KAAK,WAAW,EAAE;YAC7CS,KAAK,CAACK,IAAI,CAACG,IAAI,CAAC;cACdN,CAAC,EAAE;gBAAEC,IAAI,EAAE;cAAmC,CAAC;cAC/CM,CAAC,EAAEC,MAAM,CAACjB,kBAAkB,KAAK,OAAO;YAC1C,CAAC,CAAC;UACJ;UAEAO,KAAK,CAACK,IAAI,CAACG,IAAI,CAAC;YACdN,CAAC,EAAE;cAAEC,IAAI,EAAE;YAA+B,CAAC;YAC3CM,CAAC,EAAEC,MAAM,CAAC,KAAK;UACjB,CAAC,CAAC;QACJ;MACF;MAEA,OAAOV,KAAK;IACd,CACF,CAAC;IAED,OAAOZ,MAAM;EACf,CAAC,CAAC;AACJ,CAAC;AAED,MAAMuB,YAAY,GAAG,2BAA2B;AAEzC,MAAMC,cAAc,GAAAC,OAAA,CAAAD,cAAA,GAAG,IAAAE,kCAAmB,EAACtC,MAAM,EAAEmC,YAAY,CAAC;AAAC,IAAAI,QAAA,GAGtE3B,MAA8B,IACoB,CAACuB,YAAY,EAAEvB,MAAM,CAAC;AAAAyB,OAAA,CAAAG,OAAA,GAAAD,QAAA","ignoreList":[]}
@@ -3,30 +3,11 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- Object.defineProperty(exports, "SystemBarStyle", {
7
- enumerable: true,
8
- get: function () {
9
- return _types.SystemBarStyle;
10
- }
11
- });
12
6
  Object.defineProperty(exports, "SystemBars", {
13
7
  enumerable: true,
14
8
  get: function () {
15
9
  return _SystemBars.SystemBars;
16
10
  }
17
11
  });
18
- Object.defineProperty(exports, "SystemBarsEntry", {
19
- enumerable: true,
20
- get: function () {
21
- return _types.SystemBarsEntry;
22
- }
23
- });
24
- Object.defineProperty(exports, "SystemBarsProps", {
25
- enumerable: true,
26
- get: function () {
27
- return _types.SystemBarsProps;
28
- }
29
- });
30
- var _SystemBars = require("./SystemBars");
31
- var _types = require("./types");
12
+ var _SystemBars = require("./SystemBars.js");
32
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_SystemBars","require","_types"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA","ignoreList":[]}
1
+ {"version":3,"names":["_SystemBars","require"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;;;;;;;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"type":"commonjs"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  import { createRunOncePlugin, withAndroidStyles } from "@expo/config-plugins";
4
- const withAndroidEdgeToEdgeTheme = (config, props = {}) => {
4
+ const plugin = (expoConfig, pluginConfig = {}) => {
5
5
  const themes = {
6
6
  Default: "Theme.EdgeToEdge",
7
7
  Material2: "Theme.EdgeToEdge.Material2",
@@ -17,7 +17,7 @@ const withAndroidEdgeToEdgeTheme = (config, props = {}) => {
17
17
  "Material3Expressive.Dynamic.Light": "Theme.EdgeToEdge.Material3Expressive.Dynamic.Light"
18
18
  };
19
19
  const cleanupList = new Set(["enforceNavigationBarContrast", "android:enforceNavigationBarContrast", "android:enforceStatusBarContrast", "android:fitsSystemWindows", "android:navigationBarColor", "android:statusBarColor", "android:windowDrawsSystemBarBackgrounds", "android:windowLayoutInDisplayCutoutMode", "android:windowLightNavigationBar", "android:windowLightStatusBar", "android:windowTranslucentNavigation", "android:windowTranslucentStatus"]);
20
- return withAndroidStyles(config, config => {
20
+ return withAndroidStyles(expoConfig, config => {
21
21
  const {
22
22
  androidNavigationBar = {},
23
23
  androidStatusBar = {},
@@ -31,7 +31,7 @@ const withAndroidEdgeToEdgeTheme = (config, props = {}) => {
31
31
  } = androidStatusBar;
32
32
  const {
33
33
  android = {}
34
- } = props;
34
+ } = pluginConfig;
35
35
  const {
36
36
  enforceNavigationBarContrast,
37
37
  parentTheme = "Default"
@@ -86,5 +86,7 @@ const withAndroidEdgeToEdgeTheme = (config, props = {}) => {
86
86
  return config;
87
87
  });
88
88
  };
89
- export default createRunOncePlugin(withAndroidEdgeToEdgeTheme, "react-native-edge-to-edge");
89
+ const PACKAGE_NAME = "react-native-edge-to-edge";
90
+ export const withEdgeToEdge = createRunOncePlugin(plugin, PACKAGE_NAME);
91
+ export default config => [PACKAGE_NAME, config];
90
92
  //# sourceMappingURL=expo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createRunOncePlugin","withAndroidStyles","plugin","expoConfig","pluginConfig","themes","Default","Material2","Material3","Material3Expressive","Light","cleanupList","Set","config","androidNavigationBar","androidStatusBar","userInterfaceStyle","barStyle","navigationBarStyle","statusBarStyle","android","enforceNavigationBarContrast","parentTheme","modResults","resources","style","map","$","name","parent","item","filter","has","push","_","String","PACKAGE_NAME","withEdgeToEdge"],"sourceRoot":"../../../src","sources":["extras/expo.ts"],"mappings":";;AAAA,SAEEA,mBAAmB,EACnBC,iBAAiB,QACZ,sBAAsB;AAkC7B,MAAMC,MAAwD,GAAGA,CAC/DC,UAAU,EACVC,YAAY,GAAG,CAAC,CAAC,KACd;EACH,MAAMC,MAAmC,GAAG;IAC1CC,OAAO,EAAE,kBAAkB;IAC3BC,SAAS,EAAE,4BAA4B;IACvCC,SAAS,EAAE,4BAA4B;IACvC,mBAAmB,EAAE,oCAAoC;IACzDC,mBAAmB,EAAE,sCAAsC;IAC3D,6BAA6B,EAC3B,8CAA8C;IAEhDC,KAAK,EAAE,wBAAwB;IAC/B,iBAAiB,EAAE,kCAAkC;IACrD,iBAAiB,EAA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AAY,GAAG,2BAA2B;AAEhD,OAAO,MAAMC,cAAc,GAAGrC,mBAAmB,CAACE,MAAM,EAAEkC,YAAY,CAAC;AAEvE,eACEvB,MAA8B,IACoB,CAACuB,YAAY,EAAEvB,MAAM,CAAC","ignoreList":[]}
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
2
 
3
- export { SystemBars } from "./SystemBars";
4
- export { SystemBarStyle, SystemBarsEntry, SystemBarsProps } from "./types";
3
+ export { SystemBars } from "./SystemBars.js";
5
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["SystemBars","SystemBarStyle","SystemBarsEntry","SystemBarsProps"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,cAAc;AACzC,SAASC,cAAc,EAAEC,eAAe,EAAEC,eAAe,QAAQ,SAAS","ignoreList":[]}
1
+ {"version":3,"names":["SystemBars"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,iBAAc","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"type":"module"}
@@ -1,4 +1,4 @@
1
- import { SystemBarsEntry, SystemBarsProps } from "./types";
1
+ import type { SystemBarsEntry, SystemBarsProps } from "./types";
2
2
  export declare function SystemBars(props: SystemBarsProps): null;
3
3
  export declare namespace SystemBars {
4
4
  var pushStackEntry: (props: SystemBarsProps) => SystemBarsEntry;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SystemBars.d.ts","sourceRoot":"","sources":["../../../src/SystemBars.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAkB,MAAM,SAAS,CAAC;AA6PhF,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,QAmDhD;yBAnDe,UAAU;gCA1EK,eAAe,KAAG,eAAe;+BAYlC,eAAe,KAAG,IAAI;mCAe3C,eAAe,SACf,eAAe,KACrB,eAAe;0BAeO,eAAe,CAAC,OAAO,CAAC;4BAmBtB,eAAe,CAAC,QAAQ,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { type ConfigPlugin } from "@expo/config-plugins";
2
+ type ParentTheme = "Default" | "Material2" | "Material3" | "Material3.Dynamic" | "Material3Expressive" | "Material3Expressive.Dynamic" | "Light" | "Material2.Light" | "Material3.Light" | "Material3.Dynamic.Light" | "Material3Expressive.Light" | "Material3Expressive.Dynamic.Light";
3
+ type EdgeToEdgePluginConfig = {
4
+ android?: {
5
+ /**
6
+ * Enforce a contrasting background on the navigation bar.
7
+ * Set to `false` to enforce full transparency in all cases (you will then
8
+ * need to manage the navigation bar style using `SystemBars`).
9
+ * @default true
10
+ */
11
+ enforceNavigationBarContrast?: boolean;
12
+ /**
13
+ * The parent theme for the Android `AppTheme`. Choose based on your
14
+ * current theme.
15
+ * @default "Default"
16
+ */
17
+ parentTheme?: ParentTheme;
18
+ };
19
+ };
20
+ declare const PACKAGE_NAME = "react-native-edge-to-edge";
21
+ export declare const withEdgeToEdge: ConfigPlugin<EdgeToEdgePluginConfig | undefined>;
22
+ declare const _default: (config: EdgeToEdgePluginConfig) => [typeof PACKAGE_NAME, EdgeToEdgePluginConfig];
23
+ export default _default;
24
+ //# sourceMappingURL=expo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expo.d.ts","sourceRoot":"","sources":["../../../../src/extras/expo.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,YAAY,EAGlB,MAAM,sBAAsB,CAAC;AAE9B,KAAK,WAAW,GACZ,SAAS,GACT,WAAW,GACX,WAAW,GACX,mBAAmB,GACnB,qBAAqB,GACrB,6BAA6B,GAC7B,OAAO,GACP,iBAAiB,GACjB,iBAAiB,GACjB,yBAAyB,GACzB,2BAA2B,GAC3B,mCAAmC,CAAC;AAExC,KAAK,sBAAsB,GAAG;IAC5B,OAAO,CAAC,EAAE;QACR;;;;;WAKG;QACH,4BAA4B,CAAC,EAAE,OAAO,CAAC;QACvC;;;;WAIG;QACH,WAAW,CAAC,EAAE,WAAW,CAAC;KAC3B,CAAC;CACH,CAAC;AAsGF,QAAA,MAAM,YAAY,8BAA8B,CAAC;AAEjD,eAAO,MAAM,cAAc,kDAA4C,CAAC;yBAGtE,QAAQ,sBAAsB,KAC7B,CAAC,OAAO,YAAY,EAAE,sBAAsB,CAAC;AAFhD,wBAE2E"}
@@ -0,0 +1,3 @@
1
+ export { SystemBars } from "./SystemBars";
2
+ export type { SystemBarStyle, SystemBarsEntry, SystemBarsProps } from "./types";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1 @@
1
+ {"type":"commonjs"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NativeEdgeToEdgeModule.d.ts","sourceRoot":"","sources":["../../../../src/specs/NativeEdgeToEdgeModule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAGhD,UAAU,IAAK,SAAQ,WAAW;IAChC,mBAAmB,IAAI,IAAI,CAAC;IAC5B,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3C,kBAAkB,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;IAC1C,sBAAsB,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;CAC/C;AAED,QAAA,MAAM,YAAY,aAGR,CAAC;AAQX,eAAe,YAAY,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NativeEdgeToEdgeModule.web.d.ts","sourceRoot":"","sources":["../../../../src/specs/NativeEdgeToEdgeModule.web.ts"],"names":[],"mappings":";AAAA,wBAAoB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAAA,KAAK,cAAc,CAAC,CAAC,IAAI,CAAC,GAAG;IAAE,SAAS,CAAC,EAAE,CAAC,CAAC;IAAC,aAAa,CAAC,EAAE,CAAC,CAAA;CAAE,CAAC;AAElE,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,MAAM,CAAC;AAEpE,MAAM,MAAM,eAAe,GAAG;IAC5B,cAAc,EAAE,cAAc,GAAG,SAAS,CAAC;IAC3C,kBAAkB,EAAE,cAAc,GAAG,SAAS,CAAC;IAC/C,eAAe,EAAE,OAAO,GAAG,SAAS,CAAC;IACrC,mBAAmB,EAAE,OAAO,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;IACvC,MAAM,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC;CAClC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { SystemBarsEntry, SystemBarsProps } from "./types";
2
+ export declare function SystemBars(props: SystemBarsProps): null;
3
+ export declare namespace SystemBars {
4
+ var pushStackEntry: (props: SystemBarsProps) => SystemBarsEntry;
5
+ var popStackEntry: (entry: SystemBarsEntry) => void;
6
+ var replaceStackEntry: (entry: SystemBarsEntry, props: SystemBarsProps) => SystemBarsEntry;
7
+ var setStyle: (style: SystemBarsProps["style"]) => void;
8
+ var setHidden: (hidden: SystemBarsProps["hidden"]) => void;
9
+ }
10
+ //# sourceMappingURL=SystemBars.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SystemBars.d.ts","sourceRoot":"","sources":["../../../src/SystemBars.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAkB,MAAM,SAAS,CAAC;AA6PhF,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,QAmDhD;yBAnDe,UAAU;gCA1EK,eAAe,KAAG,eAAe;+BAYlC,eAAe,KAAG,IAAI;mCAe3C,eAAe,SACf,eAAe,KACrB,eAAe;0BAeO,eAAe,CAAC,OAAO,CAAC;4BAmBtB,eAAe,CAAC,QAAQ,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { type ConfigPlugin } from "@expo/config-plugins";
2
+ type ParentTheme = "Default" | "Material2" | "Material3" | "Material3.Dynamic" | "Material3Expressive" | "Material3Expressive.Dynamic" | "Light" | "Material2.Light" | "Material3.Light" | "Material3.Dynamic.Light" | "Material3Expressive.Light" | "Material3Expressive.Dynamic.Light";
3
+ type EdgeToEdgePluginConfig = {
4
+ android?: {
5
+ /**
6
+ * Enforce a contrasting background on the navigation bar.
7
+ * Set to `false` to enforce full transparency in all cases (you will then
8
+ * need to manage the navigation bar style using `SystemBars`).
9
+ * @default true
10
+ */
11
+ enforceNavigationBarContrast?: boolean;
12
+ /**
13
+ * The parent theme for the Android `AppTheme`. Choose based on your
14
+ * current theme.
15
+ * @default "Default"
16
+ */
17
+ parentTheme?: ParentTheme;
18
+ };
19
+ };
20
+ declare const PACKAGE_NAME = "react-native-edge-to-edge";
21
+ export declare const withEdgeToEdge: ConfigPlugin<EdgeToEdgePluginConfig | undefined>;
22
+ declare const _default: (config: EdgeToEdgePluginConfig) => [typeof PACKAGE_NAME, EdgeToEdgePluginConfig];
23
+ export default _default;
24
+ //# sourceMappingURL=expo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expo.d.ts","sourceRoot":"","sources":["../../../../src/extras/expo.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,YAAY,EAGlB,MAAM,sBAAsB,CAAC;AAE9B,KAAK,WAAW,GACZ,SAAS,GACT,WAAW,GACX,WAAW,GACX,mBAAmB,GACnB,qBAAqB,GACrB,6BAA6B,GAC7B,OAAO,GACP,iBAAiB,GACjB,iBAAiB,GACjB,yBAAyB,GACzB,2BAA2B,GAC3B,mCAAmC,CAAC;AAExC,KAAK,sBAAsB,GAAG;IAC5B,OAAO,CAAC,EAAE;QACR;;;;;WAKG;QACH,4BAA4B,CAAC,EAAE,OAAO,CAAC;QACvC;;;;WAIG;QACH,WAAW,CAAC,EAAE,WAAW,CAAC;KAC3B,CAAC;CACH,CAAC;AAsGF,QAAA,MAAM,YAAY,8BAA8B,CAAC;AAEjD,eAAO,MAAM,cAAc,kDAA4C,CAAC;yBAGtE,QAAQ,sBAAsB,KAC7B,CAAC,OAAO,YAAY,EAAE,sBAAsB,CAAC;AAFhD,wBAE2E"}
@@ -0,0 +1,3 @@
1
+ export { SystemBars } from "./SystemBars";
2
+ export type { SystemBarStyle, SystemBarsEntry, SystemBarsProps } from "./types";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1 @@
1
+ {"type":"module"}
@@ -0,0 +1,11 @@
1
+ import type { TurboModule } from "react-native";
2
+ interface Spec extends TurboModule {
3
+ onColorSchemeChange(): void;
4
+ setStatusBarStyle(style: string): void;
5
+ setNavigationBarStyle(style: string): void;
6
+ setStatusBarHidden(hidden: boolean): void;
7
+ setNavigationBarHidden(hidden: boolean): void;
8
+ }
9
+ declare const NativeModule: Spec | null;
10
+ export default NativeModule;
11
+ //# sourceMappingURL=NativeEdgeToEdgeModule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NativeEdgeToEdgeModule.d.ts","sourceRoot":"","sources":["../../../../src/specs/NativeEdgeToEdgeModule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAGhD,UAAU,IAAK,SAAQ,WAAW;IAChC,mBAAmB,IAAI,IAAI,CAAC;IAC5B,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3C,kBAAkB,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;IAC1C,sBAAsB,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;CAC/C;AAED,QAAA,MAAM,YAAY,aAGR,CAAC;AAQX,eAAe,YAAY,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const _default: null;
2
+ export default _default;
3
+ //# sourceMappingURL=NativeEdgeToEdgeModule.web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NativeEdgeToEdgeModule.web.d.ts","sourceRoot":"","sources":["../../../../src/specs/NativeEdgeToEdgeModule.web.ts"],"names":[],"mappings":";AAAA,wBAAoB"}
@@ -0,0 +1,17 @@
1
+ type SystemBarsProp<T> = T | {
2
+ statusBar?: T;
3
+ navigationBar?: T;
4
+ };
5
+ export type SystemBarStyle = "auto" | "inverted" | "light" | "dark";
6
+ export type SystemBarsEntry = {
7
+ statusBarStyle: SystemBarStyle | undefined;
8
+ navigationBarStyle: SystemBarStyle | undefined;
9
+ statusBarHidden: boolean | undefined;
10
+ navigationBarHidden: boolean | undefined;
11
+ };
12
+ export type SystemBarsProps = {
13
+ style?: SystemBarsProp<SystemBarStyle>;
14
+ hidden?: SystemBarsProp<boolean>;
15
+ };
16
+ export {};
17
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAAA,KAAK,cAAc,CAAC,CAAC,IAAI,CAAC,GAAG;IAAE,SAAS,CAAC,EAAE,CAAC,CAAC;IAAC,aAAa,CAAC,EAAE,CAAC,CAAA;CAAE,CAAC;AAElE,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,MAAM,CAAC;AAEpE,MAAM,MAAM,eAAe,GAAG;IAC5B,cAAc,EAAE,cAAc,GAAG,SAAS,CAAC;IAC3C,kBAAkB,EAAE,cAAc,GAAG,SAAS,CAAC;IAC/C,eAAe,EAAE,OAAO,GAAG,SAAS,CAAC;IACrC,mBAAmB,EAAE,OAAO,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;IACvC,MAAM,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC;CAClC,CAAC"}
package/package.json CHANGED
@@ -1,13 +1,37 @@
1
1
  {
2
2
  "name": "react-native-edge-to-edge",
3
- "version": "1.7.0",
3
+ "version": "1.8.1",
4
4
  "license": "MIT",
5
5
  "description": "Effortlessly enable edge-to-edge display in React Native",
6
6
  "author": "Mathieu Acthernoene <zoontek@gmail.com>",
7
7
  "homepage": "https://github.com/zoontek/react-native-edge-to-edge",
8
- "main": "dist/commonjs/index.js",
9
- "module": "dist/module/index.js",
10
- "types": "dist/typescript/index.d.ts",
8
+ "main": "./dist/commonjs/index.js",
9
+ "module": "./dist/module/index.js",
10
+ "types": "./dist/typescript/commonjs/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "import": {
14
+ "types": "./dist/typescript/module/index.d.ts",
15
+ "default": "./dist/module/index.js"
16
+ },
17
+ "require": {
18
+ "types": "./dist/typescript/commonjs/index.d.ts",
19
+ "default": "./dist/commonjs/index.js"
20
+ }
21
+ },
22
+ "./expo": {
23
+ "import": {
24
+ "types": "./dist/typescript/module/extras/expo.d.ts",
25
+ "default": "./dist/module/extras/expo.js"
26
+ },
27
+ "require": {
28
+ "types": "./dist/typescript/commonjs/extras/expo.d.ts",
29
+ "default": "./dist/commonjs/extras/expo.js"
30
+ }
31
+ },
32
+ "./package.json": "./package.json",
33
+ "./app.plugin.js": "./app.plugin.js"
34
+ },
11
35
  "files": [
12
36
  "dist",
13
37
  "src",
@@ -34,16 +58,26 @@
34
58
  "clean": "rm -rf dist",
35
59
  "format": "prettier '**/*' -u -w",
36
60
  "typecheck": "tsc --noEmit",
37
- "build": "yarn clean && bob build && rm -rf dist/*/package.json",
61
+ "build": "yarn clean && bob build",
38
62
  "prepack": "prettier '**/*' -u -c && yarn typecheck && yarn build"
39
63
  },
40
64
  "react-native-builder-bob": {
41
65
  "source": "src",
42
66
  "output": "dist",
43
67
  "targets": [
44
- "commonjs",
45
- "module",
46
- "typescript"
68
+ "typescript",
69
+ [
70
+ "module",
71
+ {
72
+ "esm": true
73
+ }
74
+ ],
75
+ [
76
+ "commonjs",
77
+ {
78
+ "esm": true
79
+ }
80
+ ]
47
81
  ]
48
82
  },
49
83
  "prettier": {
@@ -58,14 +92,14 @@
58
92
  "devDependencies": {
59
93
  "@babel/core": "^7.25.2",
60
94
  "@babel/preset-env": "^7.25.3",
61
- "@expo/config-plugins": "^9.0.0 || ^10.0.0",
62
- "@types/react": "^19.0.0",
63
- "prettier": "^3.6.2",
64
- "prettier-plugin-organize-imports": "^4.1.0",
65
- "react": "19.1.0",
66
- "react-native": "0.80.0",
67
- "react-native-builder-bob": "^0.40.12",
68
- "typescript": "^5.8.3"
95
+ "@expo/config-plugins": "*",
96
+ "@types/react": "^19.2.0",
97
+ "prettier": "^3.8.1",
98
+ "prettier-plugin-organize-imports": "^4.3.0",
99
+ "react": "19.2.3",
100
+ "react-native": "0.84.0",
101
+ "react-native-builder-bob": "^0.40.18",
102
+ "typescript": "^5.9.3"
69
103
  },
70
104
  "codegenConfig": {
71
105
  "name": "RNEdgeToEdge",
package/src/SystemBars.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { useEffect, useMemo, useRef } from "react";
2
2
  import { Appearance, Platform, StatusBar, useColorScheme } from "react-native";
3
3
  import NativeModule from "./specs/NativeEdgeToEdgeModule";
4
- import { SystemBarsEntry, SystemBarsProps, SystemBarStyle } from "./types";
4
+ import type { SystemBarsEntry, SystemBarsProps, SystemBarStyle } from "./types";
5
5
 
6
6
  type ResolvedBarStyle = "light" | "dark" | undefined;
7
7
 
@@ -1,5 +1,5 @@
1
1
  import {
2
- ConfigPlugin,
2
+ type ConfigPlugin,
3
3
  createRunOncePlugin,
4
4
  withAndroidStyles,
5
5
  } from "@expo/config-plugins";
@@ -18,16 +18,27 @@ type ParentTheme =
18
18
  | "Material3Expressive.Light"
19
19
  | "Material3Expressive.Dynamic.Light";
20
20
 
21
- type AndroidProps = {
22
- enforceNavigationBarContrast?: boolean;
23
- parentTheme?: ParentTheme;
21
+ type EdgeToEdgePluginConfig = {
22
+ android?: {
23
+ /**
24
+ * Enforce a contrasting background on the navigation bar.
25
+ * Set to `false` to enforce full transparency in all cases (you will then
26
+ * need to manage the navigation bar style using `SystemBars`).
27
+ * @default true
28
+ */
29
+ enforceNavigationBarContrast?: boolean;
30
+ /**
31
+ * The parent theme for the Android `AppTheme`. Choose based on your
32
+ * current theme.
33
+ * @default "Default"
34
+ */
35
+ parentTheme?: ParentTheme;
36
+ };
24
37
  };
25
38
 
26
- type Props = { android?: AndroidProps } | undefined;
27
-
28
- const withAndroidEdgeToEdgeTheme: ConfigPlugin<Props> = (
29
- config,
30
- props = {},
39
+ const plugin: ConfigPlugin<EdgeToEdgePluginConfig | undefined> = (
40
+ expoConfig,
41
+ pluginConfig = {},
31
42
  ) => {
32
43
  const themes: Record<ParentTheme, string> = {
33
44
  Default: "Theme.EdgeToEdge",
@@ -62,7 +73,7 @@ const withAndroidEdgeToEdgeTheme: ConfigPlugin<Props> = (
62
73
  "android:windowTranslucentStatus",
63
74
  ]);
64
75
 
65
- return withAndroidStyles(config, (config) => {
76
+ return withAndroidStyles(expoConfig, (config) => {
66
77
  const {
67
78
  androidNavigationBar = {},
68
79
  androidStatusBar = {},
@@ -71,7 +82,7 @@ const withAndroidEdgeToEdgeTheme: ConfigPlugin<Props> = (
71
82
 
72
83
  const { barStyle: navigationBarStyle } = androidNavigationBar;
73
84
  const { barStyle: statusBarStyle } = androidStatusBar;
74
- const { android = {} } = props;
85
+ const { android = {} } = pluginConfig;
75
86
  const { enforceNavigationBarContrast, parentTheme = "Default" } = android;
76
87
 
77
88
  config.modResults.resources.style = config.modResults.resources.style?.map(
@@ -125,7 +136,10 @@ const withAndroidEdgeToEdgeTheme: ConfigPlugin<Props> = (
125
136
  });
126
137
  };
127
138
 
128
- export default createRunOncePlugin(
129
- withAndroidEdgeToEdgeTheme,
130
- "react-native-edge-to-edge",
131
- );
139
+ const PACKAGE_NAME = "react-native-edge-to-edge";
140
+
141
+ export const withEdgeToEdge = createRunOncePlugin(plugin, PACKAGE_NAME);
142
+
143
+ export default (
144
+ config: EdgeToEdgePluginConfig,
145
+ ): [typeof PACKAGE_NAME, EdgeToEdgePluginConfig] => [PACKAGE_NAME, config];
package/src/index.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  export { SystemBars } from "./SystemBars";
2
- export { SystemBarStyle, SystemBarsEntry, SystemBarsProps } from "./types";
2
+ export type { SystemBarStyle, SystemBarsEntry, SystemBarsProps } from "./types";
@@ -1,3 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <manifest xmlns:android="http://schemas.android.com/apk/res/android">
3
- </manifest>
@@ -1 +0,0 @@
1
- {"version":3,"names":["_configPlugins","require","withAndroidEdgeToEdgeTheme","config","props","themes","Default","Material2","Material3","Material3Expressive","Light","cleanupList","Set","withAndroidStyles","androidNavigationBar","androidStatusBar","userInterfaceStyle","barStyle","navigationBarStyle","statusBarStyle","android","enforceNavigationBarContrast","parentTheme","modResults","resources","style","map","$","name","parent","item","filter","has","push","_","String","_default","exports","default","createRunOncePlugin"],"sourceRoot":"../../src","sources":["expo.ts"],"mappings":";;;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AA2BA,MAAMC,0BAA+C,GAAGA,CACtDC,MAAM,EACNC,KAAK,GAAG,CAAC,CAAC,KACP;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AO;YAC1C,CAAC,CAAC;UACJ;UAEAO,KAAK,CAACK,IAAI,CAACG,IAAI,CAAC;YACdN,CAAC,EAAE;cAAEC,IAAI,EAAE;YAA+B,CAAC;YAC3CM,CAAC,EAAEC,MAAM,CAAC,KAAK;UACjB,CAAC,CAAC;QACJ;MACF;MAEA,OAAOV,KAAK;IACd,CACF,CAAC;IAED,OAAOtB,MAAM;EACf,CAAC,CAAC;AACJ,CAAC;AAAC,IAAAiC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEa,IAAAC,kCAAmB,EAChCrC,0BAA0B,EAC1B,2BACF,CAAC","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["createRunOncePlugin","withAndroidStyles","withAndroidEdgeToEdgeTheme","config","props","themes","Default","Material2","Material3","Material3Expressive","Light","cleanupList","Set","androidNavigationBar","androidStatusBar","userInterfaceStyle","barStyle","navigationBarStyle","statusBarStyle","android","enforceNavigationBarContrast","parentTheme","modResults","resources","style","map","$","name","parent","item","filter","has","push","_","String"],"sourceRoot":"../../src","sources":["expo.ts"],"mappings":";;AAAA,SAEEA,mBAAmB,EACnBC,iBAAiB,QACZ,sBAAsB;AAuB7B,MAAMC,0BAA+C,GAAGA,CACtDC,MAAM,EACNC,KAAK,GAAG,CAAC,CAAC,KACP;EACH,MAAMC,MAAmC,GAAG;IAC1CC,OAAO,EAAE,kBAAkB;IAC3BC,SAAS,EAAE,4BAA4B;IACvCC,SAAS,EAAE,4BAA4B;IACvC,mBAAmB,EAAE,oCAAoC;IACzDC,mBAAmB,EAAE,sCAAsC;IAC3D,6BAA6B,EAC3B,8CAA8C;IAEhDC,KAAK,EAAE,wBAAwB;IAC/B,iBAAiB,EAAE,kCAAkC;IACrD,iBAAiB,EAAE,kCAAkC;IACrD,yBAAyB,EAAE,0CAA0C;IACrE,2BAA2B,EAAE,4CAA4C;IACzE,mCAAmC,EACjC;EACJ,CAAC;EAED,MAAMC,WAAW,GAAG,IAAIC,GAAG,CAAC,CAC1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AGA,OAAO,EAAE,eAAe,EAAE,eAAe,EAAkB,MAAM,SAAS,CAAC;AA6P3E,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,QAmDhD;yBAnDe,UAAU;gCA1EK,eAAe,KAAG,eAAe;+BAYlC,eAAe,KAAG,IAAI;mCAe3C,eAAe,SACf,eAAe,KACrB,eAAe;0BAeO,eAAe,CAAC,OAAO,CAAC;4BAmBtB,eAAe,CAAC,QAAQ,CAAC"}
@@ -1,12 +0,0 @@
1
- import { ConfigPlugin } from "@expo/config-plugins";
2
- type ParentTheme = "Default" | "Material2" | "Material3" | "Material3.Dynamic" | "Material3Expressive" | "Material3Expressive.Dynamic" | "Light" | "Material2.Light" | "Material3.Light" | "Material3.Dynamic.Light" | "Material3Expressive.Light" | "Material3Expressive.Dynamic.Light";
3
- type AndroidProps = {
4
- enforceNavigationBarContrast?: boolean;
5
- parentTheme?: ParentTheme;
6
- };
7
- type Props = {
8
- android?: AndroidProps;
9
- } | undefined;
10
- declare const _default: ConfigPlugin<Props>;
11
- export default _default;
12
- //# sourceMappingURL=expo.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"expo.d.ts","sourceRoot":"","sources":["../../src/expo.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EAGb,MAAM,sBAAsB,CAAC;AAE9B,KAAK,WAAW,GACZ,SAAS,GACT,WAAW,GACX,WAAW,GACX,mBAAmB,GACnB,qBAAqB,GACrB,6BAA6B,GAC7B,OAAO,GACP,iBAAiB,GACjB,iBAAiB,GACjB,yBAAyB,GACzB,2BAA2B,GAC3B,mCAAmC,CAAC;AAExC,KAAK,YAAY,GAAG;IAClB,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B,CAAC;AAEF,KAAK,KAAK,GAAG;IAAE,OAAO,CAAC,EAAE,YAAY,CAAA;CAAE,GAAG,SAAS,CAAC;;AAsGpD,wBAGE"}
@@ -1,3 +0,0 @@
1
- export { SystemBars } from "./SystemBars";
2
- export { SystemBarStyle, SystemBarsEntry, SystemBarsProps } from "./types";
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"NativeEdgeToEdgeModule.d.ts","sourceRoot":"","sources":["../../../src/specs/NativeEdgeToEdgeModule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAGhD,UAAU,IAAK,SAAQ,WAAW;IAChC,mBAAmB,IAAI,IAAI,CAAC;IAC5B,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3C,kBAAkB,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;IAC1C,sBAAsB,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;CAC/C;AAED,QAAA,MAAM,YAAY,aAGR,CAAC;AAQX,eAAe,YAAY,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"NativeEdgeToEdgeModule.web.d.ts","sourceRoot":"","sources":["../../../src/specs/NativeEdgeToEdgeModule.web.ts"],"names":[],"mappings":";AAAA,wBAAoB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,KAAK,cAAc,CAAC,CAAC,IAAI,CAAC,GAAG;IAAE,SAAS,CAAC,EAAE,CAAC,CAAC;IAAC,aAAa,CAAC,EAAE,CAAC,CAAA;CAAE,CAAC;AAElE,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,MAAM,CAAC;AAEpE,MAAM,MAAM,eAAe,GAAG;IAC5B,cAAc,EAAE,cAAc,GAAG,SAAS,CAAC;IAC3C,kBAAkB,EAAE,cAAc,GAAG,SAAS,CAAC;IAC/C,eAAe,EAAE,OAAO,GAAG,SAAS,CAAC;IACrC,mBAAmB,EAAE,OAAO,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;IACvC,MAAM,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,CAAC;CAClC,CAAC"}