{"id":19175735,"url":"https://github.com/24jieqi/react-native-sunmi-eid","last_synced_at":"2026-04-22T05:33:10.053Z","repository":{"id":141655018,"uuid":"422025955","full_name":"24jieqi/react-native-sunmi-eid","owner":"24jieqi","description":"🆔 商米身份证云解析 React Native 原生模块","archived":false,"fork":false,"pushed_at":"2021-12-14T09:49:37.000Z","size":428,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-02-23T00:46:37.763Z","etag":null,"topics":["native-module","react-native","sunmi"],"latest_commit_sha":null,"homepage":"","language":"Java","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/24jieqi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-10-28T01:27:09.000Z","updated_at":"2024-03-11T02:47:56.000Z","dependencies_parsed_at":"2023-05-09T13:17:15.113Z","dependency_job_id":null,"html_url":"https://github.com/24jieqi/react-native-sunmi-eid","commit_stats":null,"previous_names":["24jieqi/react-native-sunmi-eid"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/24jieqi/react-native-sunmi-eid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/24jieqi%2Freact-native-sunmi-eid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/24jieqi%2Freact-native-sunmi-eid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/24jieqi%2Freact-native-sunmi-eid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/24jieqi%2Freact-native-sunmi-eid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/24jieqi","download_url":"https://codeload.github.com/24jieqi/react-native-sunmi-eid/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/24jieqi%2Freact-native-sunmi-eid/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32122724,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T00:31:26.853Z","status":"online","status_checked_at":"2026-04-22T02:00:05.693Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["native-module","react-native","sunmi"],"created_at":"2024-11-09T10:24:49.773Z","updated_at":"2026-04-22T05:33:10.026Z","avatar_url":"https://github.com/24jieqi.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-sunmi-eid\n\nsunmi eid service for react-native app\n\n商品身份证云识别 react-native 实现\n\n## Installation\n\n```sh\nnpm install react-native-sunmi-eid\n```\n\n## Usage\n\n```js\nimport SunmiEid from \"react-native-sunmi-eid\";\n\n// 初始化，建议全局只初始化一次\nSunmiEid.init({\n  appKey: '',\n  appId: ''\n}).then(() =\u003e {\n  ...\n})\n// 手动开启读卡\nSunmiEid.startCheckCard()\n// 手动关闭读卡\nSunmiEid.stopCheckCard()\n\n// 监听读卡过程中状态变更\nconst removeEvent = SunmiEid.listen(\n  (payload) =\u003e {\n    console.log('stateChange', payload.status);\n  },\n  (error) =\u003e {\n    console.log('error', error);\n  }\n);\n\n```\n\n\u003e 更详细的使用方式请查看 example\n\n## Contributing\n\nSee the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F24jieqi%2Freact-native-sunmi-eid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F24jieqi%2Freact-native-sunmi-eid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F24jieqi%2Freact-native-sunmi-eid/lists"}