stripe / stripe-terminal-ios

Stripe Terminal iOS SDK
https://stripe.com/docs/terminal/sdk/ios
Other
105 stars 65 forks source link

Reader discovery always returns Reader with simulated field equals to "false" #239

Open TatsuUkraine opened 1 year ago

TatsuUkraine commented 1 year ago

Summary

Local Mobile Reader object always has simulated == false even if the discovery config has simulated == true.

Code to reproduce

Just try to discover local mobile reader with simulated equals to true

DiscoveryConfiguration(
    discoveryMethod: DiscoveryMethod.localMobile,
    locationId: /// some location ID,
    simulated: true
)
Terminal.shared.discoverReaders(
    discoveryConfig,
    delegate: self
)

iOS version

16.4

Installation method

Steps from docs

SDK version

2.21.0

Other information

bric-stripe commented 1 year ago

thanks for the report. We'll look to get this fixed up in a future release.