{"id":40286851,"url":"https://github.com/gobeyondidentity/bi-sdk-react-native","last_synced_at":"2026-01-20T04:33:30.336Z","repository":{"id":61838852,"uuid":"435552445","full_name":"gobeyondidentity/bi-sdk-react-native","owner":"gobeyondidentity","description":"React Native SDK for Beyond Identity Passkeys","archived":false,"fork":false,"pushed_at":"2023-09-28T20:51:24.000Z","size":2583,"stargazers_count":11,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-08-11T05:04:08.487Z","etag":null,"topics":["android","authentication","ios","passkeys","react-native"],"latest_commit_sha":null,"homepage":"https://developers.beyondidentity.com","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gobeyondidentity.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-12-06T15:40:51.000Z","updated_at":"2023-12-12T19:54:57.000Z","dependencies_parsed_at":"2022-10-22T05:00:37.318Z","dependency_job_id":null,"html_url":"https://github.com/gobeyondidentity/bi-sdk-react-native","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/gobeyondidentity/bi-sdk-react-native","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gobeyondidentity%2Fbi-sdk-react-native","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gobeyondidentity%2Fbi-sdk-react-native/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gobeyondidentity%2Fbi-sdk-react-native/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gobeyondidentity%2Fbi-sdk-react-native/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gobeyondidentity","download_url":"https://codeload.github.com/gobeyondidentity/bi-sdk-react-native/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gobeyondidentity%2Fbi-sdk-react-native/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28596079,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"last_error":"SSL_read: 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","authentication","ios","passkeys","react-native"],"created_at":"2026-01-20T04:33:29.714Z","updated_at":"2026-01-20T04:33:30.330Z","avatar_url":"https://github.com/gobeyondidentity.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n   \u003cbr/\u003e\n   \u003ca href=\"https://developers.beyondidentity.com\" target=\"_blank\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/238738/178780350-489309c5-8fae-4121-a20b-562e8025c0ee.png\" width=\"150px\" \u003e\u003c/a\u003e\n   \u003ch3 align=\"center\"\u003eBeyond Identity\u003c/h3\u003e\n   \u003cp align=\"center\"\u003eUniversal Passkeys for Developers\u003c/p\u003e\n   \u003cp align=\"center\"\u003e\n   All devices. Any protocol. Zero shared secrets.\n   \u003c/p\u003e\n\u003c/p\u003e\n\n# Beyond Identity React Native SDK\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\n### Embedded SDK\n\nGoodbye, passwords! The Beyond Identity SDK for React Native is a wrapper around our native SDKs ([Android](https://github.com/gobeyondidentity/bi-sdk-android) and [iOS](https://github.com/gobeyondidentity/bi-sdk-swift)), which allows you to embed the Passwordless experience into your product. A set of functions are provided to you through the Embedded namespace. This SDK supports OIDC and OAuth 2.0.\n\n## Installation\n\n### Using [react-native init](https://reactnative.dev/docs/environment-setup).\n\n1. Install the SDK:\n\n```\nyarn add @beyondidentity/bi-sdk-react-native\n```\n\nor\n\n```\nnpm install @beyondidentity/bi-sdk-react-native\n```\n\n2. Update Native Requirements in your ios/android folders:\n\nPlease make sure your iOS project supports \"minimum deployment target\" 13.0 or later.\n\nIn your `ios/Podfile` set:\n\n```sh\nplatform :ios, '13.0'\n```\n\nGo to your ios folder and run:\n\n```sh\n pod install\n```\n\nMake sure your `android/build.gradle` supports minSdkVersion 26 or later\n\n```\nbuildscript {\n  ext {\n    minSdkVersion = 26\n  }\n}\n```\n\nAdd the following maven url to your repositories in your `android/build.gradle`\n\n```\nallprojects {\n  repositories {\n    maven {\n      url \"https://packages.beyondidentity.com/public/bi-sdk-android/maven/\"\n    }\n  }\n}\n```\n\n### Using `expo`\n\n\u003e :warning: This package [requires custom native code](https://docs.expo.io/workflow/customizing/) and can be used with [Development builds](https://docs.expo.dev/develop/development-builds/introduction/) or [prebuild](https://docs.expo.dev/workflow/prebuild/) and cannot be used with Expo Go.\n\n1. Install the SDK:\n\n```\nnpx expo install @beyondidentity/bi-sdk-react-native\n```\n\n2. Add the SDK [config plugin](https://docs.expo.dev/guides/config-plugins/) to the [plugins array](https://docs.expo.dev/versions/latest/config/app/#plugins) of your app.{json,config.js,config.ts}:\n\n```\n{\n  \"expo\": {\n    \"plugins\": [\n      [\"@beyondidentity/bi-sdk-react-native\"],\n    ]\n  }\n}\n```\n\n3. Set native requirments with [expo-build-properties](https://docs.expo.dev/versions/latest/sdk/build-properties/). Add [expo-build-properties](https://docs.expo.dev/versions/latest/sdk/build-properties/) to your app.{json,config.js,config.ts}:\n\n```\nnpx expo install expo-build-properties\n```\n\n```\n{\n  \"expo\": {\n    \"plugins\": [\n      [\"@beyondidentity/bi-sdk-react-native\"],\n      [\n        \"expo-build-properties\",\n        {\n          \"android\": {\n            \"minSdkVersion\": 26\n          },\n          \"ios\": {\n            \"deploymentTarget\": \"13.0\"\n          }\n        }\n      ]\n    ]\n  }\n}\n```\n\n4.  Next, rebuild your app as described in the [\"Adding custom native code\"](https://docs.expo.dev/workflow/customizing/#generate-native-projects-with-prebuild) guide.\n\n## Usage\n\nCheck out the [Developer Documentation](https://developer.beyondidentity.com) and the [SDK API Documentation](https://gobeyondidentity.github.io/bi-sdk-react-native/) for more information.\n\n### Setup\n\nFirst, before calling the Embedded functions, make sure to initialize the SDK. This can be done where you register your root component.\n\n```javascript\nimport { Embedded } from '@beyondidentity/bi-sdk-react-native';\n\nEmbedded.initialize(\n  biometricAskPrompt: string,\n  allowedDomains?: string[]\n): Promise\u003cSuccess\u003e;\n```\n\nYou may also add a listener to log native events with `Embedded.logEventEmitter` after initializing.\n\n```javascript\nEmbedded.logEventEmitter.addListener(\n  'BeyondIdentityLogger',\n  (message: string) =\u003e {\n    console.log(message);\n  }\n);\n```\n\n## Example App\n\nClone the following repo and use the available comands to see the SDK in action!\n\nTo set up (run this first):\n\n```sh\nyarn bootstrap\n```\n\nTo run the example app on Android:\n\n```sh\nyarn example android\n```\n\nTo run the example app on iOS:\n\n```sh\nyarn example ios\n```\n\nTo start the packager:\n\n```sh\nyarn example start\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgobeyondidentity%2Fbi-sdk-react-native","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgobeyondidentity%2Fbi-sdk-react-native","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgobeyondidentity%2Fbi-sdk-react-native/lists"}