{"action":"created","issue":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-java-core/issues/708","labels_url":"https://api.github.com/repos/couchbase/couchbase-lite-java-core/issues/708/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/couchbase-lite-java-core/issues/708/comments","events_url":"https://api.github.com/repos/couchbase/couchbase-lite-java-core/issues/708/events","html_url":"https://github.com/couchbase/couchbase-lite-java-core/issues/708","id":102118541,"number":708,"title":"Apache HTTP Client Removal/Deprecated in Android M.","user":{"login":"NitzDKoder","id":1461456,"avatar_url":"https://avatars.githubusercontent.com/u/1461456?v=3","gravatar_id":"","url":"https://api.github.com/users/NitzDKoder","html_url":"https://github.com/NitzDKoder","followers_url":"https://api.github.com/users/NitzDKoder/followers","following_url":"https://api.github.com/users/NitzDKoder/following{/other_user}","gists_url":"https://api.github.com/users/NitzDKoder/gists{/gist_id}","starred_url":"https://api.github.com/users/NitzDKoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NitzDKoder/subscriptions","organizations_url":"https://api.github.com/users/NitzDKoder/orgs","repos_url":"https://api.github.com/users/NitzDKoder/repos","events_url":"https://api.github.com/users/NitzDKoder/events{/privacy}","received_events_url":"https://api.github.com/users/NitzDKoder/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/couchbase/couchbase-lite-java-core/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/couchbase/couchbase-lite-java-core/labels/icebox","name":"icebox","color":"ededed"},{"url":"https://api.github.com/repos/couchbase/couchbase-lite-java-core/labels/P1:%20high","name":"P1: high","color":"e11d21"},{"url":"https://api.github.com/repos/couchbase/couchbase-lite-java-core/labels/S2:%20critical","name":"S2: critical","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"hideki","id":15889,"avatar_url":"https://avatars.githubusercontent.com/u/15889?v=3","gravatar_id":"","url":"https://api.github.com/users/hideki","html_url":"https://github.com/hideki","followers_url":"https://api.github.com/users/hideki/followers","following_url":"https://api.github.com/users/hideki/following{/other_user}","gists_url":"https://api.github.com/users/hideki/gists{/gist_id}","starred_url":"https://api.github.com/users/hideki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hideki/subscriptions","organizations_url":"https://api.github.com/users/hideki/orgs","repos_url":"https://api.github.com/users/hideki/repos","events_url":"https://api.github.com/users/hideki/events{/privacy}","received_events_url":"https://api.github.com/users/hideki/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-java-core/milestones/8","html_url":"https://github.com/couchbase/couchbase-lite-java-core/milestones/1.3","labels_url":"https://api.github.com/repos/couchbase/couchbase-lite-java-core/milestones/8/labels","id":1314153,"number":8,"title":"1.3","description":"","creator":{"login":"zgramana","id":759830,"avatar_url":"https://avatars.githubusercontent.com/u/759830?v=3","gravatar_id":"","url":"https://api.github.com/users/zgramana","html_url":"https://github.com/zgramana","followers_url":"https://api.github.com/users/zgramana/followers","following_url":"https://api.github.com/users/zgramana/following{/other_user}","gists_url":"https://api.github.com/users/zgramana/gists{/gist_id}","starred_url":"https://api.github.com/users/zgramana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zgramana/subscriptions","organizations_url":"https://api.github.com/users/zgramana/orgs","repos_url":"https://api.github.com/users/zgramana/repos","events_url":"https://api.github.com/users/zgramana/events{/privacy}","received_events_url":"https://api.github.com/users/zgramana/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":0,"state":"open","created_at":"2015-09-18T22:31:44Z","updated_at":"2016-01-15T23:58:28Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2015-08-20T11:23:51Z","updated_at":"2016-01-24T17:35:21Z","closed_at":null,"body":"Hi,\r\nWe know that in android m the Apache HTTP Client is removed/deprecated.\r\nWorkaround is to have this in the gradle.\r\n\r\n \r\n\"To continue using the Apache HTTP APIs, you must first declare the following compile-time dependency in your build.gradle file:\"\r\nandroid {\r\n    useLibrary 'org.apache.http.legacy'\r\n}\r\nhttps://developer.android.com/preview/behavior-changes.html#behavior-apache-http-client\r\n\r\nWhat are the insights the Couchbase team taken for this change from android team.I think \"apache.http.client\" widely in used \"couchbase-lite-java-core\".\r\n\r\nHow will be the future of coucbaselite if its removed natively completely? Use as jar is option and will it work all ok?\r\n\r\nhttp://developer.android.com/sdk/api_diff/23/changes.html\r\n\r\nhttps://github.com/couchbase/couchbase-lite-java-core/search?utf8=%E2%9C%93&q=org.apache.http.client&type=Code\r\n\r\nThanks\r\nNithin"},"comment":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-java-core/issues/comments/174322518","html_url":"https://github.com/couchbase/couchbase-lite-java-core/issues/708#issuecomment-174322518","issue_url":"https://api.github.com/repos/couchbase/couchbase-lite-java-core/issues/708","id":174322518,"user":{"login":"vitas","id":415304,"avatar_url":"https://avatars.githubusercontent.com/u/415304?v=3","gravatar_id":"","url":"https://api.github.com/users/vitas","html_url":"https://github.com/vitas","followers_url":"https://api.github.com/users/vitas/followers","following_url":"https://api.github.com/users/vitas/following{/other_user}","gists_url":"https://api.github.com/users/vitas/gists{/gist_id}","starred_url":"https://api.github.com/users/vitas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitas/subscriptions","organizations_url":"https://api.github.com/users/vitas/orgs","repos_url":"https://api.github.com/users/vitas/repos","events_url":"https://api.github.com/users/vitas/events{/privacy}","received_events_url":"https://api.github.com/users/vitas/received_events","type":"User","site_admin":false},"created_at":"2016-01-24T17:35:21Z","updated_at":"2016-01-24T17:35:21Z","body":"+1, it will reduce size of the app too"}}