{"action":"created","issue":{"url":"https://api.github.com/repos/ParkSangGwon/TedPermission/issues/12","repository_url":"https://api.github.com/repos/ParkSangGwon/TedPermission","labels_url":"https://api.github.com/repos/ParkSangGwon/TedPermission/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/ParkSangGwon/TedPermission/issues/12/comments","events_url":"https://api.github.com/repos/ParkSangGwon/TedPermission/issues/12/events","html_url":"https://github.com/ParkSangGwon/TedPermission/issues/12","id":156959188,"number":12,"title":"Not working when obfuscating","user":{"login":"TurhanOz","id":3942762,"avatar_url":"https://avatars.githubusercontent.com/u/3942762?v=3","gravatar_id":"","url":"https://api.github.com/users/TurhanOz","html_url":"https://github.com/TurhanOz","followers_url":"https://api.github.com/users/TurhanOz/followers","following_url":"https://api.github.com/users/TurhanOz/following{/other_user}","gists_url":"https://api.github.com/users/TurhanOz/gists{/gist_id}","starred_url":"https://api.github.com/users/TurhanOz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TurhanOz/subscriptions","organizations_url":"https://api.github.com/users/TurhanOz/orgs","repos_url":"https://api.github.com/users/TurhanOz/repos","events_url":"https://api.github.com/users/TurhanOz/events{/privacy}","received_events_url":"https://api.github.com/users/TurhanOz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-05-26T11:06:39Z","updated_at":"2016-06-20T18:28:36Z","closed_at":null,"body":"Have you tried your library with 'minify' enabled ?\r\nIt does not work : more precisely, the PermissionListener is never triggered.\r\n\r\nThe following proguard rule should fix it. Please update Readme accordingly : \r\n\r\n#TedPermission\r\n-keep class com.gun0912.tedpermission.** {\r\n  public protected private *;\r\n}\r\n\r\nCheers"},"comment":{"url":"https://api.github.com/repos/ParkSangGwon/TedPermission/issues/comments/227227825","html_url":"https://github.com/ParkSangGwon/TedPermission/issues/12#issuecomment-227227825","issue_url":"https://api.github.com/repos/ParkSangGwon/TedPermission/issues/12","id":227227825,"user":{"login":"TurhanOz","id":3942762,"avatar_url":"https://avatars.githubusercontent.com/u/3942762?v=3","gravatar_id":"","url":"https://api.github.com/users/TurhanOz","html_url":"https://github.com/TurhanOz","followers_url":"https://api.github.com/users/TurhanOz/followers","following_url":"https://api.github.com/users/TurhanOz/following{/other_user}","gists_url":"https://api.github.com/users/TurhanOz/gists{/gist_id}","starred_url":"https://api.github.com/users/TurhanOz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TurhanOz/subscriptions","organizations_url":"https://api.github.com/users/TurhanOz/orgs","repos_url":"https://api.github.com/users/TurhanOz/repos","events_url":"https://api.github.com/users/TurhanOz/events{/privacy}","received_events_url":"https://api.github.com/users/TurhanOz/received_events","type":"User","site_admin":false},"created_at":"2016-06-20T18:28:35Z","updated_at":"2016-06-20T18:28:35Z","body":"`public static String buildLogMsg(String message) {\r\n        StackTraceElement ste = Thread.currentThread().getStackTrace()[4];\r\n        StringBuilder sb = new StringBuilder();\r\n        sb.append(\"[\");\r\n        sb.append(ste.getFileName().replace(\".java\", \"\"));\r\n        sb.append(\"::\");\r\n        sb.append(ste.getMethodName());\r\n        sb.append(\"]\");\r\n        sb.append(message);\r\n        return sb.toString();\r\n    }\r\n\r\n`\r\n\r\nIt seems that the StackTraceElement is null... (getting it from the 4th element of StackTrace leads to Null in this case...)\r\n"}}
{"actor":{"display_login":"TurhanOz"}}