{"action":"closed","issue":{"url":"https://api.github.com/repos/onfido/onfido-sdk-ui/issues/338","repository_url":"https://api.github.com/repos/onfido/onfido-sdk-ui","labels_url":"https://api.github.com/repos/onfido/onfido-sdk-ui/issues/338/labels{/name}","comments_url":"https://api.github.com/repos/onfido/onfido-sdk-ui/issues/338/comments","events_url":"https://api.github.com/repos/onfido/onfido-sdk-ui/issues/338/events","html_url":"https://github.com/onfido/onfido-sdk-ui/issues/338","id":324130128,"node_id":"MDU6SXNzdWUzMjQxMzAxMjg=","number":338,"title":"Request: allow passing options to Raven config","user":{"login":"jord-goldberg","id":20073456,"node_id":"MDQ6VXNlcjIwMDczNDU2","avatar_url":"https://avatars1.githubusercontent.com/u/20073456?v=4","gravatar_id":"","url":"https://api.github.com/users/jord-goldberg","html_url":"https://github.com/jord-goldberg","followers_url":"https://api.github.com/users/jord-goldberg/followers","following_url":"https://api.github.com/users/jord-goldberg/following{/other_user}","gists_url":"https://api.github.com/users/jord-goldberg/gists{/gist_id}","starred_url":"https://api.github.com/users/jord-goldberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jord-goldberg/subscriptions","organizations_url":"https://api.github.com/users/jord-goldberg/orgs","repos_url":"https://api.github.com/users/jord-goldberg/repos","events_url":"https://api.github.com/users/jord-goldberg/events{/privacy}","received_events_url":"https://api.github.com/users/jord-goldberg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-17T18:11:02Z","updated_at":"2018-10-31T15:21:23Z","closed_at":"2018-10-31T15:21:22Z","author_association":"NONE","body":"Hi, I'm currently working on integrating the onfido sdk into an existing web application. This application has certain requirements - one requirement is detecting when the browser developer console is open to prevent a user from spoofing their GPS coordinates. One strategy we've been using for chrome successfully can be found in [this stackoverflow answer](https://stackoverflow.com/questions/7798748/find-out-whether-chrome-console-is-open).\r\n\r\nUnfortunately, the default config of Raven uses console.log output for breadcrumbs. Without setting the Raven autoBreadcrumbs.console config option to false, the SO answer linked above incorrectly shows the console is open all of the time.\r\n\r\nIf we could pass a ravenConfig option to the Onfido.init method, this would absolutely solve our issue with the client SDK. This seems like a pretty simple thing, so I'd be willing to fork and make a pull request if you are open to that."}}
{"actor":{"display_login":"stefaniacardenas"}}