{"action":"created","issue":{"url":"https://api.github.com/repos/ACRA/acra/issues/648","repository_url":"https://api.github.com/repos/ACRA/acra","labels_url":"https://api.github.com/repos/ACRA/acra/issues/648/labels{/name}","comments_url":"https://api.github.com/repos/ACRA/acra/issues/648/comments","events_url":"https://api.github.com/repos/ACRA/acra/issues/648/events","html_url":"https://github.com/ACRA/acra/issues/648","id":298662252,"number":648,"title":"[new feature] Custom validation in AcraLimiter","user":{"login":"chpasha","id":9569489,"avatar_url":"https://avatars0.githubusercontent.com/u/9569489?v=4","gravatar_id":"","url":"https://api.github.com/users/chpasha","html_url":"https://github.com/chpasha","followers_url":"https://api.github.com/users/chpasha/followers","following_url":"https://api.github.com/users/chpasha/following{/other_user}","gists_url":"https://api.github.com/users/chpasha/gists{/gist_id}","starred_url":"https://api.github.com/users/chpasha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chpasha/subscriptions","organizations_url":"https://api.github.com/users/chpasha/orgs","repos_url":"https://api.github.com/users/chpasha/repos","events_url":"https://api.github.com/users/chpasha/events{/privacy}","received_events_url":"https://api.github.com/users/chpasha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-20T16:34:49Z","updated_at":"2018-02-20T16:37:45Z","closed_at":null,"author_association":"NONE","body":"Hello guys, \r\n\r\nnice idea with having AcraLimiter. I still miss one feature though - in ACRA 4 I had my own ReportSenderFactory generating custom HttpSender class which was omitting some Exceptions that were not real bugs and we didn't need them to be reported. Now AcraLimiter could actually do the job, but it lacks the easy possibility to extend the functionality (is it possible anyhow ?). In my opinion it would be great to have another field in AcraLimiter annotation of type Class<? extends Predicate> predicate() \r\nwhere Predicate is an interface with signature  boolean evaluate(CrashReportData data)\r\nso that every report which fails evaluation would not be send. Of course one would need one default implementation which just returns true.\r\nWhat do you think\r\n"},"comment":{"url":"https://api.github.com/repos/ACRA/acra/issues/comments/367037390","html_url":"https://github.com/ACRA/acra/issues/648#issuecomment-367037390","issue_url":"https://api.github.com/repos/ACRA/acra/issues/648","id":367037390,"user":{"login":"chpasha","id":9569489,"avatar_url":"https://avatars0.githubusercontent.com/u/9569489?v=4","gravatar_id":"","url":"https://api.github.com/users/chpasha","html_url":"https://github.com/chpasha","followers_url":"https://api.github.com/users/chpasha/followers","following_url":"https://api.github.com/users/chpasha/following{/other_user}","gists_url":"https://api.github.com/users/chpasha/gists{/gist_id}","starred_url":"https://api.github.com/users/chpasha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chpasha/subscriptions","organizations_url":"https://api.github.com/users/chpasha/orgs","repos_url":"https://api.github.com/users/chpasha/repos","events_url":"https://api.github.com/users/chpasha/events{/privacy}","received_events_url":"https://api.github.com/users/chpasha/received_events","type":"User","site_admin":false},"created_at":"2018-02-20T16:37:45Z","updated_at":"2018-02-20T16:37:45Z","author_association":"NONE","body":"I've read about custom extensions - this is surely an option"}}
{"actor":{"display_login":"chpasha"}}