mavenCentral() is among your
repositories, in settings.gradle.kts for a standard Android project:
build.gradle.kts:
gradle/libs.versions.toml:
minSdk 24 or higher. It brings its own UI, so the host app
does not need Jetpack Compose, and the INTERNET and location permissions it
declares merge into your manifest automatically.
Usage
show() launches the widget in its own activity: the identity screen (replaced by
a confirm screen when prefilledIdentifier is set), saved postcodes, and the
map-based discover flow. It invokes the callback with the
PostcodeSelection, or null if the
user backed out. selection.toJson() produces exactly the wire shape every
other SDK delivers.
Configuration
The SDK requires
minSdk 24 and brings its own UI
inside its own activity, so any Android app works. Hosts declare no extra
permissions: INTERNET and location arrive via manifest merge, and the widget
requests location permission itself for the “Get Postcode on Map” discover flow.
