1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-09-16 12:11:39 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
sunnylqm
2024-08-26 18:57:13 +08:00
parent 462a342172
commit a40d627edf
3 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "react-native-update",
"version": "10.13.1",
"version": "10.13.2",
"description": "react-native hot update",
"main": "src/index",
"scripts": {

View File

@@ -277,7 +277,7 @@ export class Pushy {
paths = [],
name,
description = '',
metaInfo = '',
metaInfo,
} = info;
if (
this.options.beforeDownloadUpdate &&

View File

@@ -165,6 +165,7 @@ export const PushyProvider = ({
if (!info) {
return;
}
info.description = info.description ?? '';
updateInfoRef.current = info;
setUpdateInfo(info);
if (info.expired) {