Install the SDK
Install the consumer wallet product for these guides. Merchant apps use POS installation. Choose the installation route that matches your access and the example you are using.
Choose an installation route
| Route | Required input | Use it for |
|---|---|---|
| Wollette package/release | Exact version and read permissions supplied by Wollette | An approved host-app dependency |
| Minimal repository starter | Authorised checkout b68c525; source-only download | First wallet read or original terminal association |
| Complete starter from authorised source | Checkout 8cf5088; use the download's prepare-sdk.py | Reproducing the supplied test app |
| Copyable existing-app components | Approved SDK dependency, plus component source from 7305c68 | Adding the demonstrated service to your own app |
The original complete app and component records keep their earlier revisions. PR #18 (2dc4eca) supplied the minimal apps and fixed the legacy Swift wrapper. Current main b68c525 adds documentation/checks with no native SDK behaviour change. Use each download's README and callback. Production release selection remains with Wollette.
Android
Use com.wollette:wollette-sdk-app for a new consumer integration. Its publishing configuration targets GitHub Packages; shared types resolve transitively. The older com.wollette:wollette coordinate is a compatibility wrapper. Obtain the package version and download credentials before adding the dependency.
File: settings.gradle.kts. Add this repository to your existing repository list:
dependencyResolutionManagement {
repositories {
google()
mavenCentral()
maven {
url = uri("https://maven.pkg.github.com/wollette/wollette-sdk")
credentials {
username = providers.gradleProperty("gpr.user").orNull
?: System.getenv("GITHUB_ACTOR")
password = providers.gradleProperty("gpr.key").orNull
?: System.getenv("GITHUB_TOKEN")
}
}
}
}Keep credentials in your user-level Gradle properties or CI secret store. Set wolletteVersion to the version supplied by Wollette; it is a required input, not a published version invented by this guide.
File: app/build.gradle.kts:
val wolletteVersion = providers.gradleProperty("wolletteVersion").get()
dependencies {
implementation("com.wollette:wollette-sdk-app:$wolletteVersion")
}Use minSdk 24 or later and Java 17. Set android.useAndroidX=true in your project's gradle.properties; the SDK uses AndroidX dependencies. Sync Gradle. The dependency should resolve and com.wollette.WolletteSdk should be available to import. An authentication or missing-version error must be resolved with the package owner.
The library manifest supplies WalletOnboardingActivity, the HCE service and NFC declarations, and the camera permission used by identity verification. Your app supplies the hosted-login redirect filter; see the Android quickstart.
iOS
The repository now has a root Package.swift. Add the repository URL in Xcode, select a version or revision agreed with Wollette, and link the WolletteApp product. Use import WolletteApp; the shared module is included transitively.
Repository: https://github.com/wollette/wollette-sdk.git
Reviewed current source: b68c5259a3953e90afe000f4ea0a699b0f4fd9fc
Product: WolletteAppThe full Swift tests, product checks and minimal simulator hosts pass for b68c525. Tracked documentation, the public signing vector and source packaging also pass. Read the current build evidence for supported-release and device-acceptance requirements.
For local development:
- Obtain read access to the repository.
- Check out the reviewed revision in a new directory:
git clone https://github.com/wollette/wollette-sdk.git
cd wollette-sdk
git checkout b68c5259a3953e90afe000f4ea0a699b0f4fd9fc- In Xcode, add the checkout root as a local package and link
WolletteApp. - Use iOS 15.1 or later and a toolchain that supports Swift tools 5.9.
- Build your app and confirm that
import WolletteAppresolves.
For an app managed by a local Swift package, the dependency path is:
.package(path: "../wollette-sdk")Adjust the path to your checkout. The ios/ local manifest remains available for existing integrations; do not add both roots to one app. The legacy Wollette product remains in the package graph and now re-exports App types; the earlier compatibility-target failure is fixed in 2dc4eca.
Create one instance
Keep one WolletteSdk (Android) or WolletteSDK (iOS) for the process. Pass the application context on Android. Continue with the Android quickstart or iOS quickstart.
Choose your integration path
| Path | What you receive | Source basis |
|---|---|---|
| Minimal repository starters | Three small host apps: Consumer hosted login/wallet ID (Android and iOS) or POS association (Android) | 2dc4eca example source, with the iOS POS app removed; current CI builds passed; authorised SDK checkout required |
| Complete native starters | Three runnable host projects (Consumer Android and iOS, POS Android) with UI, configuration templates and setup READMEs | Built on 2 November against 8cf5088; their SDK connector intentionally requires that revision |
| Existing-app components | Consumer wallet/signer/import helpers and POS association components to copy into your own project | Exact code from repository revision 7305c68; no bundled SDK implementation or credentials |
The original complete apps use 8cf5088; the component bundle keeps its 7305c68 build setup. Consumer App/POS runtime behaviour is unchanged between those baselines and 2dc4eca, which fixes the legacy Swift wrapper and adds the minimal apps. Keep each download's own revision, callback and README together. Obtain the supported production version separately.
The component projects retain repository-relative build paths. Build them from an authorised 7305c68 repository checkout using its examples/README.md, or copy the needed source into your app after adding the SDK dependency. They are service examples rather than standalone screens.