mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-09-16 12:11:39 +08:00
v10.13.2
This commit is contained in:
@@ -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": {
|
||||||
|
@@ -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 &&
|
||||||
|
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user