Repository navigation
FENCE-3194: Wire response encryption into example - #605
Merged
alanjcharles14 merged 2 commits intoNov 18, 2026
Merged
Conversation
alanjcharles14
requested review from
Jordan-Nelson,
ShiCheng-Lu,
jaspk06,
nickdonnelly and
stevepopovich
and
a balanced review from Copilot
November 17, 2026 21:25
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the Android example response-handling and relay-copying changes.
No open issues 🎉
What changed in this PR
Updates the Android Example app to present JWS, JWE, and ID verification responses consistently and support backend relay copying. SDK production code remains unchanged.
Changes:
- Centralizes response metadata, relay JSON, and format-aware beacon availability reporting.
- Adds token-cache clearing and consistent logging for continuous token updates.
- Adds a long-press menu to copy available
tokenand_idfields.
| File | Description |
|---|---|
example/src/main/java/io/radar/example/tests/panels/VerifiedPanel.kt |
Uses shared response logging and adds token-cache clearing. |
example/src/main/java/io/radar/example/store/VerifiedResponse.kt |
Formats response details, beacon availability, and backend relay JSON. |
example/src/main/java/io/radar/example/store/LogStore.kt |
Centralizes verified-response logging and attaches relay payloads. |
example/src/main/java/io/radar/example/store/ConsoleEntry.kt |
Adds optional relay JSON to console entries. |
example/src/main/java/io/radar/example/MainActivity.kt |
Routes continuous token updates through shared response logging. |
example/src/main/java/io/radar/example/console/ConsoleEntryRow.kt |
Adds a long-press menu for copying backend relay JSON. |
Review effort: Balanced
stevepopovich
approved these changes
Nov 18, 2026
Base automatically changed from
alancharles/fence-3194-android-add-jwe-encryption-for-fraud
to
master
November 18, 2026 19:47
alanjcharles14
force-pushed
the
alancharles/fence-3194-response-format-example
branch
from
November 18, 2026 19:47
c885805 to
894ca80
Compare
alanjcharles14
deleted the
alancharles/fence-3194-response-format-example
branch
November 18, 2026 19:48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates the Example app to display
JWS,JWE, andIDresponses consistently and provide copyable backend relay JSON containing only availabletokenand_idfields.Adds token-cache clearing, continuous-token logging, and correct beacon availability reporting for reduced responses. SDK production code is unchanged.
Linear ticket (Radar internal)
FENCE-3194
Related issue
Stacked on the Android SDK response-format PR.
iOS Example PR #801
Type of change
Manual test steps
Server QA pending:
Local validation: Example debug build and lint passed, with no new lint warnings. SDK ktlint and Android lint passed. Device/UI QA remains pending.
Checklist
./gradlew :sdk:ktlintCheckand./gradlew :sdk:lintDebugpass locally