react-native-edge-to-edge 1.8.1 → 1.8.2

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/README.md CHANGED
@@ -2,8 +2,8 @@
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.
5
+ > [!IMPORTANT]
6
+ > [React Native 0.86](https://reactnative.dev/blog/2026/06/11/react-native-0.86) ships many edge-to-edge fixes. If you're on that version or later, prefer enabling edge-to-edge through the built-in `edgeToEdgeEnabled=true` Gradle property to benefit from them, paired with [`@zoontek/react-native-navigation-bar`](https://github.com/zoontek/react-native-navigation-bar) if you want to control the navigation bar style.
7
7
 
8
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)
9
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)
@@ -12,13 +12,18 @@ buildscript {
12
12
  }
13
13
  }
14
14
 
15
+ def isKotlinPluginMissing() {
16
+ return project.extensions.findByName("kotlin") == null
17
+ }
15
18
  def isNewArchitectureEnabled() {
16
19
  return project.hasProperty("newArchEnabled") && project.newArchEnabled == "true"
17
20
  }
18
21
 
19
22
  apply plugin: "com.android.library"
20
- apply plugin: "kotlin-android"
21
23
 
24
+ if (isKotlinPluginMissing()) {
25
+ apply plugin: "kotlin-android"
26
+ }
22
27
  if (isNewArchitectureEnabled()) {
23
28
  apply plugin: "com.facebook.react"
24
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-edge-to-edge",
3
- "version": "1.8.1",
3
+ "version": "1.8.2",
4
4
  "license": "MIT",
5
5
  "description": "Effortlessly enable edge-to-edge display in React Native",
6
6
  "author": "Mathieu Acthernoene <zoontek@gmail.com>",