added check for server reachability before upload
added check for server reachability before upload

spoonconsulting/cordova-plugin-background-upload,spoonconsulting/cordova-plugin-background-upload,spoonconsulting/cordova-plugin-background-upload