Skip to content

Commit

Permalink
IOS-4025 Merge branch 'IOS-4025_refactor_prefligh_filtering' of githu…
Browse files Browse the repository at this point in the history
…b.com:Tangem/tangem-sdk-ios into IOS-4025_refactor_prefligh_filtering
  • Loading branch information
tureck1y committed Nov 24, 2023
2 parents d58e90d + 3520c4d commit 3e318d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion TangemSdk/TangemSdk/Common/NFC/NFCReader.swift
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ extension NFCReader: CardReader {
Log.nfc("Restart polling interval is: \(interval)")

// 20 is too much because of time inaccuracy
if interval >= 19 {
if interval >= 18 {
Log.nfc("Ignore restart polling")
return
}
Expand Down
4 changes: 2 additions & 2 deletions TangemSdk/TangemSdk/TangemSdk.swift
Original file line number Diff line number Diff line change
Expand Up @@ -661,10 +661,10 @@ extension TangemSdk {
/// You can find the current card in the `environment` property of the `CardSession`
/// - Parameters:
/// - runnable: A custom task, adopting `CardSessionRunnable` protocol
/// - cardId: CID, Unique Tangem card ID number. If not nil, the SDK will check that you tapped the card with this cardID and will return the `wrongCard` error' otherwise
/// - cardId: CID, Unique Tangem card ID number. If not nil, the SDK will check that you tapped the card with this cardID and will return the `wrongCard` error otherwise
/// - initialMessage: A custom description that shows at the beginning of the NFC session. If nil, default message will be used.
/// - accessCode: Access code that will be used for a card session initialization. If nil, Tangem SDK will handle it automatically.
/// - completion: Standart completion handler. Invoked on the main thread. `(Swift.Result<CardSessionRunnable.Response, TangemSdkError>) -> Void`.
/// - completion: Standard completion handler. Invoked on the main thread. `(Swift.Result<CardSessionRunnable.Response, TangemSdkError>) -> Void`.
public func startSession<T>(with runnable: T,
cardId: String? = nil,
initialMessage: Message? = nil,
Expand Down

0 comments on commit 3e318d4

Please sign in to comment.