1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-09-16 10:01:38 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

add back full update

This commit is contained in:
sunnylqm
2022-04-27 21:52:38 +08:00
parent ead8f8cac5
commit ea1a8dfad2
5 changed files with 32 additions and 24 deletions

View File

@@ -70,7 +70,7 @@ public class UpdateModule extends ReactContextBaseJavaModule {
}
@ReactMethod
public void downloadUpdate(ReadableMap options, final Promise promise) {
public void downloadFullUpdate(ReadableMap options, final Promise promise) {
String url = options.getString("updateUrl");
String hash = options.getString("hash");
updateContext.downloadFullUpdate(url, hash, new UpdateContext.DownloadFileListener() {