{"id":4785,"url":"https://github.com/React-Native-Nation/react-native-onfido","last_synced_at":"2025-08-04T02:31:48.293Z","repository":{"id":41694728,"uuid":"246513842","full_name":"React-Native-Nation/react-native-onfido","owner":"React-Native-Nation","description":"React Nativo Onfido Package","archived":false,"fork":false,"pushed_at":"2023-01-27T04:37:31.000Z","size":1061,"stargazers_count":4,"open_issues_count":12,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-03T01:40:35.556Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":false,"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/React-Native-Nation.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-11T08:22:08.000Z","updated_at":"2021-12-10T16:56:20.000Z","dependencies_parsed_at":"2023-02-03T23:31:43.430Z","dependency_job_id":null,"html_url":"https://github.com/React-Native-Nation/react-native-onfido","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/React-Native-Nation/react-native-onfido","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/React-Native-Nation%2Freact-native-onfido","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/React-Native-Nation%2Freact-native-onfido/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/React-Native-Nation%2Freact-native-onfido/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/React-Native-Nation%2Freact-native-onfido/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/React-Native-Nation","download_url":"https://codeload.github.com/React-Native-Nation/react-native-onfido/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/React-Native-Nation%2Freact-native-onfido/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268639931,"owners_count":24282678,"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","status":"online","status_checked_at":"2025-08-04T02:00:09.867Z","response_time":79,"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":[],"created_at":"2024-01-05T20:17:23.286Z","updated_at":"2025-08-04T02:31:48.001Z","avatar_url":"https://github.com/React-Native-Nation.png","language":"Swift","funding_links":[],"categories":["Components"],"sub_categories":["Integrations"],"readme":"\u003cdiv align=\"center\"\u003e\n\n![react-native-onfido](https://remtech.org/wp-content/uploads/2019/06/Onfido_IMTC.jpg)\n\n[![Version](https://img.shields.io/npm/v/react-native-onfido)](https://www.npmjs.com/package/react-native-onfido)\n[![Build](https://travis-ci.org/react-native-nation/react-native-onfido.svg?branch=master)](https://travis-ci.org/react-native-nation/react-native-onfido)\n[![Coverage](https://coveralls.io/repos/github/react-native-nation/react-native-onfido/badge.svg?branch=master)](https://coveralls.io/github/react-native-nation/react-native-onfido?branch=master)\n[![Minified size](https://img.shields.io/bundlephobia/min/react-native-onfido)](https://github.com/react-native-nation/react-native-onfido/blob/master/LICENSE)\n[![Downloads](https://img.shields.io/npm/dm/react-native-onfido)](https://www.npmjs.com/package/react-native-onfido)\n[![Dependabot](https://api.dependabot.com/badges/status?host=github\u0026repo=react-native-nation/react-native-onfido)](https://dependabot.com)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/react-native-nation/react-native-onfido/pulls)\n[![Tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://github.com/facebook/jest)\n\n\u003c/div\u003e\n\n# React Native Nation Onfido\nThis package is a wrapper for the Onfido Library. https://onfido.com/\n\n## Table of contents\n* [How to install](#howtoinstall)\n* [API Methods](#using)\n* [Example](#example)\n* [Community profile](#community)\n* [Contributing](#contributing)\n\n\u003ca name=\"howtoinstall\"\u003e\u003c/a\u003e\n\n## How to install\n`yarn add react-native-onfido`.\n \n\u003ca name=\"using\"\u003e\u003c/a\u003e\n## API Methods\n\n# startSDK\nTo start the onfido KYC proccess use `startSDK`\n```js\nOnfido.startSDK(token, applicantId, country, onSuccess, OnError);\n```\n\n# Example\n\n\u003ca name=\"example\"\u003e\u003c/a\u003e\n## Example\nReact native example\n\n```js\nimport Onfido from 'react-native-onfido';\n\nOnfido.startSDK(\n    token,\n    applicantId,\n    country,\n    () =\u003e { \n        console.log(\"Verification complete\");\n    },\n    (errorCause) =\u003e {\n        if (errorCause == \"USER_LEFT_ACTIVITY\") {\n            console.log(\"Flow cancelled\")\n        } else {\n            console.log(\"Flow not finished\")\n        };\n    },\n    // Optional iOS primary color\n    primaryColor);\n```\n\n\u003ca name=\"community\"\u003e\u003c/a\u003e\n## Community profile\nPlease read through our [CODE_OF_CONDUCT.md](/.github/CODE_OF_CONDUCT.md).\n\n\u003ca name=\"contributing\"\u003e\u003c/a\u003e\n## Contributing\nPlease read through our [CONTRIBUTING.md](/.github/CONTRIBUTING.md).\n\n## Contributors\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore --\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003ca href=\"https://jamesjara.me\"\u003e\u003cimg src=\"https://avatars2.githubusercontent.com/u/780219?v=4\" width=\"100px;\" alt=\"James Jara\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eJames Jara\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#infra-jamesjara\" title=\"Infrastructure (Hosting, Build-Tools, etc)\"\u003e🚇\u003c/a\u003e \u003ca href=\"https://github.com/React-Native-Nation/react-native-onfido/commits?author=jamesjara\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"https://github.com/React-Native-Nation/react-native-onfido/commits?author=jamesjara\" title=\"Tests\"\u003e⚠️\u003c/a\u003e \u003ca href=\"https://github.com/React-Native-Nation/react-native-onfido/commits?author=jamesjara\" title=\"Documentation\"\u003e📖\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003ca name=\"reactnativenation\"\u003e\u003c/a\u003e\n## React Native Nation\nReact Native Nation is the best spanish website for react native documentation.\n[react-native-nation](https://reactnativenation.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FReact-Native-Nation%2Freact-native-onfido","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FReact-Native-Nation%2Freact-native-onfido","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FReact-Native-Nation%2Freact-native-onfido/lists"}