1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-09-17 19:26:10 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

Compare commits

...

2 Commits

Author SHA1 Message Date
sunnylqm
1f1a10bfa0 v5.10.1 2021-03-26 18:28:27 +08:00
sunnylqm
d953ef3111 Check download listener 2021-03-26 18:27:22 +08:00
2 changed files with 5 additions and 2 deletions

View File

@@ -490,8 +490,11 @@ class DownloadTask extends AsyncTask<DownloadTaskParams, long[], Void> {
e.printStackTrace(); e.printStackTrace();
} }
Log.e("pushy", "download task failed", e); Log.e("pushy", "download task failed", e);
if (params[0].listener != null) {
params[0].listener.onDownloadFailed(e); params[0].listener.onDownloadFailed(e);
} }
}
return null; return null;
} }

View File

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