{"action":"closed","issue":{"url":"https://api.github.com/repos/mhart/aws4/issues/56","repository_url":"https://api.github.com/repos/mhart/aws4","labels_url":"https://api.github.com/repos/mhart/aws4/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/mhart/aws4/issues/56/comments","events_url":"https://api.github.com/repos/mhart/aws4/issues/56/events","html_url":"https://github.com/mhart/aws4/issues/56","id":239138603,"number":56,"title":"Fork with React Native support","user":{"login":"aakashns","id":1560745,"avatar_url":"https://avatars2.githubusercontent.com/u/1560745?v=3","gravatar_id":"","url":"https://api.github.com/users/aakashns","html_url":"https://github.com/aakashns","followers_url":"https://api.github.com/users/aakashns/followers","following_url":"https://api.github.com/users/aakashns/following{/other_user}","gists_url":"https://api.github.com/users/aakashns/gists{/gist_id}","starred_url":"https://api.github.com/users/aakashns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aakashns/subscriptions","organizations_url":"https://api.github.com/users/aakashns/orgs","repos_url":"https://api.github.com/users/aakashns/repos","events_url":"https://api.github.com/users/aakashns/events{/privacy}","received_events_url":"https://api.github.com/users/aakashns/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-28T11:49:54Z","updated_at":"2017-06-28T11:49:59Z","closed_at":"2017-06-28T11:49:59Z","body":"Thanks for the great library! Unfortunately, this module can't be used with [React Native](http://facebook.github.io/react-native/), because core Node JS modules like `crypto` and `querystring` aren't accessible from React Native apps.\r\n\r\nI've made a fork of this library here: https://github.com/aakashns/aws4-react-native , modified to work with React Native apps. The core Node JS module `querystring` has been replaced by [`querystring-browser`](https://www.npmjs.com/package/querystring-browser), and `crypto` has been replaced by a standalone javascript file [`crypto.js`](./crypto.js) generated using [browserify](http://browserify.org/). There are no other code changes.\r\n\r\nI considered adding a pull request here, but decided against it because the polyfill for the `crypto` module is 500kb in size, which is probably too big a file to send down with an npm module even though it's not required for the common case (Node JS). So, I'm just leaving the links out here for anyone who comes looking.\r\n\r\nReact Native compatible version: https://www.npmjs.com/package/aws4-react-native ([source code](https://github.com/aakashns/aws4-react-native/))"}}
{"actor":{"display_login":"aakashns"}}