Usage
show() launches the widget in its own activity — identity screen (replaced by
a confirm screen when prefilledIdentifier is set), bookmarks, search, and the
map-based discover flow — and 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 but no Compose host — it brings its own Compose 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 your Postcode” discover flow.
