Skip to content

Commit a59c967

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

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

site/pages/docs/getting-started.mdx

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

0 commit comments

Comments
 (0)