https://github.com/spruceid/sprucekit-mobile
Libraries and examples for integrating verifiable credentials (VC) and mobile driver's licenses (mDL) into mobile apps.
https://github.com/spruceid/sprucekit-mobile
identity mdl ssi verifier wallet
Last synced: 4 months ago
JSON representation
Libraries and examples for integrating verifiable credentials (VC) and mobile driver's licenses (mDL) into mobile apps.
- Host: GitHub
- URL: https://github.com/spruceid/sprucekit-mobile
- Owner: spruceid
- License: apache-2.0
- Created: 2024-10-10T15:20:43.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-23T18:03:25.000Z (4 months ago)
- Last Synced: 2025-06-26T08:02:22.071Z (4 months ago)
- Topics: identity, mdl, ssi, verifier, wallet
- Language: Swift
- Homepage: https://www.sprucekit.dev/sprucekit-mobile/sprucekit-mobile-sdk
- Size: 12.1 MB
- Stars: 7
- Watchers: 6
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# SpruceKit Mobile
SpruceKit Mobile is a collection of libraries and examples for integrating verifiable credentials (VC) and mobile driver's licenses (mDL) into Android and iOS applications.
## Maturity Disclaimer
In its current version, SpruceKit Mobile has not yet undergone a formal security audit to desired levels of confidence for suitable use in production systems. This implementation is currently suitable for exploratory work and experimentation only. We welcome feedback on the usability, architecture, and security of this implementation and are committed to a conducting a formal audit with a reputable security firm before the v1.0 release.
## Usage
### iOS
Import `https://github.com/spruceid/sprucekit-mobile` and use the product `SpruceIDMobileSdk`.
### Android
See https://central.sonatype.com/artifact/com.spruceid.mobile.sdk/mobilesdk.
## Architecture
Our Mobile SDKs use shared code, with most of the logic being written once in Rust, and when not possible, native APIs (e.g. Bluetooth, OS Keychain) are called in native SDKs.
```
┌────────┐ ┌────────┐
│Showcase│ │Showcase│
│Android │ │ iOS │
└────┬───┘ └───┬────┘
│ │
│ │
┌───▼──┐ ┌──▼──┐
│Kotlin│ │Swift│
└───┬──┘ └──┬──┘
└────┬────┘
│
┌──▼─┐
│Rust│
└────┘
```
- [Rust layer](./rust)
- [Kotlin SDK](./android)
- [Swift SDK](./ios)
- [Showcase Android](./android/Showcase)
- [Showcase iOS](./ios/Showcase)## Configuring Deep Links for same device flows
To configure the same device OpenID4VP flow:
- Android: [See here](./android/MobileSdk/src/main/java/com/spruceid/mobile/sdk/ui/SameDeviceOID4VP.md)
- iOS: [See here](./ios/MobileSdk/Sources/MobileSdk/ui/SameDeviceOID4VP.md)## Contributing
See [CONTRIBUTING.md](./CONTRIBUTING.md).
## Funding
This work is funded in part by the U.S. Department of Homeland Security's Science and Technology Directorate under contract 70RSAT24T00000011 (Open-Source and Privacy-Preserving Digital Credentialing Infrastructure).
Through this contract, SpruceID’s open-source libraries will be used to build privacy-preserving digital credential wallets and verifier capabilities to support standards while ensuring safe usage and interoperability across sectors like finance, healthcare, and various cross-border applications.
To learn more about this work, [read more here](https://spruceid.com/customer-highlight/dhs-highlight) .