Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR introduces a new MobileTokenData.Builder system to provide a structured approach for composing additional data attached to operations during authorization or rejection. The builder supports both generic key-value pairs and structured records with time synchronization capabilities.
Key changes:
- Added MobileTokenData.Builder for type-safe composition of operation metadata
- Introduced PreApprovalScreensRecorder to track user flow through pre-approval screens with timestamped actions
- Created MobileTokenDataRecord interface for extensible structured data records
Reviewed Changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| PreApprovalScreenRecorder.kt | New recorder class for tracking pre-approval screen visits with timestamps and user actions |
| MobileTokenDataRecord.kt | Interface defining the contract for structured data records in the builder system |
| MobileTokenDataBuilder.kt | Main builder class with thread-safe operations and helper management for composing mobile token data |
| IntegrationTests.kt | Added comprehensive tests for the new builder system and pre-approval recorder functionality |
| Using-Operations-Service.md | Updated documentation with examples and usage patterns for the new builder system |
| Migration-2.4.md | Added migration notes describing the new MobileTokenData.Builder functionality |
...om/wultra/android/mtokensdk/api/operation/model/mobiletokendata/PreApprovalScreenRecorder.kt
Outdated
Show resolved
Hide resolved
...a/com/wultra/android/mtokensdk/api/operation/model/mobiletokendata/MobileTokenDataBuilder.kt
Show resolved
Hide resolved
...a/com/wultra/android/mtokensdk/api/operation/model/mobiletokendata/MobileTokenDataBuilder.kt
Outdated
Show resolved
Hide resolved
marek-ch
left a comment
There was a problem hiding this comment.
Ok for me, but I'd discuss the opened questions.
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 6 out of 7 changed files in this pull request and generated 2 comments.
Comments suppressed due to low confidence (3)
docs/Using-Operations-Service.md:1
# Using Operations Service
docs/Using-Operations-Service.md:1
# Using Operations Service
docs/Using-Operations-Service.md:1
# Using Operations Service
...a/com/wultra/android/mtokensdk/api/operation/model/mobiletokendata/MobileTokenDataBuilder.kt
Outdated
Show resolved
Hide resolved
kober32
left a comment
There was a problem hiding this comment.
Looks OK, just fix the docs please and consider the small changes I suggested...
#218