{"action":"created","issue":{"url":"https://api.github.com/repos/rauliyohmc/react-native-offline/issues/43","repository_url":"https://api.github.com/repos/rauliyohmc/react-native-offline","labels_url":"https://api.github.com/repos/rauliyohmc/react-native-offline/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/rauliyohmc/react-native-offline/issues/43/comments","events_url":"https://api.github.com/repos/rauliyohmc/react-native-offline/issues/43/events","html_url":"https://github.com/rauliyohmc/react-native-offline/issues/43","id":260971806,"number":43,"title":"Add Effective connection to network reducer state","user":{"login":"rauliyohmc","id":4982414,"avatar_url":"https://avatars0.githubusercontent.com/u/4982414?v=4","gravatar_id":"","url":"https://api.github.com/users/rauliyohmc","html_url":"https://github.com/rauliyohmc","followers_url":"https://api.github.com/users/rauliyohmc/followers","following_url":"https://api.github.com/users/rauliyohmc/following{/other_user}","gists_url":"https://api.github.com/users/rauliyohmc/gists{/gist_id}","starred_url":"https://api.github.com/users/rauliyohmc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rauliyohmc/subscriptions","organizations_url":"https://api.github.com/users/rauliyohmc/orgs","repos_url":"https://api.github.com/users/rauliyohmc/repos","events_url":"https://api.github.com/users/rauliyohmc/events{/privacy}","received_events_url":"https://api.github.com/users/rauliyohmc/received_events","type":"User","site_admin":false},"labels":[{"id":724972074,"url":"https://api.github.com/repos/rauliyohmc/react-native-offline/labels/Hacktoberfest","name":"Hacktoberfest","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-09-27T13:21:46Z","updated_at":"2018-03-14T23:02:39Z","closed_at":null,"author_association":"OWNER","body":"https://facebook.github.io/react-native/docs/netinfo.html#effectiveconnectiontype-enum\r\n\r\nThe network reducer state will have the next shape:\r\n\r\n```js\r\ntype NetworkState = {\r\n  isConnected: boolean,\r\n  connectionType: '2g' | '3g' | '4g' | 'unknown',\r\n  actionQueue: Array<*>\r\n}\r\n```\r\n\r\nThat will allow the user to dynamically set different timeouts for API calls, depending on the connection quality."},"comment":{"url":"https://api.github.com/repos/rauliyohmc/react-native-offline/issues/comments/373203737","html_url":"https://github.com/rauliyohmc/react-native-offline/issues/43#issuecomment-373203737","issue_url":"https://api.github.com/repos/rauliyohmc/react-native-offline/issues/43","id":373203737,"user":{"login":"vincenzovitale","id":4376527,"avatar_url":"https://avatars0.githubusercontent.com/u/4376527?v=4","gravatar_id":"","url":"https://api.github.com/users/vincenzovitale","html_url":"https://github.com/vincenzovitale","followers_url":"https://api.github.com/users/vincenzovitale/followers","following_url":"https://api.github.com/users/vincenzovitale/following{/other_user}","gists_url":"https://api.github.com/users/vincenzovitale/gists{/gist_id}","starred_url":"https://api.github.com/users/vincenzovitale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincenzovitale/subscriptions","organizations_url":"https://api.github.com/users/vincenzovitale/orgs","repos_url":"https://api.github.com/users/vincenzovitale/repos","events_url":"https://api.github.com/users/vincenzovitale/events{/privacy}","received_events_url":"https://api.github.com/users/vincenzovitale/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T23:02:39Z","updated_at":"2018-03-14T23:02:39Z","author_association":"NONE","body":"Having that in the store would allow to differentiate between data switched off and data connectivity lost, thus allowing to better inform the users with more meaningful messages.\r\nIn the first case it could be something like \"Turn on the Data Connection\" and in the second case for example \"Connection to ACME server lost\"."}}
{"actor":{"display_login":"vincenzovitale"}}