Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Update to autofill DAU reporting for iOS credential provider extension #3763

Merged
merged 13 commits into from
Feb 1, 2025
Merged
2 changes: 1 addition & 1 deletion DuckDuckGo-macOS.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -15570,7 +15570,7 @@
repositoryURL = "https://github.com/duckduckgo/BrowserServicesKit";
requirement = {
kind = exactVersion;
version = 233.0.0;
version = 233.1.0;
};
};
9FF521422BAA8FF300B9819B /* XCRemoteSwiftPackageReference "lottie-spm" */ = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/duckduckgo/BrowserServicesKit",
"state" : {
"revision" : "c5bf6b03bb683c5b08fa34e74a96fa3548d2a287",
"version" : "233.0.0"
"revision" : "b874310b6db6687ef6be5f978edf2f5d03b7fc69",
"version" : "233.1.0"
}
},
{
Expand Down
3 changes: 2 additions & 1 deletion DuckDuckGo/Application/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,8 @@ final class AppDelegate: NSObject, NSApplicationDelegate {

private func setUpAutofillPixelReporter() {
autofillPixelReporter = AutofillPixelReporter(
userDefaults: .standard,
standardUserDefaults: .standard,
appGroupUserDefaults: nil,
autofillEnabled: AutofillPreferences().askToSaveUsernamesAndPasswords,
eventMapping: EventMapping<AutofillPixelEvent> {event, _, params, _ in
switch event {
Expand Down
3 changes: 2 additions & 1 deletion DuckDuckGo/Menus/MainMenuActions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,8 @@ extension MainViewController {
}
UserDefaults.standard.set(false, forKey: UserDefaultsWrapper<Bool>.Key.homePageContinueSetUpImport.rawValue)

let autofillPixelReporter = AutofillPixelReporter(userDefaults: .standard,
let autofillPixelReporter = AutofillPixelReporter(standardUserDefaults: .standard,
appGroupUserDefaults: nil,
autofillEnabled: AutofillPreferences().askToSaveUsernamesAndPasswords,
eventMapping: EventMapping<AutofillPixelEvent> { _, _, _, _ in },
installDate: nil)
Expand Down
2 changes: 1 addition & 1 deletion LocalPackages/DataBrokerProtection/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ let package = Package(
targets: ["DataBrokerProtection"])
],
dependencies: [
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "233.0.0"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "233.1.0"),
.package(path: "../SwiftUIExtensions"),
.package(path: "../AppKitExtensions"),
.package(path: "../XPCHelper"),
Expand Down
2 changes: 1 addition & 1 deletion LocalPackages/FeatureFlags/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ let package = Package(
targets: ["FeatureFlags"]),
],
dependencies: [
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "233.0.0"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "233.1.0"),
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
Expand Down
2 changes: 1 addition & 1 deletion LocalPackages/HistoryView/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ let package = Package(
targets: ["HistoryView"]),
],
dependencies: [
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "233.0.0"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "233.1.0"),
.package(path: "../WebKitExtensions"),
.package(path: "../UserScriptActionsManager"),
.package(path: "../Utilities"),
Expand Down
2 changes: 1 addition & 1 deletion LocalPackages/NetworkProtectionMac/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ let package = Package(
.library(name: "VPNAppLauncher", targets: ["VPNAppLauncher"]),
],
dependencies: [
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "233.0.0"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "233.1.0"),
.package(url: "https://github.com/airbnb/lottie-spm", exact: "4.4.3"),
.package(path: "../AppLauncher"),
.package(path: "../UDSHelper"),
Expand Down
2 changes: 1 addition & 1 deletion LocalPackages/NewTabPage/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ let package = Package(
targets: ["NewTabPage"]),
],
dependencies: [
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "233.0.0"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "233.1.0"),
.package(path: "../WebKitExtensions"),
.package(path: "../UserScriptActionsManager"),
.package(path: "../Utilities"),
Expand Down
2 changes: 1 addition & 1 deletion LocalPackages/SubscriptionUI/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ let package = Package(
targets: ["SubscriptionUI"]),
],
dependencies: [
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "233.0.0"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "233.1.0"),
.package(path: "../PreferencesUI-macOS"),
.package(path: "../SwiftUIExtensions"),
.package(path: "../FeatureFlags")
Expand Down
2 changes: 1 addition & 1 deletion LocalPackages/UserScriptActionsManager/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ let package = Package(
targets: ["UserScriptActionsManager"]),
],
dependencies: [
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "233.0.0"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "233.1.0"),
],
targets: [
.target(
Expand Down
2 changes: 1 addition & 1 deletion LocalPackages/WebKitExtensions/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ let package = Package(
),
],
dependencies: [
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "233.0.0"),
.package(url: "https://github.com/duckduckgo/BrowserServicesKit", exact: "233.1.0"),
.package(path: "../AppKitExtensions")
],
targets: [
Expand Down
Loading