{"action":"created","issue":{"url":"https://api.github.com/repos/MSOpenTech/msa-auth-for-android/issues/9","labels_url":"https://api.github.com/repos/MSOpenTech/msa-auth-for-android/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/MSOpenTech/msa-auth-for-android/issues/9/comments","events_url":"https://api.github.com/repos/MSOpenTech/msa-auth-for-android/issues/9/events","html_url":"https://github.com/MSOpenTech/msa-auth-for-android/issues/9","id":105838168,"number":9,"title":"Deprecated packages","user":{"login":"black-snow","id":579733,"avatar_url":"https://avatars.githubusercontent.com/u/579733?v=3","gravatar_id":"","url":"https://api.github.com/users/black-snow","html_url":"https://github.com/black-snow","followers_url":"https://api.github.com/users/black-snow/followers","following_url":"https://api.github.com/users/black-snow/following{/other_user}","gists_url":"https://api.github.com/users/black-snow/gists{/gist_id}","starred_url":"https://api.github.com/users/black-snow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/black-snow/subscriptions","organizations_url":"https://api.github.com/users/black-snow/orgs","repos_url":"https://api.github.com/users/black-snow/repos","events_url":"https://api.github.com/users/black-snow/events{/privacy}","received_events_url":"https://api.github.com/users/black-snow/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/MSOpenTech/msa-auth-for-android/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-09-10T15:48:50Z","updated_at":"2015-10-08T16:39:30Z","closed_at":"2015-09-10T17:34:52Z","body":"Hi there,\r\n\r\nare there any plans on replacing deprecated packages / classes such as `org.apache.http.NameValuePair` and `org.apache.http.client.HttpClient`?"},"comment":{"url":"https://api.github.com/repos/MSOpenTech/msa-auth-for-android/issues/comments/146613391","html_url":"https://github.com/MSOpenTech/msa-auth-for-android/issues/9#issuecomment-146613391","issue_url":"https://api.github.com/repos/MSOpenTech/msa-auth-for-android/issues/9","id":146613391,"user":{"login":"peternied","id":2754967,"avatar_url":"https://avatars.githubusercontent.com/u/2754967?v=3","gravatar_id":"","url":"https://api.github.com/users/peternied","html_url":"https://github.com/peternied","followers_url":"https://api.github.com/users/peternied/followers","following_url":"https://api.github.com/users/peternied/following{/other_user}","gists_url":"https://api.github.com/users/peternied/gists{/gist_id}","starred_url":"https://api.github.com/users/peternied/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peternied/subscriptions","organizations_url":"https://api.github.com/users/peternied/orgs","repos_url":"https://api.github.com/users/peternied/repos","events_url":"https://api.github.com/users/peternied/events{/privacy}","received_events_url":"https://api.github.com/users/peternied/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T16:39:30Z","updated_at":"2015-10-08T16:39:30Z","body":"I tested this out a little yesterday just to confirm the documentation from Android,  you can still build a library than contains the Apache http libs in API23+, you just need to update the build scripts to allow for the legacy library ala:\r\n\r\n```gradle\r\nandroid {\r\n    useLibrary 'org.apache.http.legacy'\r\n}\r\n```\r\nFrom: http://stackoverflow.com/a/32474095/533057\r\n\r\nI've confirmed that a compiled AAR works just fine on a API23 device, so its just a matter of updating the build scripts if you upgrade to targeting API23"}}