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", "name": "react-native-update",
"version": "10.13.1", "version": "10.13.2",
"description": "react-native hot update", "description": "react-native hot update",
"main": "src/index", "main": "src/index",
"scripts": { "scripts": {

View File

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

View File

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