{"action":"created","issue":{"url":"https://api.github.com/repos/getsentry/react-native-sentry/issues/416","repository_url":"https://api.github.com/repos/getsentry/react-native-sentry","labels_url":"https://api.github.com/repos/getsentry/react-native-sentry/issues/416/labels{/name}","comments_url":"https://api.github.com/repos/getsentry/react-native-sentry/issues/416/comments","events_url":"https://api.github.com/repos/getsentry/react-native-sentry/issues/416/events","html_url":"https://github.com/getsentry/react-native-sentry/issues/416","id":326429951,"node_id":"MDU6SXNzdWUzMjY0Mjk5NTE=","number":416,"title":"[ANDROID] - Adding source map references error: could not parse JSON response","user":{"login":"abrel","id":6062799,"node_id":"MDQ6VXNlcjYwNjI3OTk=","avatar_url":"https://avatars0.githubusercontent.com/u/6062799?v=4","gravatar_id":"","url":"https://api.github.com/users/abrel","html_url":"https://github.com/abrel","followers_url":"https://api.github.com/users/abrel/followers","following_url":"https://api.github.com/users/abrel/following{/other_user}","gists_url":"https://api.github.com/users/abrel/gists{/gist_id}","starred_url":"https://api.github.com/users/abrel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abrel/subscriptions","organizations_url":"https://api.github.com/users/abrel/orgs","repos_url":"https://api.github.com/users/abrel/repos","events_url":"https://api.github.com/users/abrel/events{/privacy}","received_events_url":"https://api.github.com/users/abrel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"HazAT","id":363802,"node_id":"MDQ6VXNlcjM2MzgwMg==","avatar_url":"https://avatars2.githubusercontent.com/u/363802?v=4","gravatar_id":"","url":"https://api.github.com/users/HazAT","html_url":"https://github.com/HazAT","followers_url":"https://api.github.com/users/HazAT/followers","following_url":"https://api.github.com/users/HazAT/following{/other_user}","gists_url":"https://api.github.com/users/HazAT/gists{/gist_id}","starred_url":"https://api.github.com/users/HazAT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HazAT/subscriptions","organizations_url":"https://api.github.com/users/HazAT/orgs","repos_url":"https://api.github.com/users/HazAT/repos","events_url":"https://api.github.com/users/HazAT/events{/privacy}","received_events_url":"https://api.github.com/users/HazAT/received_events","type":"User","site_admin":false},"assignees":[{"login":"HazAT","id":363802,"node_id":"MDQ6VXNlcjM2MzgwMg==","avatar_url":"https://avatars2.githubusercontent.com/u/363802?v=4","gravatar_id":"","url":"https://api.github.com/users/HazAT","html_url":"https://github.com/HazAT","followers_url":"https://api.github.com/users/HazAT/followers","following_url":"https://api.github.com/users/HazAT/following{/other_user}","gists_url":"https://api.github.com/users/HazAT/gists{/gist_id}","starred_url":"https://api.github.com/users/HazAT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HazAT/subscriptions","organizations_url":"https://api.github.com/users/HazAT/orgs","repos_url":"https://api.github.com/users/HazAT/repos","events_url":"https://api.github.com/users/HazAT/events{/privacy}","received_events_url":"https://api.github.com/users/HazAT/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2018-05-25T08:35:22Z","updated_at":"2018-06-08T09:53:31Z","closed_at":null,"author_association":"NONE","body":"OS:\r\n- [ ]  Windows\r\n- [x]  MacOS\r\n- [ ]  Linux\r\n\r\n_Platform:_\r\n- [ ]  iOS\r\n- [x]  Android\r\n\r\nOutput of `node -v && npm -v && npm ls --prod --depth=0`\r\n\r\n```\r\nv8.4.0\r\n4.0.5\r\n├── axios@0.15.3\r\n├── card-validator@4.3.0\r\n├── color@2.0.1\r\n├── es6-symbol@3.1.1\r\n├── humps@2.0.1\r\n├── immutable@3.8.2\r\n├── instabug-reactnative@2.11.1\r\n├── invariant@2.2.3\r\n├── ios-deploy@1.9.2\r\n├── lodash@4.17.5\r\n├── lottie-react-native@2.3.2\r\n├── moment@2.20.1\r\n├── moment-timezone@0.5.14\r\n├── normalizr@3.2.4\r\n├── prop-types@15.6.1\r\n├── UNMET PEER DEPENDENCY react@16.3.1\r\n├── UNMET PEER DEPENDENCY react-dom@16.3.0-alpha.1\r\n├── react-native@0.55.3\r\n├── react-native-adjust@4.12.0 invalid\r\n├── react-native-animatable@1.2.4\r\n├── react-native-background-upload@4.4.0\r\n├── react-native-calendar-events@1.5.0\r\n├── react-native-carrier-info@1.0.1\r\n├── react-native-code-push@5.3.2\r\n├── react-native-contacts@2.1.1\r\n├── react-native-country-picker-modal@0.5.1\r\n├── react-native-device-info@0.13.0\r\n├── react-native-document-picker@2.1.0\r\n├── react-native-fabric@0.4.1\r\n├── react-native-fetch-blob@0.10.8\r\n├── react-native-firebase@3.2.7\r\n├── react-native-gifted-chat@0.3.0\r\n├── react-native-htmlview@0.12.1\r\n├── react-native-i18n@2.0.12\r\n├── react-native-image-crop-picker@0.20.1\r\n├── react-native-keep-awake@2.0.6\r\n├── react-native-keyboard-aware-scroll-view@0.5.0\r\n├── react-native-keychain@2.0.0-rc\r\n├── react-native-navstack@0.0.3\r\n├── react-native-pdf@2.0.7\r\n├── react-native-permissions@1.1.1\r\n├── react-native-phone-input@0.1.10\r\n├── react-native-picker@4.3.5\r\n├── react-native-progress@3.4.0\r\n├── react-native-router-flux@3.43.0\r\n├── react-native-sentry@0.37.0\r\n├── react-native-share@1.0.23\r\n├── react-native-smooch@1.0.1\r\n├── react-native-sms@1.5.2\r\n├── react-native-star-rating@1.0.9\r\n├── react-native-store-review@0.1.5\r\n├── react-native-swiper@1.5.13\r\n├── react-native-touch-id@4.0.1\r\n├── react-native-ux-cam@4.4.0\r\n├── react-native-vector-icons@4.5.0\r\n├── react-native-version-check@3.0.0-rc.5\r\n├── react-redux@5.0.7\r\n├── redux@3.6.0\r\n├── redux-form@6.8.0\r\n├── redux-logger@3.0.6\r\n├── redux-persist@4.10.2\r\n├── redux-persist-transform-filter@0.0.10\r\n├── redux-persist-transform-immutable@4.3.0\r\n├── redux-promise@0.5.3\r\n├── redux-saga@0.14.8\r\n├── redux-thunk@2.1.2\r\n├── socket.io-client@2.0.4\r\n├── tipsi-stripe@4.6.3\r\n├── urijs@1.19.1\r\n└── uuid@3.2.1\r\n```\r\n\r\nConfig:\r\n\r\n```\r\nSentry.config('https://...@sentry.io/...', {\r\n   ignoreUrls: [/XXX\\.io/, /localhost/],\r\n}).install()\r\n```\r\n\r\n\r\n\r\n---\r\nI have following issue:\r\n\r\nI am not able to build in release mode with android due to a sourcemap issue\r\n\r\n```\r\nProcessing react-native sourcemaps for Sentry upload.\r\n> Analyzing 2 sources\r\n> Rewriting sources\r\n> Adding source map references\r\nerror: could not parse JSON response\r\n  caused by: missing field `version` at line 1 column 35\r\n:app:bundleDevReleaseJsAndAssets FAILED\r\n\r\nFAILURE: Build failed with an exception.\r\n```\r\n\r\n**Steps to reproduce:**\r\n- Build for Android e.g:\r\n```\r\nreact-native run-android --variant=devRelease\r\n```\r\n**Actual result:**\r\n- Failure\r\n\r\n**Expected result:**\r\n- Build should be successful\r\n"},"comment":{"url":"https://api.github.com/repos/getsentry/react-native-sentry/issues/comments/395712041","html_url":"https://github.com/getsentry/react-native-sentry/issues/416#issuecomment-395712041","issue_url":"https://api.github.com/repos/getsentry/react-native-sentry/issues/416","id":395712041,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTcxMjA0MQ==","user":{"login":"victormartingarcia","id":659832,"node_id":"MDQ6VXNlcjY1OTgzMg==","avatar_url":"https://avatars1.githubusercontent.com/u/659832?v=4","gravatar_id":"","url":"https://api.github.com/users/victormartingarcia","html_url":"https://github.com/victormartingarcia","followers_url":"https://api.github.com/users/victormartingarcia/followers","following_url":"https://api.github.com/users/victormartingarcia/following{/other_user}","gists_url":"https://api.github.com/users/victormartingarcia/gists{/gist_id}","starred_url":"https://api.github.com/users/victormartingarcia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victormartingarcia/subscriptions","organizations_url":"https://api.github.com/users/victormartingarcia/orgs","repos_url":"https://api.github.com/users/victormartingarcia/repos","events_url":"https://api.github.com/users/victormartingarcia/events{/privacy}","received_events_url":"https://api.github.com/users/victormartingarcia/received_events","type":"User","site_admin":false},"created_at":"2018-06-08T09:53:31Z","updated_at":"2018-06-08T09:53:31Z","author_association":"NONE","body":"@HazAT any suggestion for a dirty fix that let me move on in the meantime?\r\n\r\nRight now we cannot build any release version of the app because of this. Well, wecould do that removing react-native-sentry reference for both our android/ios projects, but it's a bummer ;)\r\n\r\n"}}
{"actor":{"display_login":"victormartingarcia"}}