{"_id":"geek-chat","_rev":"31-cf528b7e72aa8dca4b8ad2e83c7a55a5","name":"geek-chat","dist-tags":{"latest":"0.1.6"},"versions":{"0.0.9":{"name":"geek-chat","version":"0.0.9","_id":"geek-chat@0.0.9","maintainers":[{"name":"geekyants","email":"npm@sahusoft.com"}],"dist":{"shasum":"2f7a51aaeeb4190d89d885a07185d7ba395dfb67","tarball":"https://registry.npmjs.org/geek-chat/-/geek-chat-0.0.9.tgz","integrity":"sha512-ve/1w/EJ81nKRMdd7qmctbgJjVlBYNTiao1ElvnofS05u5NmaQlslf9+m3y1uWx6ZrPAJi1iZ3coP9HSELsHGg==","signatures":[{"sig":"MEYCIQCejMuiWp4mtgQDrUFWWT91Z7YIKuHbUSxQMorz2G1efgIhAMC3XWb5wowcPUHRbpHtpk5uKuqgsY9OKpQt2wURxCNb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"jest":{"preset":"jest-expo"},"main":"./index.js","_from":".","_shasum":"2f7a51aaeeb4190d89d885a07185d7ba395dfb67","gitHead":"046986c12ee99a3e4a8beae8cedcb31e0e1f0249","private":false,"scripts":{"ios":"react-native-scripts ios","test":"node node_modules/jest/bin/jest.js --watch","eject":"react-native-scripts eject","start":"react-native-scripts start","android":"react-native-scripts android"},"_npmUser":{"name":"geekyants","email":"npm@sahusoft.com"},"_npmVersion":"4.1.2","description":"This project was bootstrapped with [Create React Native App](https://github.com/react-community/create-react-native-app).","directories":{},"_nodeVersion":"7.6.0","dependencies":{"expo":"^17.0.0","react":"16.0.0-alpha.6","lodash":"^4.17.4","ddp-client":"^0.1.2","native-base":"^2.1.4","react-native":"0.44.0","react-native-meteor":"^1.0.3","react-native-gifted-chat":"^0.1.4","react-native-router-flux":"^3.39.2","react-native-gifted-messenger":"^0.1.4"},"devDependencies":{"jest-expo":"~1.0.1","react-test-renderer":"16.0.0-alpha.6","react-native-scripts":"0.0.30"},"_npmOperationalInternal":{"tmp":"tmp/geek-chat-0.0.9.tgz_1497111317866_0.8795155631378293","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"geek-chat","version":"0.1.0","_id":"geek-chat@0.1.0","maintainers":[{"name":"geekyants","email":"npm@sahusoft.com"}],"dist":{"shasum":"147c197eba06c0100409ed29fe43514b3d3ce52c","tarball":"https://registry.npmjs.org/geek-chat/-/geek-chat-0.1.0.tgz","integrity":"sha512-DpuX7WuiH0nDA2Pog8ZZMWCqca69ddgcvm5v/w40TN1j8eYUHoyLsJqIx++i8qr5LcFJZvIRkoc+cazErVwUzw==","signatures":[{"sig":"MEUCIChLlooWRAmHSHRyA5xGRnCQFqjg/Btq2iK68Lpvr5uOAiEAs//jRJq4UAqGeI9MEhogGyNnQuobnJ59IJA5j+BoLJ4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"jest":{"preset":"jest-expo"},"main":"./index.js","_from":".","_shasum":"147c197eba06c0100409ed29fe43514b3d3ce52c","gitHead":"5a76ed8154c84e04f199e0f9d476880946c863da","private":false,"scripts":{"ios":"react-native-scripts ios","test":"node node_modules/jest/bin/jest.js --watch","eject":"react-native-scripts eject","start":"react-native-scripts start","android":"react-native-scripts android"},"_npmUser":{"name":"geekyants","email":"npm@sahusoft.com"},"_npmVersion":"4.1.2","description":"This project was bootstrapped with [Create React Native App](https://github.com/react-community/create-react-native-app).","directories":{},"_nodeVersion":"7.6.0","dependencies":{"expo":"^17.0.0","react":"16.0.0-alpha.6","lodash":"^4.17.4","ddp-client":"^0.1.2","native-base":"^2.1.4","react-native":"0.44.0","react-native-meteor":"^1.0.3","react-native-gifted-chat":"^0.1.4","react-native-router-flux":"^3.39.2","react-native-gifted-messenger":"^0.1.4"},"devDependencies":{"jest-expo":"~1.0.1","react-test-renderer":"16.0.0-alpha.6","react-native-scripts":"0.0.30"},"_npmOperationalInternal":{"tmp":"tmp/geek-chat-0.1.0.tgz_1497332775893_0.2279070313088596","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"geek-chat","version":"0.1.1","_id":"geek-chat@0.1.1","maintainers":[{"name":"geekyants","email":"npm@sahusoft.com"}],"dist":{"shasum":"3c5185174cab7c9f723e42fdee0284f453ddb947","tarball":"https://registry.npmjs.org/geek-chat/-/geek-chat-0.1.1.tgz","integrity":"sha512-+72+Ho47RVTBXwGa2E3YDNnya2/CXtEGWjvMeVkjfp1zfgbfA1lhIk03PgTNBs1bdpDGxVaO8tMcWl1988c/QA==","signatures":[{"sig":"MEUCIQCwncpq6vacEr3H03I6xtwJDLsXtEUpdaBGkMzAZIsxqwIgOjSVp3NFFK3gBvCWjlGI44m4VdVp9EbkYGRU5b4Lfpk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"jest":{"preset":"jest-expo"},"main":"./index.js","_from":".","_shasum":"3c5185174cab7c9f723e42fdee0284f453ddb947","gitHead":"06539a2323b0aa30b55bd50b0c22dc327d70a234","private":false,"scripts":{"ios":"react-native-scripts ios","test":"node node_modules/jest/bin/jest.js --watch","eject":"react-native-scripts eject","start":"react-native-scripts start","android":"react-native-scripts android"},"_npmUser":{"name":"geekyants","email":"npm@sahusoft.com"},"_npmVersion":"4.1.2","description":"This project was bootstrapped with [Create React Native App](https://github.com/react-community/create-react-native-app).","directories":{},"_nodeVersion":"7.6.0","dependencies":{"expo":"^17.0.0","react":"16.0.0-alpha.6","lodash":"^4.17.4","ddp-client":"^0.1.2","native-base":"^2.1.4","react-native":"0.44.0","react-native-meteor":"^1.0.3","react-native-gifted-chat":"^0.1.4","react-native-router-flux":"^3.39.2","react-native-gifted-messenger":"^0.1.4"},"devDependencies":{"jest-expo":"~1.0.1","react-test-renderer":"16.0.0-alpha.6","react-native-scripts":"0.0.30"},"_npmOperationalInternal":{"tmp":"tmp/geek-chat-0.1.1.tgz_1497333359616_0.9494150821119547","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"geek-chat","version":"0.1.2","_id":"geek-chat@0.1.2","maintainers":[{"name":"geekyants","email":"npm@sahusoft.com"}],"dist":{"shasum":"b8bd86a812aeb342c9fea77fc93e6ff675592c81","tarball":"https://registry.npmjs.org/geek-chat/-/geek-chat-0.1.2.tgz","integrity":"sha512-oIDUw7lahzqGs/vIIPt6zCgMart7vyyu3TY3EzWNZx+XsxTsu9BJ6y26rg1LZyOZQFdRNnL35HGKi3MqmOPQyA==","signatures":[{"sig":"MEUCIAeXc+qw2dQDsHTZBS0cr8VkTvn2SbbdqmpQebrCNudMAiEA58exVjLOoCFlYAZtMb2FE/APhaAmsFRhmJSuK+Q80y4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"jest":{"preset":"jest-expo"},"main":"./index.js","_from":".","_shasum":"b8bd86a812aeb342c9fea77fc93e6ff675592c81","gitHead":"1d997908b8bfd345afd4b16316c5b3e200def845","private":false,"scripts":{"ios":"react-native-scripts ios","test":"node node_modules/jest/bin/jest.js --watch","eject":"react-native-scripts eject","start":"react-native-scripts start","android":"react-native-scripts android"},"_npmUser":{"name":"geekyants","email":"npm@sahusoft.com"},"_npmVersion":"4.1.2","description":"This project was bootstrapped with [Create React Native App](https://github.com/react-community/create-react-native-app).","directories":{},"_nodeVersion":"7.6.0","dependencies":{"lodash":"^4.17.4","ddp-client":"^0.1.2","react-native-meteor":"^1.0.3","react-native-gifted-chat":"^0.1.4"},"devDependencies":{"jest-expo":"~1.0.1","react-test-renderer":"16.0.0-alpha.6","react-native-scripts":"0.0.30"},"_npmOperationalInternal":{"tmp":"tmp/geek-chat-0.1.2.tgz_1497333529741_0.9954815318342298","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"geek-chat","version":"0.1.3","_id":"geek-chat@0.1.3","maintainers":[{"name":"geekyants","email":"npm@sahusoft.com"}],"dist":{"shasum":"3bb3be2cf88e62c990eb5ea998f7b64318ba64ef","tarball":"https://registry.npmjs.org/geek-chat/-/geek-chat-0.1.3.tgz","integrity":"sha512-Ivyxtyio51DLCjDjg3S5LWM2n5TNiv5Kwd/33MezFxcSzxDEg2m/Ajp1gzde0t9qqjQfo/Nf8rl12Kz8xrXr1Q==","signatures":[{"sig":"MEUCIQDgczGGz3a823p2BG2/95zfzlNhn/zPhc+uu7SBs0oTlwIgT5o4pyXbHq/gdoGdKnfGlhAtEoAvTfzzW8/0cMWpKts=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"jest":{"preset":"jest-expo"},"main":"./index.js","_from":".","_shasum":"3bb3be2cf88e62c990eb5ea998f7b64318ba64ef","gitHead":"6f5f46e0eed55c9e512dc5b6784eb05f7d8269f0","private":false,"scripts":{"ios":"react-native-scripts ios","test":"node node_modules/jest/bin/jest.js --watch","eject":"react-native-scripts eject","start":"react-native-scripts start","android":"react-native-scripts android"},"_npmUser":{"name":"geekyants","email":"npm@sahusoft.com"},"_npmVersion":"4.1.2","description":"A full fledged Chat package that comes with prebuilt backend integration and server hosting. So that you don't have to worry about anything. Just install the package and start using it.  # Just follow the below steps.","directories":{},"_nodeVersion":"7.6.0","dependencies":{"lodash":"^4.17.4","ddp-client":"^0.1.2","native-base":"^2.1.4","react-native-meteor":"^1.0.3","react-native-gifted-chat":"^0.1.4"},"devDependencies":{"jest-expo":"~1.0.1","react-test-renderer":"16.0.0-alpha.6","react-native-scripts":"0.0.30"},"_npmOperationalInternal":{"tmp":"tmp/geek-chat-0.1.3.tgz_1497335215779_0.1982212767470628","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"geek-chat","version":"0.1.4","_id":"geek-chat@0.1.4","maintainers":[{"name":"geekyants","email":"npm@sahusoft.com"}],"dist":{"shasum":"823971e369cd906bb18eadc6a6416d2fd1dbf247","tarball":"https://registry.npmjs.org/geek-chat/-/geek-chat-0.1.4.tgz","integrity":"sha512-4atLfl6WPARNa04YlnGRLtBVbUo/IZAjYKX1WKydDCF/0mQlYX/4RS+RF0g3O8G8wgKCU0qFiIMGerJ4sVMbNg==","signatures":[{"sig":"MEYCIQCxVIBTefLiIMeIxC1VOD2IELnzSL0daXthUspcq62xXwIhAOlccaR8RE05rViqh99Z2ghcqhD6bTRKZx8p6qTxSWDT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"jest":{"preset":"jest-expo"},"main":"./index.js","_from":".","_shasum":"823971e369cd906bb18eadc6a6416d2fd1dbf247","gitHead":"de2f1b1961597cbd2f53b7fc2f498f66ece1b226","private":false,"scripts":{"ios":"react-native-scripts ios","test":"node node_modules/jest/bin/jest.js --watch","eject":"react-native-scripts eject","start":"react-native-scripts start","android":"react-native-scripts android"},"_npmUser":{"name":"geekyants","email":"npm@sahusoft.com"},"_npmVersion":"4.1.2","description":"A full fledged Chat package that comes with prebuilt backend integration and server hosting. So that you don't have to worry about anything. Just install the package and start using it.","directories":{},"_nodeVersion":"7.6.0","dependencies":{"lodash":"^4.17.4","ddp-client":"^0.1.2","native-base":"^2.1.4","react-native-meteor":"^1.0.3","react-native-gifted-chat":"^0.1.4"},"devDependencies":{"jest-expo":"~1.0.1","react-test-renderer":"16.0.0-alpha.6","react-native-scripts":"0.0.30"},"_npmOperationalInternal":{"tmp":"tmp/geek-chat-0.1.4.tgz_1497418147578_0.06613986869342625","host":"s3://npm-registry-packages"}},"0.1.5":{"name":"geek-chat","version":"0.1.5","_id":"geek-chat@0.1.5","maintainers":[{"name":"geekyants","email":"npm@sahusoft.com"}],"dist":{"shasum":"9e249101d8f7857d9a3c6d09657ca0589c9ac675","tarball":"https://registry.npmjs.org/geek-chat/-/geek-chat-0.1.5.tgz","integrity":"sha512-BCWGWR+QdiaEqSUVsOdMnBhyxG3C/dY/Ar+7h3iwMlO7EkIVjLJEtTASQJv1hcjkhvcUsS9sSC3InMUiUMSK+g==","signatures":[{"sig":"MEUCIQCVV9vJo3+w6SZzRyJv7ryoYzEy06InkwjiRk7gjvLtzwIgCMZJEnExeSsatkGvxN8afhJUM5pg+/uSlvTCPQIuhDI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"jest":{"preset":"jest-expo"},"main":"./index.js","_from":".","_shasum":"9e249101d8f7857d9a3c6d09657ca0589c9ac675","gitHead":"666a4275d31bc09cc28d8262487f467f573a5694","private":false,"scripts":{"ios":"react-native-scripts ios","test":"node node_modules/jest/bin/jest.js --watch","eject":"react-native-scripts eject","start":"react-native-scripts start","android":"react-native-scripts android"},"_npmUser":{"name":"geekyants","email":"npm@sahusoft.com"},"_npmVersion":"4.1.2","description":"A full fledged Chat package that comes with prebuilt backend integration and server hosting. So that you don't have to worry about anything. Just install the package and start using it.","directories":{},"_nodeVersion":"7.6.0","dependencies":{"expo":"^17.0.0","react":"16.0.0-alpha.6","lodash":"^4.17.4","feathers":"^2.1.3","socket.io":"^2.0.2","native-base":"^2.1.4","react-native":"^0.44.0","feathers-hooks":"^2.0.1","react-komposer":"git+https://github.com/bhavishhak/react-komposer.git","socket.io-client":"^2.0.2","feathers-socketio":"^2.0.0","react-native-gifted-chat":"^0.1.4","feathers-authentication-client":"^0.3.2"},"devDependencies":{"eslint":"^4.0.0","jest-expo":"~1.0.1","eslint-plugin-react":"^7.1.0","react-test-renderer":"16.0.0-alpha.6","eslint-config-airbnb":"^15.0.1","eslint-plugin-import":"^2.3.0","react-native-scripts":"0.0.31","eslint-plugin-jsx-a11y":"^5.0.3"},"_npmOperationalInternal":{"tmp":"tmp/geek-chat-0.1.5.tgz_1498204044932_0.5911677672993392","host":"s3://npm-registry-packages"}},"0.1.6":{"name":"geek-chat","version":"0.1.6","_id":"geek-chat@0.1.6","maintainers":[{"name":"geekyants","email":"npm@sahusoft.com"}],"dist":{"shasum":"c7d33b1f0886c0e18ff03cfb9a73b57f69cb265c","tarball":"https://registry.npmjs.org/geek-chat/-/geek-chat-0.1.6.tgz","integrity":"sha512-8A7P8gEj6ZMIKerpB2S0Kh931I4nWvoUiooYnfag2zDMx8Osi4WuQjD3nrj7VGT6u2qcbf2Ur9NB6wAAP1Ee5A==","signatures":[{"sig":"MEUCIDkRJJm0eg8HqSCSMrpwvv7UF908o3mnYs9THHlbglTQAiEAs162bX4Eg/IgCFT903rpMYtHS0GKXwfJxtfFy7StCew=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"jest":{"preset":"jest-expo"},"main":"./index.js","_from":".","_shasum":"c7d33b1f0886c0e18ff03cfb9a73b57f69cb265c","gitHead":"a5e79237b99eeb8fa6817e50eaa057797b3e025c","private":false,"scripts":{"ios":"react-native-scripts ios","test":"node node_modules/jest/bin/jest.js --watch","eject":"react-native-scripts eject","start":"react-native-scripts start","android":"react-native-scripts android"},"_npmUser":{"name":"geekyants","email":"npm@sahusoft.com"},"_npmVersion":"4.1.2","description":"A full fledged Chat package that comes with prebuilt backend integration and server hosting. So that you don't have to worry about anything. Just install the package and start using it.","directories":{},"_nodeVersion":"7.6.0","dependencies":{"expo":"^17.0.0","react":"16.0.0-alpha.6","lodash":"^4.17.4","feathers":"^2.1.3","socket.io":"^2.0.2","native-base":"^2.1.4","react-native":"^0.44.0","feathers-hooks":"^2.0.1","react-komposer":"git+https://github.com/bhavishhak/react-komposer.git","socket.io-client":"^2.0.2","feathers-socketio":"^2.0.0","react-native-gifted-chat":"^0.1.4","feathers-authentication-client":"^0.3.2"},"devDependencies":{"eslint":"^4.0.0","jest-expo":"~1.0.1","eslint-plugin-react":"^7.1.0","react-test-renderer":"16.0.0-alpha.6","eslint-config-airbnb":"^15.0.1","eslint-plugin-import":"^2.3.0","react-native-scripts":"0.0.31","eslint-plugin-jsx-a11y":"^5.0.3"},"_npmOperationalInternal":{"tmp":"tmp/geek-chat-0.1.6.tgz_1498627603532_0.15139053063467145","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-06-10T16:15:18.981Z","modified":"2026-06-05T07:29:56.079Z","0.0.9":"2017-06-10T16:15:18.981Z","0.1.0":"2017-06-13T05:46:17.000Z","0.1.1":"2017-06-13T05:55:59.795Z","0.1.2":"2017-06-13T05:58:50.949Z","0.1.3":"2017-06-13T06:26:55.922Z","0.1.4":"2017-06-14T05:29:08.611Z","0.1.5":"2017-06-23T07:47:26.176Z","0.1.6":"2017-06-28T05:26:44.674Z"},"description":"A full fledged Chat package that comes with prebuilt backend integration and server hosting. So that you don't have to worry about anything. Just install the package and start using it.","maintainers":[{"email":"surajahmedc@gmail.com","name":"surajahmedc"},{"email":"npm@sahusoft.com","name":"geekyants-admin"},{"email":"sanketsahu@gmail.com","name":"sanketsahu"},{"email":"sarika@geekyants.com","name":"sarika_geekyants"},{"email":"pratik@geekyants.com","name":"kumarpratik"},{"email":"atul@geekyants.com","name":"atulrpandey"},{"email":"khalid@geekyants.com","name":"khalidimam1201"},{"email":"gauravp@geekyants.com","name":"gauravp"},{"email":"gauravprwl14@gmail.com","name":"gauravprwl14"}],"readme":"A full fledged Chat package that comes with prebuilt backend integration and server hosting. So that you don't have to worry about anything.\nJust install the package and start using it. \n\n### How to Install:\n\n#### 1. Headover to the [react-native-chat](https://react-native-chat.com) website and follow the steps.\n\n#### 2. Generate an App Token from the website.\n\n#### 3. Pass that app Token to GeekChat as shown below in the example (using setToken function)\n\n## Example\nYou can see the example app for full reference [here](https://github.com/GeekyAnts/react-native-chat-example)\n\n\n#### 1. `import { GeekChat, getToken, setToken, createUser } from 'geek-chat';`\n\n#### 2.\n```\nexport default class App extends React.Component {\n\n  callMe = () => {\n    // Your custom logic here\n  };\n\n  render() {\n    return (\n      <View style={styles.container}>\n        <GeekChat userData={props.userData} onBackPress={callMe} />\n      </View>\n    );\n  }\n}\n\nconst styles = StyleSheet.create({\n  container: {\n    flex: 1,\n    backgroundColor: '#fff',\n    alignItems: 'center',\n    justifyContent: 'center',\n  },\n});\n```\n\n\n## Create a User:\n- **`createUser`** _(func)_ - function that creates a new user [ Can be used to create a custom login Component] \n  - Requires an object to be passed as a parameter.\n  - Return the details of the created user. To be passed onto the chatApp.\n\n#### Example: \n\n```\nconst userData = {\n  token: \"your app token\",\n  uniqueKey: 'users uniquekey',\n  displayName: 'name to be displayed in the app'\n};\nconst userDetails = await createUser(userData);\n```\n\n\n## Set Tokens:\n- **`setToken`** _(func)_ - function to set the app Token. [just pass the token as a string in parameters.]\n- **`getToken`** _(func)_ - function that returns the app token.\n\n#### Example:\nYou can call these functions anywhere in your app. Ideally when your app starts/boots up.\n\n```\nsetToken('Your App Token');\nconst appToken = getToken();\nconsole.log(appToken);\n```\n\n\n## Props\n\n- **`userData`** _(bool)_ - The user data as an object which you get from the createUser function.\n       Requires: `uniqueKey`, `displayName` and `_id`.\n- **`onBackPress`** _(func)_ - call your custom function when your need to exit from the chatApp.\n\n\nWe have used `react-native-gifted-chat` for UI. Check it out [here](https://github.com/FaridSafi/react-native-gifted-chat)","readmeFilename":"README.md"}