sample-terminal-ios-app icon indicating copy to clipboard operation
sample-terminal-ios-app copied to clipboard

Stripe Terminal Pod 1.0.2 should be updated to 1.4.0

Open allendav opened this issue 4 years ago • 1 comments

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 avatar Jan 15 '21 21:01 allendav

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)

allendav avatar Jan 15 '21 21:01 allendav