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

Compare commits

...

2 Commits

Author SHA1 Message Date
sunnylqm
49e585a561 v5.11.0-beta2 2021-03-26 18:12:52 +08:00
sunnylqm
0e89b270cc Check download listener 2021-03-26 18:12:25 +08:00
2 changed files with 5 additions and 2 deletions

View File

@@ -529,7 +529,10 @@ class DownloadTask extends AsyncTask<DownloadTaskParams, long[], Void> {
break;
}
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.11.0-beta1",
"version": "5.11.0-beta2",
"description": "react-native hot update",
"main": "lib/index.js",
"scripts": {