This commit is contained in:
Jerry Yan 2020-02-27 23:15:49 +08:00
parent 2dd92eef08
commit de11b2592e
2 changed files with 10 additions and 2 deletions

View File

@ -21,7 +21,7 @@ import java.util.Map;
public class UpgradeModule extends ReactContextBaseJavaModule { public class UpgradeModule extends ReactContextBaseJavaModule {
private final ReactApplicationContext reactContext; private final ReactApplicationContext reactContext;
private String downloadUrl; private String downloadUrl;
private String title = "应用更新"; private String title = "更新";
public UpgradeModule(ReactApplicationContext reactContext) { public UpgradeModule(ReactApplicationContext reactContext) {
super(reactContext); super(reactContext);

View File

@ -1,6 +1,14 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<paths> <paths>
<external-path path="." name="Download" /> <external-path
name="external"
path="." />
<external-files-path
name="external_files"
path="." />
<files-path
name="files"
path="." />
</paths> </paths>
</resources> </resources>