Skip to content

fix: move stepTimeoutDuration to work as expected #94

Open
SLopez96 wants to merge 1 commit into
microblink:masterfrom
SLopez96:fix-stepTimeoutDuration
Open

fix: move stepTimeoutDuration to work as expected #94
SLopez96 wants to merge 1 commit into
microblink:masterfrom
SLopez96:fix-stepTimeoutDuration

Conversation

@SLopez96
Copy link
Copy Markdown

Problem

During implementation of the Flutter BlinkID package, I noticed that the stepTimeoutDuration parameter had no effect on the actual timeout behavior. After debugging the Kotlin source files, I discovered that the timeout value was being incorrectly passed to BlinkIdSessionSettings instead of BlinkIdScanningUxSettings where it's actually used.

Solution

Moved stepTimeoutDuration from BlinkIdSessionSettings to BlinkIdScanningUxSettings in the Dart layer
Updated the automatically generated file

Testing

✅ Android: Verified working in my Flutter application
⚠️ iOS: Untested (no access to iOS development environment)

This change ensures the timeout parameter works as expected across platforms. Would appreciate if someone could verify the iOS implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants