Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DiscoverReaders doesn't honor timeout when configured for simulated readers #240

Closed
jasells opened this issue Jun 23, 2023 · 1 comment · Fixed by #254
Closed

DiscoverReaders doesn't honor timeout when configured for simulated readers #240

jasells opened this issue Jun 23, 2023 · 1 comment · Fixed by #254
Assignees
Labels
bug Bug report

Comments

@jasells
Copy link

jasells commented Jun 23, 2023

Summary

DiscoverReaders does not timeout when using Simulated Readers (both bluetooth AND LocalMobile), as described here: #13

Code to reproduce

iOS version

16.2, 16.4 (iOS device sims and iPhone XR) We normally only use simulated readers on iOS Sim-devices, but I did verify the behavior is the same on real iPhone as well.

Installation method

Embedded in app-package (.ipa)

SDK version

v 2.20.0

Other information

We currently enforce a timeout in application code, which works well enough for us now, but I noticed this while updating our .Net wrapper that supports both Android and iOS. The Android Terminal SDK does honor this timeout regardless of simulated or real readers.

@TatsuUkraine
Copy link

https://stripe.dev/stripe-terminal-ios/docs/Classes/SCPDiscoveryConfiguration.html#/c:objc(cs)SCPDiscoveryConfiguration(py)timeout

It seems it's known limitation in iOS SDK

@bric-stripe bric-stripe self-assigned this Jul 31, 2023
@bric-stripe bric-stripe added the bug Bug report label Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug report
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants