{"action":"created","issue":{"url":"https://api.github.com/repos/VeliovGroup/Meteor-Files/issues/458","repository_url":"https://api.github.com/repos/VeliovGroup/Meteor-Files","labels_url":"https://api.github.com/repos/VeliovGroup/Meteor-Files/issues/458/labels{/name}","comments_url":"https://api.github.com/repos/VeliovGroup/Meteor-Files/issues/458/comments","events_url":"https://api.github.com/repos/VeliovGroup/Meteor-Files/issues/458/events","html_url":"https://github.com/VeliovGroup/Meteor-Files/issues/458","id":240558261,"number":458,"title":"Files upload not working on IOS.","user":{"login":"IDCOLL","id":18208487,"avatar_url":"https://avatars0.githubusercontent.com/u/18208487?v=4","gravatar_id":"","url":"https://api.github.com/users/IDCOLL","html_url":"https://github.com/IDCOLL","followers_url":"https://api.github.com/users/IDCOLL/followers","following_url":"https://api.github.com/users/IDCOLL/following{/other_user}","gists_url":"https://api.github.com/users/IDCOLL/gists{/gist_id}","starred_url":"https://api.github.com/users/IDCOLL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IDCOLL/subscriptions","organizations_url":"https://api.github.com/users/IDCOLL/orgs","repos_url":"https://api.github.com/users/IDCOLL/repos","events_url":"https://api.github.com/users/IDCOLL/events{/privacy}","received_events_url":"https://api.github.com/users/IDCOLL/received_events","type":"User","site_admin":false},"labels":[{"id":200431645,"url":"https://api.github.com/repos/VeliovGroup/Meteor-Files/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-07-05T07:10:48Z","updated_at":"2017-07-21T08:59:02Z","closed_at":"2017-07-18T19:33:42Z","body":"- Meteor 1.3.5.1\r\n- Meteor-Files v1.8.0 , added via Meteor Add ostrio:files\r\n- Server Side Issue\r\n\r\n\r\nI have Meteor-Files uploading images via my Webapp to Dropbox. The solution seems to work on my Windows Laptop (Chrome, Mozilla) browsers. On mobile devices that is Android based it uploads to Dropbox. \r\n\r\nIt will however not upload from my iphone (Guessing IOS related?). Is there a know issue for IOS devices. When I go to the files.veliov.com site and I try to upload from the same IOS device it will also not start.\r\n\r\nThe server log gets stuck on the following line:\r\n---[Upload] [DDP] Got #1/1 chunks, dst: image.jpg\r\n```js\r\nMy code for uploading,**client side**:\r\n              var uploadInstance = Images.insert({\r\n                file: file,\r\n                streams: 'dynamic',\r\n                chunkSize: 'dynamic'\r\n              }, false);\r\n              uploadInstance.on('start', function() {\r\n                      this.currentUploadvar = 1;\r\n                      console.log(this.currentUploadvar);\r\n                     });\r\n              uploadInstance.on('end', function(error, fileObj) {\r\n                  if (error) {\r\n                      alert('Error during upload: ' + error.reason);\r\n                      } else {\r\n                      alert('File \"' + fileObj.name + '\" successfully uploaded');\r\n                              }\r\n                      // console.log('Upload Ended');\r\n                      //  this.currentUpload.set(false);\r\n                      this.currentUploadvar = 0;\r\n                      });\r\n\r\n              uploadInstance.start();\r\n```\r\nServer side code,\r\n**Basically the same as the Dropbox upload tutorial.**\r\n\r\nAny assistance would be greatly appreciated.\r\n"},"comment":{"url":"https://api.github.com/repos/VeliovGroup/Meteor-Files/issues/comments/316946369","html_url":"https://github.com/VeliovGroup/Meteor-Files/issues/458#issuecomment-316946369","issue_url":"https://api.github.com/repos/VeliovGroup/Meteor-Files/issues/458","id":316946369,"user":{"login":"derwok","id":4393698,"avatar_url":"https://avatars1.githubusercontent.com/u/4393698?v=4","gravatar_id":"","url":"https://api.github.com/users/derwok","html_url":"https://github.com/derwok","followers_url":"https://api.github.com/users/derwok/followers","following_url":"https://api.github.com/users/derwok/following{/other_user}","gists_url":"https://api.github.com/users/derwok/gists{/gist_id}","starred_url":"https://api.github.com/users/derwok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derwok/subscriptions","organizations_url":"https://api.github.com/users/derwok/orgs","repos_url":"https://api.github.com/users/derwok/repos","events_url":"https://api.github.com/users/derwok/events{/privacy}","received_events_url":"https://api.github.com/users/derwok/received_events","type":"User","site_admin":false},"created_at":"2017-07-21T08:59:02Z","updated_at":"2017-07-21T08:59:02Z","body":"With ostrio:files (Meteor-Files) 1.8.0 we also had this problem, that iOS devices sometimes could not upload at all, sometimes simply the progressbar stuck at 0%, then after \"some time\" (>10 Secs) the Upload was nevertheless successfully done.\r\nWe are on Meteor 1.5.1.\r\nFor us the solution was `streams: 1`inside FilesCollection.insert().\r\nsee: https://github.com/4minitz/4minitz/commit/ff8f0e269f94c71b9093d22cf730d8d6460d08f6\r\n"}}
{"actor":{"display_login":"derwok"}}