1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

Merge branch 'master' of github.com:reactnativecn/react-native-pushy

# Conflicts:
#	package.json
This commit is contained in:
sunnylqm 2020-09-16 17:35:16 +08:00
commit 37a1a5a18b
2 changed files with 3 additions and 2 deletions

View File

@ -59,7 +59,7 @@ export default class App extends Component {
try {
const hash = await downloadUpdate(info, {
onDownloadProgress: ({received, total}) => {
setState({
this.setState({
received,
total,
});
@ -122,6 +122,7 @@ export default class App extends Component {
};
render() {
const { received, total } = this.state;
return (
<View style={styles.container}>
<Text style={styles.welcome}>欢迎使用热更新服务</Text>

View File

@ -1,6 +1,6 @@
{
"name": "react-native-update",
"version": "5.8.0-beta1",
"version": "5.8.0",
"description": "react-native hot update",
"main": "lib/index.js",
"scripts": {