{"id":18438133,"url":"https://github.com/easemob/react-native-chat-sdk","last_synced_at":"2025-04-07T20:34:56.526Z","repository":{"id":40353886,"uuid":"481596475","full_name":"easemob/react-native-chat-sdk","owner":"easemob","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-22T08:53:23.000Z","size":13770,"stargazers_count":2,"open_issues_count":4,"forks_count":11,"subscribers_count":8,"default_branch":"dev","last_synced_at":"2025-04-02T00:37:59.932Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/easemob.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-14T12:30:24.000Z","updated_at":"2025-01-22T08:53:14.000Z","dependencies_parsed_at":"2023-02-12T10:46:06.338Z","dependency_job_id":"84da96b1-2297-4290-a9bd-e5cd3a49c734","html_url":"https://github.com/easemob/react-native-chat-sdk","commit_stats":{"total_commits":555,"total_committers":5,"mean_commits":111.0,"dds":"0.032432432432432434","last_synced_commit":"46becfe9085f62b244a39ffc209f991710b8cb37"},"previous_names":[],"tags_count":108,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easemob%2Freact-native-chat-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easemob%2Freact-native-chat-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easemob%2Freact-native-chat-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easemob%2Freact-native-chat-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/easemob","download_url":"https://codeload.github.com/easemob/react-native-chat-sdk/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247726213,"owners_count":20985845,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-11-06T06:18:43.037Z","updated_at":"2025-04-07T20:34:51.516Z","avatar_url":"https://github.com/easemob.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"_English | [Chinese](./README.zh.md)_\n\nUpdate time: 2022-08-11\n\n# react-native-chat-sdk\n\nInstant messaging connects people wherever they are and allows them to communicate with others in real time. The Agora Chat SDK enables you to embed real-time messaging in any app, on any device, anywhere.\n\n## Directory description\n\n├── CHANGELOG.md // Release notes document  \n├── CONTRIBUTING.md // Contributor documentation  \n├── LICENSE // License file  \n├── README.md // Project help documentation  \n├── README.zh.md // Project help documentation (Chinese version)  \n├── android // react native SDK android platform folder  \n├── docs // docs folder  \n├── example // project built-in demo  \n├── examples // Independent demo outside the project  \n├── ios // react native SDK ios platform folder  \n├── lib // react native SDK generates product folder  \n├── native_src // react native SDK native source code folder  \n├── node_modules // react native depends folder, generated by `yarn` or `npm` command  \n├── package.json // react native project management file  \n├── scripts // react native script folder  \n├── src // react native source code folder  \n├── tsconfig.build.json // typescript language build configuration file  \n├── tsconfig.json // typescript language configuration file  \n└── yarn.lock // yarn project dependency version configuration file\n\n## Project development environment requirements\n\nThe requirements are as follows:\n\n- React Native 0.63.4 or above\n- NodeJs 16 or above\n- Xcode 12.4 or above for iOS application\n- Android Studio 4.2 or above for Android application\n\nFor details, please refer to the Quick Start demo. [Portal](./docs/quick-start.md)\n\n## Add SDK to existing application\n\nOpen the terminal and go to the existing project folder to add SDK dependencies:\n\n```sh\nyarn add react-native-chat-sdk\n```\n\nor\n\n```sh\nnpm i --save react-native-chat-sdk\n```\n\n## General Usage\n\n### Initialization SDK\n\n```typescript\nChatClient.getInstance()\n  .init(\n    new ChatOptions({\n      appKey: '\u003cyour app key\u003e',\n    })\n  )\n  .then(() =\u003e {\n    console.log('init success');\n  })\n  .catch((reason) =\u003e {\n    console.log('init fail:', reason);\n  });\n```\n\n### Login\n\n```typescript\nChatClient.getInstance()\n  .loginWithAgoraToken('\u003cyour account ID\u003e', '\u003cyour token\u003e')\n  .then((value: any) =\u003e {\n    console.log(`login success`, value);\n  })\n  .catch((reason: any) =\u003e {\n    console.log(`login fail:`, reason);\n  });\n```\n\n### Others\n\nPlease refer to the corresponding example or method description.\n\n## quick start\n\nSee the Quick Start documentation for details. [Portal](https://docs-im.easemob.com/ccim/rn/quickstart)\n\nFor more examples, see here.[Portal](https://github.com/easemob/react-native-chat-sdk/tree/dev/examples)\n\n## Contributors\n\nSee Contributor Guide for details. [Portal](./CONTRIBUTING.md).\n\n## Release Notes\n\nSee the changelog for details. [Portal](./CHANGELOG.md).\n\n## Release type description\n\nSee version type description for details. [Portal](./docs/version-types.md).\n\n## Developer Instructions\n\nSee developer instructions for details. [Portal](./docs/developer.md).\n\n## User Instructions\n\nSee the User Instructions [Portal](./docs/user.md) for details.\n\n## License\n\nMIT\n\n## Q \u0026 A\n\nIf you encounter problems, please refer to here. [Portal](./docs/others.md).\n\n## References\n\n[Official website document address](https://docs.agora.io/en/agora-chat/landing-page?platform=React%20Native)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasemob%2Freact-native-chat-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feasemob%2Freact-native-chat-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasemob%2Freact-native-chat-sdk/lists"}