{"action":"created","issue":{"url":"https://api.github.com/repos/wkh237/react-native-fetch-blob/issues/179","repository_url":"https://api.github.com/repos/wkh237/react-native-fetch-blob","labels_url":"https://api.github.com/repos/wkh237/react-native-fetch-blob/issues/179/labels{/name}","comments_url":"https://api.github.com/repos/wkh237/react-native-fetch-blob/issues/179/comments","events_url":"https://api.github.com/repos/wkh237/react-native-fetch-blob/issues/179/events","html_url":"https://github.com/wkh237/react-native-fetch-blob/issues/179","id":188970310,"node_id":"MDU6SXNzdWUxODg5NzAzMTA=","number":179,"title":"Firebase upload suddenly won't work","user":{"login":"kennedc","id":6737106,"node_id":"MDQ6VXNlcjY3MzcxMDY=","avatar_url":"https://avatars1.githubusercontent.com/u/6737106?v=4","gravatar_id":"","url":"https://api.github.com/users/kennedc","html_url":"https://github.com/kennedc","followers_url":"https://api.github.com/users/kennedc/followers","following_url":"https://api.github.com/users/kennedc/following{/other_user}","gists_url":"https://api.github.com/users/kennedc/gists{/gist_id}","starred_url":"https://api.github.com/users/kennedc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennedc/subscriptions","organizations_url":"https://api.github.com/users/kennedc/orgs","repos_url":"https://api.github.com/users/kennedc/repos","events_url":"https://api.github.com/users/kennedc/events{/privacy}","received_events_url":"https://api.github.com/users/kennedc/received_events","type":"User","site_admin":false},"labels":[{"id":436361522,"node_id":"MDU6TGFiZWw0MzYzNjE1MjI=","url":"https://api.github.com/repos/wkh237/react-native-fetch-blob/labels/beta","name":"beta","color":"fbca04","default":false},{"id":392925678,"node_id":"MDU6TGFiZWwzOTI5MjU2Nzg=","url":"https://api.github.com/repos/wkh237/react-native-fetch-blob/labels/needs%20feedback","name":"needs feedback","color":"33ddbb","default":false},{"id":380948108,"node_id":"MDU6TGFiZWwzODA5NDgxMDg=","url":"https://api.github.com/repos/wkh237/react-native-fetch-blob/labels/needs%20investigation","name":"needs investigation","color":"bfdadc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2016-11-13T13:29:28Z","updated_at":"2018-07-07T16:18:34Z","closed_at":"2017-01-04T03:08:10Z","author_association":"NONE","body":"I am using \r\n\r\n    \"firebase\": \"^3.6.0\",\r\n    \"react\": \"15.3.2\",\r\n    \"react-native\": \"0.37.0\",\r\n    \"react-native-camera\": \"git+https://github.com/lwansbrough/react-native-camera.git\",\r\n    \"react-native-fetch-blob\": \"^0.10.0\",\r\n    \"react-native-vector-icons\": \"^3.0.0\",\r\n    \"react-native-video\": \"^0.9.0\"\r\n\r\nAnd i'm trying to upload a video recorded with react-native-video to firebase - this worked but suddenly it stopped working and now it doesn't succeed.\r\n\r\nI'm using the following code where this.props.file.path looks something like this:\r\n\r\nfile:///storage/emulated/0/Pictures/vidid.mp4\r\n```\r\n  accept = () => {\r\n    let rnfbURI = RNFetchBlob.wrap(this.props.file.path)\r\n    Blob\r\n    .build(rnfbURI, { type : 'video/mp4;'})\r\n    .then((blob) => {\r\n      // upload image using Firebase SDK\r\n      firebase.storage()\r\n        .ref()\r\n        .child('testImageName')\r\n        .put(blob, { contentType : 'video/mp4' })\r\n        .then((snapshot) => {\r\n          console.log(snapshot)\r\n          blob.close()\r\n          done()\r\n        })\r\n    })\r\n}\r\n```\r\nI tried writing Firebase support, but then won't help me since this is a workaround.\r\n\r\nMy blob object looks like this:\r\n\r\n```\r\n { listeners: {},\r\n   isRNFetchBlobPolyfill: true,\r\n   multipartBoundary: null,\r\n   _ref: 'file:///storage/emulated/0/Pictures/VID_20161113_142100.mp4',\r\n   _blobCreated: true,\r\n   _closed: false,\r\n   cacheName: 'blob-559cd5c4-e880-4742-a3fe-dfae7e1a0df0',\r\n   type: 'video/mp4;',\r\n   size: '3665375' }\r\n```"},"comment":{"url":"https://api.github.com/repos/wkh237/react-native-fetch-blob/issues/comments/403226396","html_url":"https://github.com/wkh237/react-native-fetch-blob/issues/179#issuecomment-403226396","issue_url":"https://api.github.com/repos/wkh237/react-native-fetch-blob/issues/179","id":403226396,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzIyNjM5Ng==","user":{"login":"JakeNolan","id":8476350,"node_id":"MDQ6VXNlcjg0NzYzNTA=","avatar_url":"https://avatars0.githubusercontent.com/u/8476350?v=4","gravatar_id":"","url":"https://api.github.com/users/JakeNolan","html_url":"https://github.com/JakeNolan","followers_url":"https://api.github.com/users/JakeNolan/followers","following_url":"https://api.github.com/users/JakeNolan/following{/other_user}","gists_url":"https://api.github.com/users/JakeNolan/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeNolan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeNolan/subscriptions","organizations_url":"https://api.github.com/users/JakeNolan/orgs","repos_url":"https://api.github.com/users/JakeNolan/repos","events_url":"https://api.github.com/users/JakeNolan/events{/privacy}","received_events_url":"https://api.github.com/users/JakeNolan/received_events","type":"User","site_admin":false},"created_at":"2018-07-07T16:18:34Z","updated_at":"2018-07-07T16:18:34Z","author_association":"NONE","body":"Shoot, ok thanks anyway."}}
{"actor":{"display_login":"JakeNolan"}}