Fixed an issue with ios pugin where the upload wasn't proceeding