-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into COIOS-802_identify_native_redirect_flow
- Loading branch information
Showing
7,117 changed files
with
8,496 additions
and
7,811 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
Adyen/Analytics/AnalyticsProvider/AnalyticsProviderProtocol.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// | ||
// Copyright (c) 2024 Adyen N.V. | ||
// | ||
// This file is open source and available under the MIT license. See the LICENSE file for more info. | ||
// | ||
|
||
import Foundation | ||
|
||
@_spi(AdyenInternal) | ||
public protocol AnyInitialAnalyticsProvider { | ||
|
||
/// Sends the initial data and retrieves the checkout attempt id as a response. | ||
func sendInitialAnalytics(with flavor: AnalyticsFlavor, additionalFields: AdditionalAnalyticsFields?) | ||
} | ||
|
||
@_spi(AdyenInternal) | ||
public protocol AnyEventAnalyticsProvider { | ||
|
||
var checkoutAttemptId: String? { get set } | ||
|
||
/// Adds an info event to be sent. | ||
func add(info: AnalyticsEventInfo) | ||
|
||
/// Adds a log event to be sent. | ||
func add(log: AnalyticsEventLog) | ||
|
||
/// Adds an error event to be sent. | ||
func add(error: AnalyticsEventError) | ||
} | ||
|
||
@_spi(AdyenInternal) | ||
public protocol AnyAnalyticsProvider: AnyInitialAnalyticsProvider, AnyEventAnalyticsProvider {} |
Oops, something went wrong.