{"action":"created","issue":{"url":"https://api.github.com/repos/bboyfeiyu/AndroidEventBus/issues/12","labels_url":"https://api.github.com/repos/bboyfeiyu/AndroidEventBus/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/bboyfeiyu/AndroidEventBus/issues/12/comments","events_url":"https://api.github.com/repos/bboyfeiyu/AndroidEventBus/issues/12/events","html_url":"https://github.com/bboyfeiyu/AndroidEventBus/issues/12","id":73091526,"number":12,"title":"Proguard Instructions","user":{"login":"creativedrewy","id":2018851,"avatar_url":"https://avatars.githubusercontent.com/u/2018851?v=3","gravatar_id":"","url":"https://api.github.com/users/creativedrewy","html_url":"https://github.com/creativedrewy","followers_url":"https://api.github.com/users/creativedrewy/followers","following_url":"https://api.github.com/users/creativedrewy/following{/other_user}","gists_url":"https://api.github.com/users/creativedrewy/gists{/gist_id}","starred_url":"https://api.github.com/users/creativedrewy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/creativedrewy/subscriptions","organizations_url":"https://api.github.com/users/creativedrewy/orgs","repos_url":"https://api.github.com/users/creativedrewy/repos","events_url":"https://api.github.com/users/creativedrewy/events{/privacy}","received_events_url":"https://api.github.com/users/creativedrewy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-04T18:26:15Z","updated_at":"2015-05-06T00:44:12Z","closed_at":null,"body":"Hey, I just thought I would let you know. If you're using Proguard with this library methods with the @Subscriber annotation may get compiled out of your app. So none of the event handling works - the methods aren't even there to respond. Here is what I added to the proguard rules file:\r\n\r\n```java\r\n-keep class org.simple.** { *; }\r\n-keep interface org.simple.** { *; }\r\n-keepclassmembers class * {\r\n    @org.simple.eventbus.Subscriber <methods>;\r\n}\r\n```\r\nThis keeps any methods that have the Subscriber annotation and the event handling works. I thought you might want to add this to your readme for others who would use the library.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/bboyfeiyu/AndroidEventBus/issues/comments/99276626","html_url":"https://github.com/bboyfeiyu/AndroidEventBus/issues/12#issuecomment-99276626","issue_url":"https://api.github.com/repos/bboyfeiyu/AndroidEventBus/issues/12","id":99276626,"user":{"login":"bboyfeiyu","id":1683811,"avatar_url":"https://avatars.githubusercontent.com/u/1683811?v=3","gravatar_id":"","url":"https://api.github.com/users/bboyfeiyu","html_url":"https://github.com/bboyfeiyu","followers_url":"https://api.github.com/users/bboyfeiyu/followers","following_url":"https://api.github.com/users/bboyfeiyu/following{/other_user}","gists_url":"https://api.github.com/users/bboyfeiyu/gists{/gist_id}","starred_url":"https://api.github.com/users/bboyfeiyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bboyfeiyu/subscriptions","organizations_url":"https://api.github.com/users/bboyfeiyu/orgs","repos_url":"https://api.github.com/users/bboyfeiyu/repos","events_url":"https://api.github.com/users/bboyfeiyu/events{/privacy}","received_events_url":"https://api.github.com/users/bboyfeiyu/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T00:44:12Z","updated_at":"2015-05-06T00:44:12Z","body":"Thanks, andrew, I will be looking forward to your reply .\n\n2015-05-06 4:15 GMT+08:00 Andrew <notifications@github.com>:\n\n> @bboyfeiyu <https://github.com/bboyfeiyu> The app isn't deployed yet. I\n> will make sure that my company is okay with it being in the readme; I don't\n> see why not. I will let you know when it's out there!\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/bboyfeiyu/AndroidEventBus/issues/12#issuecomment-99208580>\n> .\n>\n"}}