{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/4021","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/4021/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/4021/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/4021/events","html_url":"https://github.com/facebook/react-native/issues/4021","id":115986801,"number":4021,"title":"[android] upgrade to latest okhttp version","user":{"login":"jaredly","id":112170,"avatar_url":"https://avatars.githubusercontent.com/u/112170?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredly","html_url":"https://github.com/jaredly","followers_url":"https://api.github.com/users/jaredly/followers","following_url":"https://api.github.com/users/jaredly/following{/other_user}","gists_url":"https://api.github.com/users/jaredly/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredly/subscriptions","organizations_url":"https://api.github.com/users/jaredly/orgs","repos_url":"https://api.github.com/users/jaredly/repos","events_url":"https://api.github.com/users/jaredly/events{/privacy}","received_events_url":"https://api.github.com/users/jaredly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-09T22:57:34Z","updated_at":"2016-03-07T23:22:21Z","closed_at":null,"body":"2.5.0 was released in August, superceding 2.4.0 (which react-native depends on) which was released in May\r\nIs this as simple as a change to the gradle deps file? As a point release, it shouldn't™ be backwards incompatible"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/193501275","html_url":"https://github.com/facebook/react-native/issues/4021#issuecomment-193501275","issue_url":"https://api.github.com/repos/facebook/react-native/issues/4021","id":193501275,"user":{"login":"aoriani","id":215223,"avatar_url":"https://avatars.githubusercontent.com/u/215223?v=3","gravatar_id":"","url":"https://api.github.com/users/aoriani","html_url":"https://github.com/aoriani","followers_url":"https://api.github.com/users/aoriani/followers","following_url":"https://api.github.com/users/aoriani/following{/other_user}","gists_url":"https://api.github.com/users/aoriani/gists{/gist_id}","starred_url":"https://api.github.com/users/aoriani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aoriani/subscriptions","organizations_url":"https://api.github.com/users/aoriani/orgs","repos_url":"https://api.github.com/users/aoriani/repos","events_url":"https://api.github.com/users/aoriani/events{/privacy}","received_events_url":"https://api.github.com/users/aoriani/received_events","type":"User","site_admin":false},"created_at":"2016-03-07T23:22:21Z","updated_at":"2016-03-07T23:22:21Z","body":"A concern that I have is that React-Native imposes a certain version of OkHttp to the hosting app. That is particularly bad for existing apps that are already using OkHttp and want to use  React-Native to implement some new functionality.  In my particular case  we use OkHttp 2.7.4 whereas React-Native 0.20 uses 2.5.0.  As noticed above there's some incompatibility between those two OkHttp 2.x versions. \r\n\r\nOne could say that I could just downgrade to 2.5. and be happy, but that is not desirable. Most of the features of my app rely on network, making OkHttp a vital library for our app. And as such, it is very important that I should be able to pick its version. If some critical bug or security is found, I want to be able to quickly upgrade OkHttp. However in the current situation I am tied to whatever version is defined by React-Native. \r\n\r\nIs there any plans to solve the strict version dependency to OkHttp or to a particular network library?. I would think that people using pure Volley would not like to add a new networking library to bloat their APK.  That could be a barrier to for existing apps to adopt React-Native.  "}}