From 2f1c57cb74394ce73c9cce0e9ab3a60751bcd030 Mon Sep 17 00:00:00 2001
From: renzhenhua <908237408@qq.com>
Date: Fri, 15 Dec 2023 09:45:40 +0800
Subject: [PATCH 1/2] =?UTF-8?q?[Issues:=20#I8OKR4]=20=E6=B7=BB=E5=8A=A0Scr?=
=?UTF-8?q?eens=E6=96=87=E6=A1=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 1 +
zh-cn/react-native-screens.md | 29 +++++++++++++++++++++++++++++
2 files changed, 30 insertions(+)
create mode 100644 zh-cn/react-native-screens.md
diff --git a/README.md b/README.md
index baccb254..d6750afd 100644
--- a/README.md
+++ b/README.md
@@ -29,6 +29,7 @@
| 13 | [react-native-svg](https://github.com/software-mansion/react-native-svg) | 13.14.0 | 是 | 10% | [@react-native-oh-tpl/react-native-svg](https://github.com/react-native-oh-library/react-native-svg/releases) | [链接](zh-cn/react-native-svg.md) |
| 14 | [react-native-exception-handler](https://github.com/a7ul/react-native-exception-handler) | 2.10.10 | 否 | 100% | [@react-native-oh-tpl/react-native-exception-handler](https://github.com/react-native-oh-library/react-native-exception-handler/releases) | [链接](zh-cn/react-native-exception-handler.md) |
| 15 | [react-native-pager-view](https://github.com/callstack/react-native-pager-view) | 6.2.2 | 是 | 100% | [@react-native-oh-tpl/react-native-pager-view](https://github.com/react-native-oh-library/react-native-pager-view/releases) | [链接](zh-cn/react-native-pager-view.md) |
+| 16 | [react-native-screens](https://github.com/software-mansion/react-native-screens) | 3.29.0 | 是 | 100% | [react-native-screens](https://github.com/software-mansion/react-native-screens/releases) | [链接](zh-cn/react-native-screens.md) |
## 社区
diff --git a/zh-cn/react-native-screens.md b/zh-cn/react-native-screens.md
new file mode 100644
index 00000000..b9a8eea0
--- /dev/null
+++ b/zh-cn/react-native-screens.md
@@ -0,0 +1,29 @@
+> 模板版本:v0.0.1
+
+
+
react-native-screens
+
+
+
+
+
+
+
+
+
+
+### 禁用 `react-native-screens`
+
+因为没有鸿蒙原生实现 react-native-screens,需要禁用鸿蒙原生屏幕,使用 react-native views,请在您的入口文件中添加以下代码。 (例如. `App.js`):
+
+```js
+import { enableScreens } from "react-native-screens";
+
+enableScreens(false);
+```
+
+您还可以通过[`detachInactiveScreens`](https://reactnavigation.org/docs/stack-navigator#detachinactivescreens)在每个导航器中禁用使用原生屏幕
+
+## 开源协议
+
+本项目基于 [The MIT License (MIT)](https://github.com/a7ul/react-native-exception-handler/blob/master/LICENSE) ,请自由地享受和参与开源。
--
Gitee
From 2630241759a304e220eb367573ebb0b28acd7841 Mon Sep 17 00:00:00 2001
From: renzhenhua <908237408@qq.com>
Date: Fri, 15 Dec 2023 10:18:01 +0800
Subject: [PATCH 2/2] =?UTF-8?q?[Issues:=20#I8OKR4]=20=E6=B7=BB=E5=8A=A0Scr?=
=?UTF-8?q?eens=E6=96=87=E6=A1=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index d6750afd..d9ac134f 100644
--- a/README.md
+++ b/README.md
@@ -29,7 +29,7 @@
| 13 | [react-native-svg](https://github.com/software-mansion/react-native-svg) | 13.14.0 | 是 | 10% | [@react-native-oh-tpl/react-native-svg](https://github.com/react-native-oh-library/react-native-svg/releases) | [链接](zh-cn/react-native-svg.md) |
| 14 | [react-native-exception-handler](https://github.com/a7ul/react-native-exception-handler) | 2.10.10 | 否 | 100% | [@react-native-oh-tpl/react-native-exception-handler](https://github.com/react-native-oh-library/react-native-exception-handler/releases) | [链接](zh-cn/react-native-exception-handler.md) |
| 15 | [react-native-pager-view](https://github.com/callstack/react-native-pager-view) | 6.2.2 | 是 | 100% | [@react-native-oh-tpl/react-native-pager-view](https://github.com/react-native-oh-library/react-native-pager-view/releases) | [链接](zh-cn/react-native-pager-view.md) |
-| 16 | [react-native-screens](https://github.com/software-mansion/react-native-screens) | 3.29.0 | 是 | 100% | [react-native-screens](https://github.com/software-mansion/react-native-screens/releases) | [链接](zh-cn/react-native-screens.md) |
+| 16 | [react-native-screens](https://github.com/software-mansion/react-native-screens) | 3.29.0 | 是 | 0% | [react-native-screens](https://github.com/software-mansion/react-native-screens/releases) | [链接](zh-cn/react-native-screens.md) |
## 社区
--
Gitee