From 1e9650478d7fcee03272c3545a765ab89b95d9c5 Mon Sep 17 00:00:00 2001 From: sunnylqm Date: Thu, 5 Sep 2019 18:55:01 +0800 Subject: [PATCH] Update guide --- docs/guide.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/guide.md b/docs/guide.md index 3a592e5..0746980 100644 --- a/docs/guide.md +++ b/docs/guide.md @@ -83,6 +83,9 @@ pod 'react-native-update', path: '../node_modules/react-native-update' ### Android + +
+RN < 0.60 1. 在`android/settings.gradle`中添加如下代码: ``` include ':react-native-update' @@ -97,6 +100,7 @@ pod 'react-native-update', path: '../node_modules/react-native-update' 3. 打开`android/app/src/main/java/[...]/MainApplication.java`, - 在文件开头增加 `import cn.reactnative.modules.update.UpdatePackage;` - 在`getPackages()` 方法中增加 `new UpdatePackage()`(注意上一行可能要增加一个逗号) +
## 二、配置Bundle URL