{"id":23746324,"url":"https://github.com/spruceid/mobile-sdk-react","last_synced_at":"2025-09-04T20:32:16.082Z","repository":{"id":226624193,"uuid":"741513240","full_name":"spruceid/mobile-sdk-react","owner":"spruceid","description":"React Native Mobile SDK","archived":false,"fork":false,"pushed_at":"2024-11-04T08:30:36.000Z","size":2144,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-12-03T07:09:47.232Z","etag":null,"topics":["identity","mdl","ssi","wallet"],"latest_commit_sha":null,"homepage":"http://spruceid.github.io/wallet-sdk-react/","language":"TypeScript","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/spruceid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","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}},"created_at":"2024-01-10T14:53:44.000Z","updated_at":"2024-11-04T08:30:38.000Z","dependencies_parsed_at":"2024-08-26T08:31:25.979Z","dependency_job_id":"8b1defeb-bf31-4567-9ff4-f3e8db421985","html_url":"https://github.com/spruceid/mobile-sdk-react","commit_stats":null,"previous_names":["spruceid/wallet-sdk-react"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spruceid%2Fmobile-sdk-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spruceid%2Fmobile-sdk-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spruceid%2Fmobile-sdk-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spruceid%2Fmobile-sdk-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spruceid","download_url":"https://codeload.github.com/spruceid/mobile-sdk-react/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231991733,"owners_count":18457112,"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":["identity","mdl","ssi","wallet"],"created_at":"2024-12-31T13:34:53.682Z","updated_at":"2025-09-04T20:32:16.070Z","avatar_url":"https://github.com/spruceid.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![NPM Version](https://img.shields.io/npm/v/%40spruceid%2Freact-native-mobile-sdk)](https://www.npmjs.com/package/@spruceid/react-native-mobile-sdk)\n[![ghpages](https://img.shields.io/badge/docs-passing-green)](https://spruceid.github.io/mobile-sdk-react/)\n\n# SpruceID Mobile SDK for React Native\n\n\u003e [!IMPORTANT]\n\u003e This repo has been archived in favor of a monorepo, please see https://github.com/spruceid/sprucekit-mobile.\n\n## Maturity Disclaimer\n\nIn its current version, Mobile SDK has not yet undergone a formal security audit\nto desired levels of confidence for suitable use in production systems. This\nimplementation is currently suitable for exploratory work and experimentation\nonly. We welcome feedback on the usability, architecture, and security of this\nimplementation and are committed to a conducting a formal audit with a reputable\nsecurity firm before the v1.0 release.\n\n## Installation\n\n```sh\nnpm install @spruceid/react-native-mobile-sdk\n```\n\n### iOS\n\nAdd to the app's info.plist\n\n```xml\n\t\u003ckey\u003eNSBluetoothAlwaysUsageDescription\u003c/key\u003e\n\t\u003cstring\u003eSecure transmission of mobile DL/ID data\u003c/string\u003e\n```\n\n### Android\n\nAdd to the `AndroidManifest.xml`\n\n```xml\n  \u003cuses-permission android:name=\"android.permission.BLUETOOTH\" /\u003e\n  \u003cuses-permission android:name=\"android.permission.BLUETOOTH_ADMIN\" /\u003e\n  \u003cuses-permission android:name=\"android.permission.BLUETOOTH_ADVERTISE\" /\u003e\n  \u003cuses-permission android:name=\"android.permission.BLUETOOTH_CONNECT\" /\u003e\n  \u003cuses-permission android:name=\"android.permission.BLUETOOTH_SCAN\" /\u003e\n  \u003cuses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\" /\u003e\n```\n\nIn addition to the manifest, on newer Android versions your applications will\nalso need to trigger a dialogue prompt. [You can refer to this documentation for more information](https://reactnative.dev/docs/permissionsandroid)\n```js\nawait PermissionsAndroid.requestMultiple([\n  'android.permission.ACCESS_FINE_LOCATION',\n  'android.permission.BLUETOOTH_CONNECT',\n  'android.permission.BLUETOOTH_SCAN',\n  'android.permission.BLUETOOTH_ADVERTISE',\n]);\n```\n\n## Usage\n\n```js\nimport { createMdocFromCbor } from '@spruceid/react-native-mobile-sdk';\n\n// ...\n\nconst mdoc = await createMdocFromCbor(mdocCborBase64);\n```\n\nFor more, see [the documentation](https://spruceid.github.io/mobile-sdk-react/).\n\n## Contributing\n\nSee the [contributing guide](https://github.com/spruceid/mobile-sdk-react/blob/main/CONTRIBUTING.md)\nto learn how to contribute to the repository and the development workflow.\n\n## Architecture\n\nOur Mobile SDKs use shared code, with most of the logic being written once in\nRust, and when not possible, native APIs (e.g. Bluetooth, OS Keychain) are\ncalled in native SDKs.\n\n```\n  ┌────────────┐\n  │React Native│\n  └──────┬─────┘\n         │\n    ┌────┴────┐\n┌───▼──┐   ┌──▼──┐\n│Kotlin│   │Swift│\n└───┬──┘   └──┬──┘\n    └────┬────┘\n         │\n      ┌──▼─┐\n      │Rust│\n      └────┘\n```\n- [Kotlin SDK](https://github.com/spruceid/mobile-sdk-kt)\n- [Swift SDK](https://github.com/spruceid/mobile-sdk-swift)\n- [Rust layer](https://github.com/spruceid/mobile-sdk-rs)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspruceid%2Fmobile-sdk-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspruceid%2Fmobile-sdk-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspruceid%2Fmobile-sdk-react/lists"}