1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-09-16 12:51:44 +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,7 +490,10 @@ class DownloadTask extends AsyncTask<DownloadTaskParams, long[], Void> {
e.printStackTrace();
}
Log.e("pushy", "download task failed", e);
params[0].listener.onDownloadFailed(e);
if (params[0].listener != null) {
params[0].listener.onDownloadFailed(e);
}
}
return null;
}

View File

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