Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Stripe Terminal Pod 1.0.2 should be updated to 1.4.0 #3

Open
allendav opened this issue Jan 15, 2021 · 1 comment
Open

Stripe Terminal Pod 1.0.2 should be updated to 1.4.0 #3

allendav opened this issue Jan 15, 2021 · 1 comment

Comments

@allendav
Copy link

This will 1) avoid a "General Bluetooth Error" that occurs with 1.0.2 if you change the DiscoveryConfiguration (in RRTerminalDelegate.swift) from .bluetoothProximity to .bluetoothScan and 2) allow you to then choose from multiple readers in the sample app

@allendav
Copy link
Author

To avoid the deprecation warning that results from updating to 1.4.0, you should also update DiscoveryConfiguration initialization from

    static let config = DiscoveryConfiguration(deviceType: .chipper2X,
                                               discoveryMethod: .bluetoothProximity,
                                               simulated: false)

to

    static let config = DiscoveryConfiguration(discoveryMethod: .bluetoothProximity, /// or .bluetoothScan
                                               simulated: false)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant