{"id":36895831,"url":"https://github.com/livechat/react-native-livechat","last_synced_at":"2026-01-12T15:42:03.139Z","repository":{"id":27614708,"uuid":"114394552","full_name":"livechat/react-native-livechat","owner":"livechat","description":"React Native component to integrate LiveChat with your application.","archived":false,"fork":false,"pushed_at":"2022-08-26T10:02:55.000Z","size":649,"stargazers_count":83,"open_issues_count":49,"forks_count":47,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-10-09T01:12:48.470Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/livechat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-15T17:15:34.000Z","updated_at":"2025-02-07T03:59:28.000Z","dependencies_parsed_at":"2022-07-15T15:30:57.783Z","dependency_job_id":null,"html_url":"https://github.com/livechat/react-native-livechat","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/livechat/react-native-livechat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livechat%2Freact-native-livechat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livechat%2Freact-native-livechat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livechat%2Freact-native-livechat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livechat%2Freact-native-livechat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/livechat","download_url":"https://codeload.github.com/livechat/react-native-livechat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/livechat%2Freact-native-livechat/sbom","scorecard":{"id":594215,"data":{"date":"2025-08-11","repo":{"name":"github.com/livechat/react-native-livechat","commit":"9cf210d94b1a71909bd86416ec7058164c276aa2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":4,"reason":"Found 4/9 approved changesets -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T22:44:26.751Z","repository_id":27614708,"created_at":"2025-08-20T22:44:26.751Z","updated_at":"2025-08-20T22:44:26.751Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28341380,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-12T15:42:02.440Z","updated_at":"2026-01-12T15:42:03.130Z","avatar_url":"https://github.com/livechat.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### ⚠️ DEPRECATED ⚠️\n\nThis project is no longer maintained. In order to implement the LiveChat Chat Widget inside your React Native application, please use Webview to embed the web Chat Widget using a direct chat link.\n\nTo do it, use the `react-native-webview` library and add a `Webview` component as shown below. Remember to replace the `\u003cLICENSE_ID\u003e` string with your LiveChat's license id.\n\n```javascript\n\u003cWebView\n  source={{\n    uri: 'https://secure.livechatinc.com/customer/action/open_chat?license_id=\u003cLICENSE_ID\u003e',\n  }}\n/\u003e\n```\n\n# LiveChat for React Native\n\nThis is a React Native component to easily add [LiveChat widget](https://www.livechatinc.com/) to your application.\n\nIt works for both iOS and Android.\n\n![LiveChat for React Native demo](https://raw.githubusercontent.com/venits/react-native-router-flux/master/livechatdemo.gif)\n\n## Getting Started\n\n### Prerequisites\n\nTo use LiveChat in your React application, you will need the LiveChat license ID.\n\nTo obtain authorization data (redirect_uri and client_id), you need to create a new LiveChat app. See our [Creating LiveChat apps](https://developers.livechatinc.com/docs/getting-started/guides/#creating-livechat-apps) documentation.\n\n- `client_id` - identifies the application, you will receive it after creating a new application in [Developer Console](https://developers.livechatinc.com/console/apps)\n- `redirect_uri` - it must be one of the URLs that you entered when creating the new app in the [Developer Console](https://developers.livechatinc.com/console/apps)\n\n![LiveChat license ID](react-native-app-details.png)\n\nIf you don't have an account, you can create one [here](https://www.livechatinc.com/).\n\n### Installation\n\nTo import LiveChat for React Native, run the following command to install required dependency (react-native-webview) and react-native-livechat library:\n\n```javascript\nnpm install react-native-webview react-native-livechat --save\n```\n\n### Supported LiveChat features\n\n- chatting\n- sneak-peek\n- rich messages: single cards with images, title, subtitle and quick replies\n- agent's attachments\n- system messages\n\n### Unsupported LiveChat features\n\n- pre-chat and post-chat forms\n- rating\n- transcript\n- ticket forms\n- queues\n- translations\n- card masking\n- chat boosters\n- customer's attachments\n- sound notfifications\n- updating customer info\n\nIf you would like to use unsupported features in your React Native app, read about the Alternative React Native installation method.\n\n## User Guide\n\n### Start\n\nHaving imported LiveChat for React Native, put it in your render method:\n\n```javascript\nimport LiveChat from 'react-native-livechat'\n\n...\n\n\u003cLiveChat license=\"\u003cLICENSE_ID\u003e\" redirectUri=\"https://example.org\" clientId=\"\u003cAPP_CLIENT_ID\u003e\" /\u003e\n```\n\nYou can also pass 'group' as a prop, to assign chat to chosen LiveChat group.\n\n```javascript\n\u003cLiveChat\n  group={2}\n  license=\"\u003cLICENSE_ID\u003e\"\n  redirectUri=\"https://example.org\"\n  clientId=\"\u003cAPP_CLIENT_ID\u003e\"\n  region=\"dal\" // optional, dal is the default\n/\u003e\n```\n\n### Customization\n\n#### Chat bubble\n\nThe chat bubble is the round icon (chat trigger) in the bottom right corner of the screen.\n\n##### Position\n\nYou can control the position of the bubble with `bubbleStyles` prop:\n\n```javascript\nconst styles = StyleSheet.create({\n  bubbleStyles: {\n    position: 'absolute',\n    left: 24,\n    bottom: 24,\n  },\n})\n\n;\u003cLiveChat\n  license=\"\u003cLICENSE_ID\u003e\"\n  redirectUri=\"https://example.org\"\n  clientId=\"\u003cAPP_CLIENT_ID\u003e\"\n  bubbleStyles={styles.bubbleStyles}\n/\u003e\n```\n\n##### Color\n\nYou can change the color of the bubble by passing `bubbleColor` prop:\n\n```javascript\n\u003cLiveChat\n  bubbleColor=\"red\"\n  license=\"\u003cLICENSE_ID\u003e\"\n  redirectUri=\"https://example.org\"\n  clientId=\"\u003cAPP_CLIENT_ID\u003e\"\n/\u003e\n```\n\n##### Custom bubble\n\nIf you don't like the default bubble, you can send `bubble` prop with your own component:\n\n```javascript\n\u003cLiveChat\n  license=\"\u003cLICENSE_ID\u003e\"\n  redirectUri=\"https://example.org\"\n  clientId=\"\u003cAPP_CLIENT_ID\u003e\"\n  bubble={\u003cView style={{ width: 60, height: 60, backgroundColor: 'green' }} /\u003e}\n/\u003e\n```\n\n#### Chat widget\n\nThis module uses [react-native-gifted-chat](https://github.com/FaridSafi/react-native-gifted-chat) for chat UI.\n\nYou can customise your chat widget by sending props to LiveChat component (like you would normally do with GiftedChat component).\n\nFor example, if you want `onPressAvatar` to show agent's details, you can do it like this:\n\n```javascript\n\u003cLiveChat license=\"\u003cLICENSE_ID\u003e\" onPressAvatar={(info) =\u003e console.warn(info)} /\u003e\n```\n\nYou can find all props in the official [react-native-gifted-chat documentation](https://github.com/FaridSafi/react-native-gifted-chat).\n\n## Support\n\nIf you need any help, you can chat with us [here](https://livechatinc.com/).\n\nI hope you will find this module useful. Happy coding!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flivechat%2Freact-native-livechat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flivechat%2Freact-native-livechat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flivechat%2Freact-native-livechat/lists"}