Skip to content

Commit 8faa69a

Browse files
committed
Revert "Clarify documentation regarding the disabling of resource splitting for aab packages in Android, emphasizing the potential issue of images not displaying after hot updates."
This reverts commit a59c967.
1 parent a59c967 commit 8faa69a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

site/pages/docs/getting-started.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ android {
527527
528528
### 禁用 aab 包的资源分割(如果你需要在 Google Play 上架)
529529
530-
如果你需要打 aab 包以在 Google Play 上架,则需要禁用 aab 包的资源分割,否则热更后可能遇到图片无法显示的问题
530+
如果你需要打 aab 包以在 Google Play 上架,且 react-native-update 版本 低于 10.36.0,则需要禁用 aab 包的资源分割。若已升级到 10.36.0+ 版本,则不需要此设置
531531
532532
```groovy
533533
// 在 android/app/build.gradle 文件中
@@ -537,6 +537,7 @@ android {
537537
density {
538538
// 请禁用资源分割
539539
// 否则热更后可能遇到图片无法显示的问题
540+
// v10.36.0 版本之后不需要此设置
540541
enableSplit = false
541542
}
542543
}

0 commit comments

Comments
 (0)