1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-09-16 07:11:39 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
sunnylqm
2025-04-11 17:36:04 +08:00
parent ff50e03446
commit 7a8640d582
2 changed files with 2 additions and 1 deletions

View File

@@ -154,6 +154,7 @@ export class Pushy {
};
static assertHash = (hash: string) => {
if (!Pushy.downloadedHash) {
log('no downloaded hash');
return;
}
if (hash !== Pushy.downloadedHash) {

View File

@@ -241,7 +241,7 @@ export const UpdateProvider = ({
client,
alertError,
throwErrorIfEnabled,
options.updateStrategy,
options,
alertUpdate,
downloadAndInstallApk,
downloadUpdate,