1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-09-16 10:21:37 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee
This commit is contained in:
sunnylqm
2024-10-03 21:42:22 +08:00
parent 94431ee6f7
commit 04ac3f3384
4 changed files with 4 additions and 7 deletions

View File

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

View File

@@ -187,6 +187,7 @@ export class Pushy {
...extra,
};
if (__DEV__) {
// @ts-ignore
delete fetchBody.buildTime;
}
const body = JSON.stringify(fetchBody);

View File

@@ -13,11 +13,7 @@ import {
Linking,
} from 'react-native';
import { Pushy } from './client';
import {
currentVersion,
packageVersion,
getCurrentVersionInfo,
} from './core';
import { currentVersion, packageVersion, getCurrentVersionInfo } from './core';
import { CheckResult, ProgressData, PushyTestPayload } from './type';
import { PushyContext } from './context';
import { URL } from 'react-native-url-polyfill';

View File

@@ -49,7 +49,7 @@ export interface EventData {
uuid: string;
};
packageVersion: string;
buildTime: number;
buildTime: string;
message?: string;
rolledBackVersion?: string;
newVersion?: string;