{"id":19982953,"url":"https://github.com/veryfi/veryfi-lens-react-native-demo","last_synced_at":"2026-05-07T01:16:11.102Z","repository":{"id":48144052,"uuid":"484202442","full_name":"veryfi/veryfi-lens-react-native-demo","owner":"veryfi","description":"Example Demo App about how to use our react native wrapper","archived":false,"fork":false,"pushed_at":"2026-05-06T23:10:29.000Z","size":4344,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-05-07T00:26:10.574Z","etag":null,"topics":["android","android-application","kotlin","kotlin-android","lens","mobile","ocr","react-native","react-native-app"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/veryfi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-04-21T20:55:31.000Z","updated_at":"2026-05-06T23:02:21.000Z","dependencies_parsed_at":"2023-10-24T22:31:46.082Z","dependency_job_id":"07c53e22-1bc0-4869-86c7-e4fc999743e2","html_url":"https://github.com/veryfi/veryfi-lens-react-native-demo","commit_stats":null,"previous_names":[],"tags_count":145,"template":false,"template_full_name":null,"purl":"pkg:github/veryfi/veryfi-lens-react-native-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veryfi%2Fveryfi-lens-react-native-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veryfi%2Fveryfi-lens-react-native-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veryfi%2Fveryfi-lens-react-native-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veryfi%2Fveryfi-lens-react-native-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/veryfi","download_url":"https://codeload.github.com/veryfi/veryfi-lens-react-native-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veryfi%2Fveryfi-lens-react-native-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32718530,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T00:29:05.620Z","status":"ssl_error","status_checked_at":"2026-05-07T00:28:57.074Z","response_time":117,"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":["android","android-application","kotlin","kotlin-android","lens","mobile","ocr","react-native","react-native-app"],"created_at":"2024-11-13T04:13:42.538Z","updated_at":"2026-05-07T01:16:11.051Z","avatar_url":"https://github.com/veryfi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://user-images.githubusercontent.com/30125790/212157461-58bdc714-2f89-44c2-8e4d-d42bee74854e.png#gh-dark-mode-only\" width=\"200\"\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/30125790/212157486-bfd08c5d-9337-4b78-be6f-230dc63838ba.png#gh-light-mode-only\" width=\"200\"\u003e\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)\n# Veryfi Lens React Native\nVeryfi Lens is code (a framework) with UI for your mobile app to give it document capture superpowers in minutes.\n\nLet Veryfi handle the complexities of frame processing, asset preprocessing, edge routing, and machine vision challenges in document capture. We have been at this for a long time and understand the intricate nature of mobile capture. That’s why we built Lens. Veryfi Lens is built by developers for developers; making the whole process of integrating Lens into your app fast and easy with as few lines as possible.\n\nVeryfi Lens is a Framework: a self-contained, reusable chunks of code and resources you can import into you app.\n\nLens is built in native code and optimized for fast performance, clean user experience and low memory usage.\n\nYou can read further about Lens in Veryfi's dedicated page: https://www.veryfi.com/lens/\n\nYou can watch our video:\n[![Veryfi Lens](https://img.youtube.com/vi/TUV5SXpKN48/maxresdefault.jpg)](http://www.youtube.com/watch?v=TUV5SXpKN48 \"Veryfi Lens Features\")\n\n## Table of content\n1. [Configuration](#configuration)\n2. [iOS Localization](#localization)\n3. [Other platforms](#other_platforms)\n4. [Get in contact with our team](#contact)\n\n### Configuration \u003ca name=\"configuration\"\u003e\u003c/a\u003e\n- Go to Lens: Maven (Android) section and generate your access credentials [here](https://hub.veryfi.com/api/settings/keys/#package-managers-container).\n- Add your Maven credentials to your system environment. Replace [USERNAME] and [PASSWORD] with the credentials that were set up in the previous step.\n```\nexport MAVEN_VERYFI_USERNAME=[USERNAME]\nexport MAVEN_VERYFI_PASSWORD=[PASSWORD]\n```\nMin SDK Android 7.0 (API level 24) \n\nMin iOS version 12\n\n- Clone this repository\n- Go to Lens: React Native (iOS + Android) section and generate your access credentials [here](https://hub.veryfi.com/api/settings/keys/#package-managers-container).\n- Run `npm config set @veryfi:registry https://nexus.veryfi.com/repository/npm/`\n- Run `echo \"//nexus.veryfi.com/repository/npm/:username=[USERNAME]\" \u003e\u003e ~/.npmrc`\n- Run `echo \"//nexus.veryfi.com/repository/npm/:_password=$(echo -n [PASSWORD] | base64)\" \u003e\u003e ~/.npmrc`\n- Run `npm i @veryfi/react-native-veryfi-lens`\n- Replace [USERNAME] and [PASSWORD] with the credentials that were set up in the previous step.\n\n\nUsing yarn 3\n\n```\nyarn config set npmScopes.veryfi.npmRegistryServer \"https://nexus.veryfi.com/repository/npm/\"\nyarn config set npmScopes.veryfi.npmAlwaysAuth true\nyarn config set npmScopes.veryfi.npmAuthIdent $(echo -n '[NPM_USERNAME]:[NPM_PASSWORD]' | openssl base64 -A)\n```\n\n- Replace credentials in `App.tsx` with yours\n```\nconst veryfiLensCredentials = {\n  url: 'yourUrl',\n  clientId: 'yourClientId',\n  userName: 'yourUsername',\n  apiKey: 'yourApiKey',\n};\n```\n- Run `pod install` on the iOS folder.\n- Start metro running `npx react-native start`.\n- Run your desired platform using: `npx react-native run-android` or `npx react-native run-ios`\n\n### iOS Localization (Optional) \u003ca name=\"localization\"\u003e\u003c/a\u003e\n- In order to be able to enable iOS Lens native localization you need to enable a supported language on the project file:\n![Step 1](https://github.com/user-attachments/assets/8408ef50-0a47-459d-b89b-3b0208322b62)\n\n- Generate  localization files for the desired language (for example in storyboard):\n![Step 2](https://github.com/user-attachments/assets/e44ee792-e8ce-4524-a7e9-c328ef466ceb)\n\n- At the end you should have at least 1 file localized for each language that you want to enable localization, see example:\n![Step 3](https://github.com/user-attachments/assets/698ab01a-416c-47f2-8789-e02fac3d0b7e)\n\n### Other platforms \u003ca name=\"other_platforms\"\u003e\u003c/a\u003e\nWe also support the following wrappers for native and hybrid frameworks:\n- [Cordova](https://hub.veryfi.com/lens/docs/cordova/)\n- [Capacitor](https://hub.veryfi.com/lens/docs/capacitor/)\n- [Flutter](https://hub.veryfi.com/lens/docs/flutter/)\n- [Xamarin](https://hub.veryfi.com/lens/docs/xamarin/)\n- [iOS](https://hub.veryfi.com/lens/docs/ios/)\n- [Android](https://hub.veryfi.com/lens/docs/android/)\n\nIf you don't have access to our Hub, please contact our sales team, you can find the contact bellow.\n\n### Get in contact with our sales team \u003ca name=\"contact\"\u003e\u003c/a\u003e\nContact sales@veryfi.com to learn more about Veryfi's awesome products.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveryfi%2Fveryfi-lens-react-native-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fveryfi%2Fveryfi-lens-react-native-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveryfi%2Fveryfi-lens-react-native-demo/lists"}