{"_id":"@anastely/rn-gifted-chat","_rev":"3-34302e1979554f28433ccd08c93769f8","name":"@anastely/rn-gifted-chat","dist-tags":{"latest":"0.16.5"},"versions":{"0.16.3":{"name":"@anastely/rn-gifted-chat","version":"0.16.3","description":"The most complete chat UI for React Native","main":"lib/index.js","types":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/anastely/rn-gifted-chat.git"},"keywords":["android","ios","react-native","react","react-component","messenger","message","chat"],"author":{"name":"Farid Safi"},"license":"MIT","bugs":{"url":"https://github.com/anastely/rn-gifted-chat/issues"},"homepage":"https://github.com/anastely/rn-gifted-chat#readme","scripts":{"config:dev":"json -I -f package.json -e 'this.main=\"node_modules/expo/AppEntry.js\"'","config:npm":"json -I -f package.json -e 'this.main=\"lib/index.js\"'","lint":"tslint --project .","lint:fix":"tslint ./src/**/*.{ts,tsx} --fix","tsc":"tsc --noEmit","start":"yarn config:dev && expo start","start:web":"yarn config:dev && expo start -w --dev","build":"rm -rf lib/ && node_modules/.bin/tsc && cp flow-typedefs/*.js.flow lib/","test":"TZ=Europe/Paris jest --no-watchman","test:watch":"TZ=Europe/Paris jest --watch","test:coverage":"TZ=Europe/Paris jest --coverage","prepublishOnly":"yarn lint && yarn build && yarn test && yarn config:npm","postpublish":"yarn config:dev","prettier":"prettier --write \"src/**/*.{ts,tsx}\""},"jest":{"preset":"react-native","setupFiles":["./tests/setup.js"],"moduleFileExtensions":["js","jsx","json","ts","tsx"],"transform":{"^.+\\.(js|jsx|ts|tsx)$":"babel-jest"},"testMatch":["**/*.test.ts?(x)"],"modulePathIgnorePatterns":["<rootDir>/example-expo","<rootDir>/example-slack-message"],"coveragePathIgnorePatterns":["./src/__tests__/"]},"devDependencies":{"@babel/core":"7.9.6","@babel/preset-typescript":"7.9.0","@types/jest":"25.2.1","@types/react":"^16.9.11","@types/react-native":"^0.60.22","@types/react-native-communications":"2.2.1","@types/react-test-renderer":"16.9.2","@types/uuid":"3.4.9","babel-core":"7.0.0-bridge.0","babel-jest":"25.5.1","babel-preset-expo":"^8.1.0","expo":"^37.0.0","expo-constants":"~9.0.0","expo-image-picker":"~8.1.0","expo-location":"~8.1.0","expo-permissions":"~8.1.0","flow-bin":"0.125.0","husky":"4.2.5","jest-expo":"^37.0.0","json":"9.0.6","prettier":"2.0.5","react":"16.9.0","react-dom":"16.9.0","react-native":"https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz","react-native-maps":"0.26.1","react-native-nav":"2.0.2","react-native-web-maps":"0.2.0","react-test-renderer":"16.9.0","react-native-web":"^0.11.7","tslint":"6.1.2","tslint-config-prettier":"1.18.0","typescript":"^3.8.3"},"dependencies":{"@expo/react-native-action-sheet":"^3.6.0","dayjs":"^1.8.26","prop-types":"^15.7.2","react-native-communications":"^2.2.1","react-native-iphone-x-helper":"^1.2.1","react-native-lightbox":"^0.8.1","react-native-parsed-text":"0.0.22","react-native-typing-animation":"^0.1.7","uuid":"3.4.0"},"peerDependencies":{"dayjs":"*","react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"yarn lint:fix && yarn prettier && yarn tsc"}},"directories":{"lib":"lib","test":"tests"},"gitHead":"47cb211610dd3bfcffb9b56462db5bb65c7bfda5","_id":"@anastely/rn-gifted-chat@0.16.3","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-coe/COinceSN2XW+XurPhoBGSBgxB+jJjHfo2SSjo5F4gnv+UTRgDkf0WuIsY/QZAALBqaDcaQryzTxE4MqXgw==","shasum":"e3892e027947112d90ec34cd1c550d6e0e3c4d21","tarball":"https://registry.npmjs.org/@anastely/rn-gifted-chat/-/rn-gifted-chat-0.16.3.tgz","fileCount":103,"unpackedSize":286163,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPA4yCRA9TVsSAnZWagAAfNoP/Rzl+8VOtszyLUFJnDgl\nBuSJxFrj5jM73OxDTiS/luTzJGHDP+/ZVT4oRgCX0+B3kPWYA4d7jNa35VTV\ndU+C8vN0dsec9e3i2ovjXcru+lKwPSju9WfM1JM54eYWgKHVznmu75fWoply\nwEZMDztKbF1EDtw91fx6eAImj8bmN7GJ1779noqcUNV/yejMk+79jGU+3zlk\nnwGNFX6jWe3VaxTDLZ8kEWgjLT2LPvcax/UFGaHmdfoNyHOvLdhOauXIAjC/\ncwdfLIz1j4nU/6U2aJakkmSN/gaBdBbUOzIX4mt/n3rm1+E1NfEiJY+aLh70\nNs2VdezbCdtG+NBffTtgFqCh2oN6CI/MIi7354NPjUTO2nHCWUfqu9K52dkh\nShqPLIOShkSYALzpRobVlB3D4ApBKR6uRrDDZRFGkGStCV2qbEsNNp/U0e1u\nNKrVIjv50+7+G2SRK4e2auLAOz/vMnfejRUpPUYcCUM3wCHijWvqMxYREskl\nQLxLt1iC4NusgpP6J2RL0lgnAYzt8YXAH7Y5p6GrvKZDKI9vbeIQA6nHAT8X\nxFmiHXVqJZt5Xo9UYP2SsYmfFo/vrtKGBfzdj0FNOHeW5PWv7MziWJJibyG+\nfQmrXO9kfjJI5DfEG6L/Zd8vWVoGc8xu9fCwHqChxlEO3ggstUCgAuJnwb8k\nKIev\r\n=1dzK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCy34Cg+tf1TTMQodf1ItKfsqn9cMWXMOMV2LLzX5YWjAIgZ3bm1xT42FqeKHvE/2eu5tmDnwWloyb31R3aj+LWCII="}]},"maintainers":[{"name":"anastely","email":"anastely86@gmail.com"}],"_npmUser":{"name":"anastely","email":"anastely86@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rn-gifted-chat_0.16.3_1597771313934_0.9649183779392785"},"_hasShrinkwrap":false},"0.16.4":{"name":"@anastely/rn-gifted-chat","version":"0.16.4","description":"The most complete chat UI for React Native","main":"lib/index.js","types":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/anastely/rn-gifted-chat.git"},"keywords":["android","ios","react-native","react","react-component","messenger","message","chat"],"author":{"name":"Farid Safi"},"license":"MIT","bugs":{"url":"https://github.com/anastely/rn-gifted-chat/issues"},"homepage":"https://github.com/anastely/rn-gifted-chat#readme","scripts":{"config:dev":"json -I -f package.json -e 'this.main=\"node_modules/expo/AppEntry.js\"'","config:npm":"json -I -f package.json -e 'this.main=\"lib/index.js\"'","lint":"tslint --project .","lint:fix":"tslint ./src/**/*.{ts,tsx} --fix","tsc":"tsc --noEmit","start":"yarn config:dev && expo start","start:web":"yarn config:dev && expo start -w --dev","build":"rm -rf lib/ && node_modules/.bin/tsc && cp flow-typedefs/*.js.flow lib/","test":"TZ=Europe/Paris jest --no-watchman","test:watch":"TZ=Europe/Paris jest --watch","test:coverage":"TZ=Europe/Paris jest --coverage","prepublishOnly":"yarn lint && yarn build && yarn test && yarn config:npm","postpublish":"yarn config:dev","prettier":"prettier --write \"src/**/*.{ts,tsx}\""},"jest":{"preset":"react-native","setupFiles":["./tests/setup.js"],"moduleFileExtensions":["js","jsx","json","ts","tsx"],"transform":{"^.+\\.(js|jsx|ts|tsx)$":"babel-jest"},"testMatch":["**/*.test.ts?(x)"],"modulePathIgnorePatterns":["<rootDir>/example-expo","<rootDir>/example-slack-message"],"coveragePathIgnorePatterns":["./src/__tests__/"]},"devDependencies":{"@babel/core":"7.9.6","@babel/preset-typescript":"7.9.0","@types/jest":"25.2.1","@types/react":"^16.9.11","@types/react-native":"^0.60.22","@types/react-native-communications":"2.2.1","@types/react-test-renderer":"16.9.2","@types/uuid":"3.4.9","babel-core":"7.0.0-bridge.0","babel-jest":"25.5.1","babel-preset-expo":"^8.1.0","expo":"^37.0.0","expo-constants":"~9.0.0","expo-image-picker":"~8.1.0","expo-location":"~8.1.0","expo-permissions":"~8.1.0","flow-bin":"0.125.0","husky":"4.2.5","jest-expo":"^37.0.0","json":"9.0.6","prettier":"2.0.5","react":"16.9.0","react-dom":"16.9.0","react-native":"https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz","react-native-maps":"0.26.1","react-native-nav":"2.0.2","react-native-web-maps":"0.2.0","react-test-renderer":"16.9.0","react-native-web":"^0.11.7","tslint":"6.1.2","tslint-config-prettier":"1.18.0","typescript":"^3.8.3"},"dependencies":{"@expo/react-native-action-sheet":"^3.6.0","dayjs":"^1.8.26","prop-types":"^15.7.2","react-native-communications":"^2.2.1","react-native-iphone-x-helper":"^1.2.1","react-native-lightbox":"^0.8.1","react-native-parsed-text":"0.0.22","react-native-typing-animation":"^0.1.7","uuid":"3.4.0"},"peerDependencies":{"dayjs":"*","react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"yarn lint:fix && yarn prettier && yarn tsc"}},"directories":{"lib":"lib","test":"tests"},"gitHead":"4f2f363d3ca6c0edfe53d74857811e6e8b3ad0bf","_id":"@anastely/rn-gifted-chat@0.16.4","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-pReR3xZnAFe7waNpNIrKKOFUTYHOYYjUyfLPRhlG604qAqCUXTeTFFTV1xqYW7G5L2fx2lJx8zCFlTJ7dn1FDw==","shasum":"0b63110ce0e66d01cc64a780f7bf248bb77025a9","tarball":"https://registry.npmjs.org/@anastely/rn-gifted-chat/-/rn-gifted-chat-0.16.4.tgz","fileCount":103,"unpackedSize":286416,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQTndCRA9TVsSAnZWagAAeaIP/3tJHDp0wMuSy8CKEbiA\nvtwHcjd/HrndoFDc1pWa3uYmLQAuK4uaoO2g1mvhtGaw2eS5VzR0r7mOjTNO\nwYEY5SdIYXw3GkaNvJ0GgniSP8clGwuZydcMU8DJVq8JthsjFB8yyFUQ+cEE\nr6VHrdfiolGTjynZCMoTZhglipFDhMw2z+6t9C9iVgmOt2HaM8ESbfIPvNPr\niyDj5FJAmUvFn/GYkHRlDtAHkOLOOZPq0wnA29Xl+HsoEXvecLD0tcgAXQ3L\nDY6nYfZcaE89I8+IoPxpgB7pdinarcqc8Z4U+Ji7Fu3P4xmwGpfldOri4SWx\nFrKiNc9i5cT6XszP+WVoX5H8RsS5daHHZUrB7SB7vcnEUrkcpMDkfQMhPtI+\nWBruhzCdC4/f0FJN6YqED2DB63RPSw1uv9GZZKzYAsofGA+TtkKOGExRcFvu\n3L3WmCzdCX5ksU4K6rjnX5cP/6/xMJy1oyzj2O+2rYJgubxXsOM/OXpP8UKa\nbdbhnTyFtPagtAAJW9Kt6btPFRmFE4h+z6Dk1iszcoWqEEDNOz/TR7OQNb5k\nu4BG0b+1k/ghp8oBuNdUwQEyODlFgcJyhArEbTmblaq6dCi1eJ9uaCCPlp93\ntc0V3unCCyq7uNsMGxkmhSEZOp5emHW1/X+7gNrBq531k1ib1jUKbG6oHOvX\ne+7+\r\n=Waoj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBwoTCrSq5LGsVCTh2JkIMQVJJEgaUcl0XiE6PWg8OeuAiAgMdsX+akDgzfJTE8OOTKi1j4GOv6mCWXH1qzPEebk8A=="}]},"maintainers":[{"name":"anastely","email":"anastely86@gmail.com"}],"_npmUser":{"name":"anastely","email":"anastely86@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rn-gifted-chat_0.16.4_1598110172500_0.7295645536089588"},"_hasShrinkwrap":false},"0.16.5":{"name":"@anastely/rn-gifted-chat","version":"0.16.5","description":"The most complete chat UI for React Native","main":"lib/index.js","types":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/anastely/rn-gifted-chat.git"},"keywords":["android","ios","react-native","react","react-component","messenger","message","chat"],"author":{"name":"Farid Safi"},"license":"MIT","bugs":{"url":"https://github.com/anastely/rn-gifted-chat/issues"},"homepage":"https://github.com/anastely/rn-gifted-chat#readme","scripts":{"config:dev":"json -I -f package.json -e 'this.main=\"node_modules/expo/AppEntry.js\"'","config:npm":"json -I -f package.json -e 'this.main=\"lib/index.js\"'","lint":"tslint --project .","lint:fix":"tslint ./src/**/*.{ts,tsx} --fix","tsc":"tsc --noEmit","start":"yarn config:dev && expo start","start:web":"yarn config:dev && expo start -w --dev","build":"rm -rf lib/ && node_modules/.bin/tsc && cp flow-typedefs/*.js.flow lib/","test":"TZ=Europe/Paris jest --no-watchman","test:watch":"TZ=Europe/Paris jest --watch","test:coverage":"TZ=Europe/Paris jest --coverage","prepublishOnly":"yarn lint && yarn build && yarn test && yarn config:npm","postpublish":"yarn config:dev","prettier":"prettier --write \"src/**/*.{ts,tsx}\""},"jest":{"preset":"react-native","setupFiles":["./tests/setup.js"],"moduleFileExtensions":["js","jsx","json","ts","tsx"],"transform":{"^.+\\.(js|jsx|ts|tsx)$":"babel-jest"},"testMatch":["**/*.test.ts?(x)"],"modulePathIgnorePatterns":["<rootDir>/example-expo","<rootDir>/example-slack-message"],"coveragePathIgnorePatterns":["./src/__tests__/"]},"devDependencies":{"@babel/core":"7.9.6","@babel/preset-typescript":"7.9.0","@types/jest":"25.2.1","@types/react":"^16.9.11","@types/react-native":"^0.60.22","@types/react-native-communications":"2.2.1","@types/react-test-renderer":"16.9.2","@types/uuid":"3.4.9","babel-core":"7.0.0-bridge.0","babel-jest":"25.5.1","babel-preset-expo":"^8.1.0","expo":"^37.0.0","expo-constants":"~9.0.0","expo-image-picker":"~8.1.0","expo-location":"~8.1.0","expo-permissions":"~8.1.0","flow-bin":"0.125.0","husky":"4.2.5","jest-expo":"^37.0.0","json":"9.0.6","prettier":"2.0.5","react":"16.9.0","react-dom":"16.9.0","react-native":"https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz","react-native-maps":"0.26.1","react-native-nav":"2.0.2","react-native-web-maps":"0.2.0","react-test-renderer":"16.9.0","react-native-web":"^0.11.7","tslint":"6.1.2","tslint-config-prettier":"1.18.0","typescript":"^3.8.3"},"dependencies":{"@expo/react-native-action-sheet":"^3.6.0","dayjs":"^1.8.26","prop-types":"^15.7.2","react-native-communications":"^2.2.1","react-native-iphone-x-helper":"^1.2.1","react-native-lightbox":"^0.8.1","react-native-parsed-text":"0.0.22","react-native-typing-animation":"^0.1.7","uuid":"3.4.0"},"peerDependencies":{"dayjs":"*","react":"*","react-native":"*"},"husky":{"hooks":{"pre-commit":"yarn lint:fix && yarn prettier && yarn tsc"}},"directories":{"lib":"lib","test":"tests"},"gitHead":"8c4c43478b92643a65144ec20e77a1516ff6ef72","_id":"@anastely/rn-gifted-chat@0.16.5","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-2DLToIp27VXKnKN0Xyfbi5La2EWBR2m5dVF6XisUCeLtOX/2fLyzywXM+tpt/7mJ5BVG56vSKtQnmrTdr1cJdA==","shasum":"21ce4dd80e0300b5124d22df5abf0db611bc3935","tarball":"https://registry.npmjs.org/@anastely/rn-gifted-chat/-/rn-gifted-chat-0.16.5.tgz","fileCount":103,"unpackedSize":286770,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfW/bbCRA9TVsSAnZWagAAru0P+wbDYu5LTu+AssmhdrB+\nGtsf5E+f6Qy2DIENwBzwVhGtrTwIGtJri/gNlXP3r7e1paoYL5Nbt+jQ2uZP\nk+DAZukKUyTptjXcaNoTeYh8GVeA4hJbwKCTV+3LFrbrak7whp+lq/4ZcKqX\n/4uT8BnzixJUCmq8EE/Sa5a0OkjWv1k2UF2Pdsgo6MoKVoWZPLkvZPEvTj7B\nK8Qn8v91l2NMzQcw+imc9Kb0kf9xTyWlXToSbqq/H4SaZAN40TLlboipYOmP\nu22KCQQFevADfg1k/YlS8wK1yrADH/vadXxunCcLuZqTIa0lQqj0wWMYjWHD\nGxI8DsvfL+HM5/3DIjG2BAIvLeNo9bGGceOgOJ9I1UF2JZLR/aXTuZRscB0M\nl8gnQ3UiCmnfas37yiuWCxwYaQQmc+srOinS6UnE0l8rj61Ak8zemuNFUnRI\nSJbIr3RuZjx0NIkvGoGvyywbD0mVRMR4c2bCqD4W5Nmik1ASHm9aO8peeCoT\n2K+Gf4rFJGob5htokpLrU84VUw8+KepI7KgbefaCob1TLACzYeV2wAgHOCD4\nuQXAU9cymFNTGr7+AGqJmo313D8g40StonJ08hkm3k2YaQMsnqjN00BoU5vR\nNNMWbbwaH1kiLXq6E/dsxFB4hv3nncxkPcl9JJw1hYj/a/wCArE3/u1fg0Nb\n5+7c\r\n=L5xC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICc7KDjp+fEohytKStlKyFtulY6Qen5UBJq6j+t7LAYYAiEAguT0FzT2PfklZbSKAKSKyX9oBvb8weRhsO7RML1DdIU="}]},"maintainers":[{"name":"anastely","email":"anastely86@gmail.com"}],"_npmUser":{"name":"anastely","email":"anastely86@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rn-gifted-chat_0.16.5_1599862491381_0.36914200734271296"},"_hasShrinkwrap":false}},"time":{"created":"2020-08-18T17:21:53.899Z","0.16.3":"2020-08-18T17:21:54.054Z","modified":"2022-04-04T13:55:35.661Z","0.16.4":"2020-08-22T15:29:33.313Z","0.16.5":"2020-09-11T22:14:51.540Z"},"maintainers":[{"name":"anastely","email":"anastely86@gmail.com"}],"description":"The most complete chat UI for React Native","homepage":"https://github.com/anastely/rn-gifted-chat#readme","keywords":["android","ios","react-native","react","react-component","messenger","message","chat"],"repository":{"type":"git","url":"git+https://github.com/anastely/rn-gifted-chat.git"},"author":{"name":"Farid Safi"},"bugs":{"url":"https://github.com/anastely/rn-gifted-chat/issues"},"license":"MIT","readme":"<p align=\"center\" >\n<p align=\"center\" >\n   <a href=\"https://reactnative.gallery/FaridSafi/gifted-chat\">\n    <img alt=\"react-native-gifted-chat\" src=\"https://thumbs.gfycat.com/AbsoluteSadDobermanpinscher-size_restricted.gif\" width=\"260\" height=\"510\" />\n </a>\n\n</p>\n\n<h3 align=\"center\">\n  💬 Gifted Chat\n</h3>\n<p align=\"center\">\n  The most complete chat UI for React Native & Web\n</p>\n<p align=\"center\">\n  <a href=\"https://www.npmjs.com/package/react-native-gifted-chat\">\n  <img alt=\"npm downloads\" src=\"https://img.shields.io/npm/dm/react-native-gifted-chat.svg\"/></a>\n  <a href=\"https://www.npmjs.com/package/react-native-gifted-chat\"><img alt=\"npm version\" src=\"https://badge.fury.io/js/react-native-gifted-chat.svg\"/></a>\n   <a href=\"https://reactnative.gallery/FaridSafi/gifted-chat\"><img src=\"https://img.shields.io/badge/reactnative.gallery-%F0%9F%8E%AC-green.svg\"/></a>\n\n</p>\n<p align=\"center\">\n  <a href=\"https://circleci.com/gh/FaridSafi/react-native-gifted-chat\"><img src=\"https://circleci.com/gh/FaridSafi/react-native-gifted-chat.svg?style=shield\" alt=\"build\"></a>\n  <a href=\"https://travis-ci.org/FaridSafi/react-native-gifted-chat\"><img src=\"https://api.travis-ci.org/FaridSafi/react-native-gifted-chat.svg\" alt=\"deployed\"></a>\n  <a title='License' href=\"https://github.com/FaridSafi/react-native-gifted-chat/blob/master/LICENSE\" height=\"18\">\n    <img src='https://img.shields.io/badge/license-MIT-blue.svg' />\n  </a>\n  <a href=\"#hire-an-expert\"><img src=\"https://img.shields.io/badge/%F0%9F%92%AA-hire%20an%20expert-brightgreen\"/></a>\n</p>\n\n<p align=\"center\">\n  <a href=\"https://reverent-bardeen-47c862.netlify.com/\" target=\"_blank\">Demo Web 🖥</a>\n</p>\n<p align=\"center\">\n  <a href=\"https://snack.expo.io/@xcarpentier/giftedchat-playground\" target=\"_blank\">Snack GiftedChat playground</a>\n  <img height=\"18\" src=\"https://snack.expo.io/favicon.ico\" />\n</p>\n\n## Sponsor\n\n<p align=\"center\">\n  <br/>\n  <a href=\"https://www.lereacteur.io\" target=\"_blank\">\n    <img src=\"https://raw.githubusercontent.com/FaridSafi/react-native-gifted-chat/master/media/logo_sponsor.png\">\n  </a>\n  <br>\n  <p align=\"center\">\n    Coding Bootcamp in Paris co-founded by Farid Safi\n  </p>\n  <a href=\"https://www.lereacteur.io\" target=\"_blank\">\n    <p align=\"center\">\n      Click to learn more\n    </p>\n  </a>\n</p>\n\n<p align=\"center\">\n  <br/>\n  <a href=\"https://getstream.io/chat/?utm_source=github&utm_medium=react-native-gifted-chat&utm_campaign=sponsorship\" target=\"_blank\">\n    <img src=\"https://i.imgur.com/oU7XYkk.png\">\n  </a>\n  <br>\n  <p align=\"center\">\n    Scalable <a href=\"https://getstream.io/chat/?utm_source=github&utm_medium=react-native-gifted-chat&utm_campaign=sponsorship\" target=\"_blank\">chat API/Server</a> written in Go\n  </p>\n  <p align=\"center\">\n    <a href=\"https://getstream.io/chat/get_started/?utm_source=github&utm_medium=react-native-gifted-chat&utm_campaign=sponsorship\" target=\"_blank\">API Tour</a> | <a href=\"https://dev.to/nickparsons/react-native-chat-with-chuck-norris-3h7m?utm_source=github&utm_medium=react-native-gifted-chat&utm_campaign=sponsorship\" target=\"_blank\">React Native Gifted tutorial</a>\n  </p>\n</p>\n\n<p align=\"center\">\n  <br/>\n  <a href=\"https://www.docdok.health/?utm_source=github&utm_medium=react-native-gifted-chat&utm_campaign=sponsorship\" target=\"_blank\">\n    <img src=\"https://www.dropbox.com/s/g4dcq267aqbykpz/logo.png?dl=0&raw=1\">\n  </a>\n  <br>\n  <p align=\"center\">Delivering Personalized Healthcare</p>\n  <p align=\"center\">\n    <a href=\"https://www.docdok.health/?utm_source=github&utm_medium=react-native-gifted-chat&utm_campaign=sponsorship\" target=\"_blank\">      Find out more</a>\n  </p>\n</p>\n\n## The future of GiftedChat 🎉 \nPlease give us your advice: [Related PR](https://github.com/FaridSafi/react-native-gifted-chat/pull/1775)\n\n## Please vote\n\n**GiftedChat** depends on other packages and some needs a boost, please vote for PRs will improve it, thanks:\n- https://github.com/watadarkstar/react-native-typing-animation/issues/18\n\n## Features\n\n- 🎉 **_`react-native-web`able_ (since 0.10.0)** [web configuration](#react-native-web)\n- Write with **TypeScript** (since 0.8.0)\n- Fully customizable components\n- Composer actions (to attach photos, etc.)\n- Load earlier messages\n- Copy messages to clipboard\n- Touchable links using [react-native-parsed-text](https://github.com/taskrabbit/react-native-parsed-text)\n- Avatar as user's initials\n- Localized dates\n- Multi-line TextInput\n- InputToolbar avoiding keyboard\n- Redux support\n- System message\n- Quick Reply messages (bot)\n- Typying indicatior [react-native-typing-animation](https://github.com/watadarkstar/react-native-typing-animation)\n\n## Dependency\n\n- Use version `0.2.x` for RN `>= 0.44.0`\n- Use version `0.1.x` for RN `>= 0.40.0`\n- Use version `0.0.10` for RN `< 0.40.0`\n\n## Installation\n\n- Using [npm](https://www.npmjs.com/#getting-started): `npm install react-native-gifted-chat --save`\n- Using [Yarn](https://yarnpkg.com/): `yarn add react-native-gifted-chat`\n\n### react-native-video and expo-av\n\n- Both dependencies are removed since `0.11.0`.\n- You still be able to provide a `video` but you need to provide `renderMessageVideo` prop.\n\n## You have a question?\n\n1. Please check this readme and may find a response\n1. Please ask on StackOverflow first: https://stackoverflow.com/questions/tagged/react-native-gifted-chat\n1. Find response on existing issues\n1. Try to keep issues for issues\n\n## Example\n\n```jsx\nimport React, { useState, useCallback, useEffect } from 'react'\nimport { GiftedChat } from 'react-native-gifted-chat'\n\nexport function Example() {\n  const [messages, setMessages] = useState([]);\n\n  useEffect(() => {\n    setMessages([\n      {\n        _id: 1,\n        text: 'Hello developer',\n        createdAt: new Date(),\n        user: {\n          _id: 2,\n          name: 'React Native',\n          avatar: 'https://placeimg.com/140/140/any',\n        },\n      },\n    ])\n  }, [])\n\n  const onSend = useCallback((messages = []) => {\n    setMessages(previousMessages => GiftedChat.append(previousMessages, messages))\n  }, [])\n\n  return (\n    <GiftedChat\n      messages={messages}\n      onSend={messages => onSend(messages)}\n      user={{\n        _id: 1,\n      }}\n    />\n  )\n}\n```\n\n## Advanced example\n\nSee [`App.tsx`](https://github.com/FaridSafi/react-native-gifted-chat/blob/master/App.tsx) for a working demo!\n\n## \"Slack\" example\n\nSee the files in [`example-slack-message`](example-slack-message) for an example of how to override the default UI to make something that looks more like Slack -- with usernames displayed and all messages on the left.\n\n## Message object\n\n> e.g. Chat Message\n\n```ts\nexport interface IMessage {\n  _id: string | number\n  text: string\n  createdAt: Date | number\n  user: User\n  image?: string\n  video?: string\n  audio?: string\n  system?: boolean\n  sent?: boolean\n  received?: boolean\n  pending?: boolean\n  quickReplies?: QuickReplies\n}\n```\n\n```js\n{\n  _id: 1,\n  text: 'My message',\n  createdAt: new Date(Date.UTC(2016, 5, 11, 17, 20, 0)),\n  user: {\n    _id: 2,\n    name: 'React Native',\n    avatar: 'https://facebook.github.io/react/img/logo_og.png',\n  },\n  image: 'https://facebook.github.io/react/img/logo_og.png',\n  // You can also add a video prop:\n  video: 'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4',\n  // Mark the message as sent, using one tick\n  sent: true,\n  // Mark the message as received, using two tick\n  received: true,\n  // Mark the message as pending with a clock loader\n  pending: true,\n  // Any additional custom parameters are passed through\n}\n```\n\n> e.g. System Message\n\n```js\n{\n  _id: 1,\n  text: 'This is a system message',\n  createdAt: new Date(Date.UTC(2016, 5, 11, 17, 20, 0)),\n  system: true,\n  // Any additional custom parameters are passed through\n}\n```\n\n> e.g. Chat Message with Quick Reply options\n\nSee PR [#1211](https://github.com/FaridSafi/react-native-gifted-chat/pull/1211)\n\n```ts\ninterface Reply {\n  title: string\n  value: string\n  messageId?: any\n}\n\ninterface QuickReplies {\n  type: 'radio' | 'checkbox'\n  values: Reply[]\n  keepIt?: boolean\n}\n```\n\n```js\n  {\n    _id: 1,\n    text: 'This is a quick reply. Do you love Gifted Chat? (radio) KEEP IT',\n    createdAt: new Date(),\n    quickReplies: {\n      type: 'radio', // or 'checkbox',\n      keepIt: true,\n      values: [\n        {\n          title: '😋 Yes',\n          value: 'yes',\n        },\n        {\n          title: '📷 Yes, let me show you with a picture!',\n          value: 'yes_picture',\n        },\n        {\n          title: '😞 Nope. What?',\n          value: 'no',\n        },\n      ],\n    },\n    user: {\n      _id: 2,\n      name: 'React Native',\n    },\n  },\n  {\n    _id: 2,\n    text: 'This is a quick reply. Do you love Gifted Chat? (checkbox)',\n    createdAt: new Date(),\n    quickReplies: {\n      type: 'checkbox', // or 'radio',\n      values: [\n        {\n          title: 'Yes',\n          value: 'yes',\n        },\n        {\n          title: 'Yes, let me show you with a picture!',\n          value: 'yes_picture',\n        },\n        {\n          title: 'Nope. What?',\n          value: 'no',\n        },\n      ],\n    },\n    user: {\n      _id: 2,\n      name: 'React Native',\n    },\n  }\n```\n\n## Props\n\n- **`messages`** _(Array)_ - Messages to display\n- **`isTyping`** _(Bool)_ - Typing Indicator state; default `false`. If you use`renderFooter` it will override this.\n- **`text`** _(String)_ - Input text; default is `undefined`, but if specified, it will override GiftedChat's internal state (e.g. for redux; [see notes below](#notes-for-redux))\n- **`placeholder`** _(String)_ - Placeholder when `text` is empty; default is `'Type a message...'`\n- **`messageIdGenerator`** _(Function)_ - Generate an id for new messages. Defaults to UUID v4, generated by [uuid](https://github.com/kelektiv/node-uuid)\n- **`user`** _(Object)_ - User sending the messages: `{ _id, name, avatar }`\n- **`onSend`** _(Function)_ - Callback when sending a message\n- **`alwaysShowSend`** _(Bool)_ - Always show send button in input text composer; default `false`, show only when text input is not empty\n- **`locale`** _(String)_ - Locale to localize the dates. You need first to import the locale you need (ie. `require('dayjs/locale/de')` or `import 'dayjs/locale/fr'`)\n- **`timeFormat`** _(String)_ - Format to use for rendering times; default is `'LT'`\n- **`dateFormat`** _(String)_ - Format to use for rendering dates; default is `'ll'`\n- **`loadEarlier`** _(Bool)_ - Enables the \"load earlier messages\" button, required for `infiniteScroll`\n- **`isKeyboardInternallyHandled`** _(Bool)_ - Determine whether to handle keyboard awareness inside the plugin. If you have your own keyboard handling outside the plugin set this to false; default is `true`\n- **`onLoadEarlier`** _(Function)_ - Callback when loading earlier messages\n- **`isLoadingEarlier`** _(Bool)_ - Display an `ActivityIndicator` when loading earlier messages\n- **`renderLoading`** _(Function)_ - Render a loading view when initializing\n- **`renderLoadEarlier`** _(Function)_ - Custom \"Load earlier messages\" button\n- **`renderAvatar`** _(Function)_ - Custom message avatar; set to `null` to not render any avatar for the message\n- **`showUserAvatar`** _(Bool)_ - Whether to render an avatar for the current user; default is `false`, only show avatars for other users\n- **`showAvatarForEveryMessage`** _(Bool)_ - When false, avatars will only be displayed when a consecutive message is from the same user on the same day; default is `false`\n- **`onPressAvatar`** _(Function(`user`))_ - Callback when a message avatar is tapped\n- **`onLongPressAvatar`** _(Function(`user`))_ - Callback when a message avatar is long-pressed\n- **`renderAvatarOnTop`** _(Bool)_ - Render the message avatar at the top of consecutive messages, rather than the bottom; default is `false`\n- **`renderBubble`** _(Function)_ - Custom message bubble\n- **`renderTicks`** _(Function(`message`))_ - Custom ticks indicator to display message status\n- **`renderSystemMessage`** _(Function)_ - Custom system message\n- **`onLongPress`** _(Function(`context`, `message`))_ - Callback when a message bubble is long-pressed; default is to show an ActionSheet with \"Copy Text\" (see [example using `showActionSheetWithOptions()`](https://github.com/FaridSafi/react-native-gifted-chat/blob/master@%7B2017-09-25%7D/src/Bubble.js#L96-L119))\n- **`inverted`** _(Bool)_ - Reverses display order of `messages`; default is `true`\n- **`renderUsernameOnMessage`** _(Bool)_ - Indicate whether to show the user's username inside the message bubble; default is `false`\n- **`renderMessage`** _(Function)_ - Custom message container\n- **`renderMessageText`** _(Function)_ - Custom message text\n- **`renderMessageImage`** _(Function)_ - Custom message image\n- **`renderMessageVideo`** _(Function)_ - Custom message video\n- **`imageProps`** _(Object)_ - Extra props to be passed to the [`<Image>`](https://facebook.github.io/react-native/docs/image.html) component created by the default `renderMessageImage`\n- **`videoProps`** _(Object)_ - Extra props to be passed to the video component created by the required `renderMessageVideo`\n- **`lightboxProps`** _(Object)_ - Extra props to be passed to the `MessageImage`'s [Lightbox](https://github.com/oblador/react-native-lightbox)\n- **`isCustomViewBottom`** _(Bool)_ - Determine whether renderCustomView is displayed before or after the text, image and video views; default is `false`\n- **`renderCustomView`** _(Function)_ - Custom view inside the bubble\n- **`renderDay`** _(Function)_ - Custom day above a message\n- **`renderTime`** _(Function)_ - Custom time inside a message\n- **`renderFooter`** _(Function)_ - Custom footer component on the ListView, e.g. `'User is typing...'`; see [App.tsx](/App.tsx) for an example. Overrides default typing indicator that triggers when `isTyping` is true.\n- **`renderChatEmpty`** _(Function)_ - Custom component to render in the ListView when messages are empty\n- **`renderChatFooter`** _(Function)_ - Custom component to render below the MessageContainer (separate from the ListView)\n- **`renderInputToolbar`** _(Function)_ - Custom message composer container\n- **`renderComposer`** _(Function)_ - Custom text input message composer\n- **`renderActions`** _(Function)_ - Custom action button on the left of the message composer\n- **`renderSend`** _(Function)_ - Custom send button; you can pass children to the original `Send` component quite easily, for example, to use a custom icon ([example](https://github.com/FaridSafi/react-native-gifted-chat/pull/487))\n- **`renderAccessory`** _(Function)_ - Custom second line of actions below the message composer\n- **`onPressActionButton`** _(Function)_ - Callback when the Action button is pressed (if set, the default `actionSheet` will not be used)\n- **`bottomOffset`** _(Integer)_ - Distance of the chat from the bottom of the screen (e.g. useful if you display a tab bar)\n- **`minInputToolbarHeight`** _(Integer)_ - Minimum height of the input toolbar; default is `44`\n- **`listViewProps`** _(Object)_ - Extra props to be passed to the messages [`<ListView>`](https://facebook.github.io/react-native/docs/listview.html); some props can't be overridden, see the code in `MessageContainer.render()` for details\n- **`textInputProps`** _(Object)_ - Extra props to be passed to the [`<TextInput>`](https://facebook.github.io/react-native/docs/textinput.html)\n- **`textInputStyle`** _(Object)_ - Custom style to be passed to the [`<TextInput>`](https://facebook.github.io/react-native/docs/textinput.html)\n- **`multiline`** _(Bool)_ - Indicates whether to allow the [`<TextInput>`](https://facebook.github.io/react-native/docs/textinput.html) to be multiple lines or not; default `true`.\n- **`keyboardShouldPersistTaps`** _(Enum)_ - Determines whether the keyboard should stay visible after a tap; see [`<ScrollView>`](https://facebook.github.io/react-native/docs/scrollview.html) docs\n- **`onInputTextChanged`** _(Function)_ - Callback when the input text changes\n- **`maxInputLength`** _(Integer)_ - Max message composer TextInput length\n- **`parsePatterns`** _(Function)_ - Custom parse patterns for [react-native-parsed-text](https://github.com/taskrabbit/react-native-parsed-text) used to linking message content (like URLs and phone numbers), e.g.:\n\n```js\n <GiftedChat\n   parsePatterns={(linkStyle) => [\n     { type: 'phone', style: linkStyle, onPress: this.onPressPhoneNumber },\n     { pattern: /#(\\w+)/, style: { ...linkStyle, styles.hashtag }, onPress: this.onPressHashtag },\n   ]}\n />\n```\n\n- **`extraData`** _(Object)_ - Extra props for re-rendering FlatList on demand. This will be useful for rendering footer etc.\n- **`minComposerHeight`** _(Object)_ - Custom min-height of the composer.\n- **`maxComposerHeight`** _(Object)_ - Custom max height of the composer.\n\n* **`scrollToBottom`** _(Bool)_ - Enables the scroll to bottom Component (Default is false)\n* **`scrollToBottomComponent`** _(Function)_ - Custom Scroll To Bottom Component container\n* **`scrollToBottomOffset`** _(Integer)_ - Custom Height Offset upon which to begin showing Scroll To Bottom Component (Default is 200)\n* **`scrollToBottomStyle`** _(Object)_ - Custom style for Bottom Component container\n* **`alignTop`** _(Boolean)_ Controls whether or not the message bubbles appear at the top of the chat (Default is false - bubbles align to bottom)\n* **`onQuickReply`** _(Function)_ - Callback when sending a quick reply (to backend server)\n* **`renderQuickReplies`** _(Function)_ - Custom all quick reply view\n* **`quickReplyStyle`** _(StyleProp<ViewStyle>)_ - Custom quick reply view style\n* **`renderQuickReplySend`** _(Function)_ - Custom quick reply **send** view\n* **`shouldUpdateMessage`** _(Function)_ - Lets the message component know when to update outside of normal cases.\n* **`infiniteScroll`** _(Bool)_ - infinite scroll up when reach the top of messages container, automatically call onLoadEarlier function if exist (not yet supported for the web). You need to add `loadEarlier` prop too.\n\n## Imperative methods\n\n- `focusTextInput()` - Open the keyboard and focus the text input box\n\n## Notes for [Redux](https://github.com/reactjs/redux)\n\nThe `messages` prop should work out-of-the-box with Redux. In most cases, this is all you need.\n\nIf you decide to specify a `text` prop, GiftedChat will no longer manage its own internal `text` state and will defer entirely to your prop.\nThis is great for using a tool like Redux, but there's one extra step you'll need to take:\nsimply implement `onInputTextChanged` to receive typing events and reset events (e.g. to clear the text `onSend`):\n\n```js\n<GiftedChat\n  text={customText}\n  onInputTextChanged={text => this.setCustomText(text)}\n  /* ... */\n/>\n```\n\n## Notes for Android\n\nIf you are using Create React Native App / Expo, no Android specific installation steps are required -- you can skip this section. Otherwise, we recommend modifying your project configuration as follows.\n\n- Make sure you have `android:windowSoftInputMode=\"adjustResize\"` in your `AndroidManifest.xml`:\n\n  ```xml\n  <activity\n    android:name=\".MainActivity\"\n    android:label=\"@string/app_name\"\n    android:windowSoftInputMode=\"adjustResize\"\n    android:configChanges=\"keyboard|keyboardHidden|orientation|screenSize\">\n  ```\n\n- For **Expo**, there are at least 2 solutions to fix it:\n\n  - Append [`KeyboardAvoidingView`](https://facebook.github.io/react-native/docs/keyboardavoidingview) after GiftedChat. This should only be done for Android, as `KeyboardAvoidingView` may conflict with the iOS keyboard avoidance already built into GiftedChat, e.g.:\n\n```\n<View style={{ flex: 1 }}>\n   <GiftedChat />\n   {\n      Platform.OS === 'android' && <KeyboardAvoidingView behavior=\"padding\" />\n   }\n</View>\n```\n\nIf you use React Navigation, additional handling may be required to account for navigation headers and tabs. `KeyboardAvoidingView`'s `keyboardVerticalOffset` property can be set to the height of the navigation header and [`tabBarOptions.keyboardHidesTabBar`](https://reactnavigation.org/docs/en/bottom-tab-navigator.html#bottomtabnavigatorconfig) can be set to keep the tab bar from being shown when the keyboard is up. Due to a [bug with calculating height on Android phones with notches](facebook/react-native#23693), `KeyboardAvoidingView` is recommended over other solutions that involve calculating the height of the window.\n\n- adding an opaque background status bar on app.json (even though `android:windowSoftInputMode=\"adjustResize\"` is set internally on Expo's Android apps, the translucent status bar causes it not to work): https://docs.expo.io/versions/latest/guides/configuration.html#androidstatusbar\n\n- If you plan to use `GiftedChat` inside a `Modal`, see [#200](https://github.com/FaridSafi/react-native-gifted-chat/issues/200).\n\n## Notes for local development\n\n### Native\n\n1. Install `yarn global add expo-cli`\n2. Install dependencies`yarn install`\n3. `expo start`\n\n### react-native-web\n\n#### With expo\n\n1. Install `yarn global add expo-cli`\n2. Install dependencies`yarn install`\n3. `expo start -w`\n\n[Upgrade snack version](https://snackager.expo.io/bundle/react-native-gifted-chat@0.15.0?bypassCache=true)\n\n#### With create-react-app\n\n1. `yarn add -D react-app-rewired`\n2. `touch config-overrides.js`\n\n```js\nmodule.exports = function override(config, env) {\n  config.module.rules.push({\n    test: /\\.js$/,\n    exclude: /node_modules[/\\\\](?!react-native-gifted-chat|react-native-lightbox|react-native-parsed-text)/,\n    use: {\n      loader: 'babel-loader',\n      options: {\n        babelrc: false,\n        configFile: false,\n        presets: [\n          ['@babel/preset-env', { useBuiltIns: 'usage' }],\n          '@babel/preset-react',\n        ],\n        plugins: ['@babel/plugin-proposal-class-properties'],\n      },\n    },\n  })\n\n  return config\n}\n```\n\n> You will find an example and a **web demo** here: [xcarpentier/gifted-chat-web-demo](https://github.com/xcarpentier/gifted-chat-web-demo)\n\n> Another example with **Gatsby** : [xcarpentier/clean-archi-boilerplate](https://github.com/xcarpentier/clean-archi-boilerplate/tree/develop/apps/web)\n\n## Questions\n\n- [How can I set Bubble color for each user?](https://github.com/FaridSafi/react-native-gifted-chat/issues/672)\n- [How can I pass style props to InputToolbar design and customize its color and other styles properties?](https://github.com/FaridSafi/react-native-gifted-chat/issues/662)\n- [How can I change the color of the message box?](https://github.com/FaridSafi/react-native-gifted-chat/issues/640)\n- [Is there a way to manually dismiss the keyboard?](https://github.com/FaridSafi/react-native-gifted-chat/issues/647)\n- [I want to implement a popover that pops right after clicking on a specific avatar,\n  what is the best implementation in this case and how?](https://github.com/FaridSafi/react-native-gifted-chat/issues/660)\n- [Why TextInput is hidden on Android?](https://github.com/FaridSafi/react-native-gifted-chat/issues/680#issuecomment-359699364)\n- [How to use renderLoading?](https://github.com/FaridSafi/react-native-gifted-chat/issues/298)\n- [Can I use MySql to save the message?](https://github.com/FaridSafi/react-native-gifted-chat/issues/738)\n\n## License\n\n- [MIT](LICENSE)\n\n## Author\n\nFeel free to ask me questions on Twitter [@FaridSafi](https://www.twitter.com/FaridSafi)! or [@xcapetir](https://www.twitter.com/xcapetir)!\n\n## Contributors\n\n- Kevin Cooper [cooperka](https://github.com/cooperka)\n- Kfir Golan [kfiroo](https://github.com/kfiroo)\n- Bruno Cascio [brunocascio](https://github.com/brunocascio)\n- Xavier Carpentier [xcarpentier](https://github.com/xcarpentier)\n- [more](https://github.com/FaridSafi/react-native-gifted-chat/graphs/contributors)\n\n## Hire an expert!\n\nLooking for a ReactNative freelance expert with more than 14 years of experience? Contact Xavier from his [website](https://xaviercarpentier.com)!\n","readmeFilename":"README.md"}