Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SKAD4 crash fix #3361

Merged
merged 1 commit into from
Sep 13, 2024
Merged

SKAD4 crash fix #3361

merged 1 commit into from
Sep 13, 2024

Conversation

federicocappelli
Copy link
Member

Task/Issue URL: https://app.asana.com/0/414709148257752/1208303110742725/f
CC: @samsymons @graeme

Description:

Fix for a logging string interpolation in SKAD4 attribution.
I think this could be an internal AdAttributionKit error because every thrown error should be not nil and responding to localisedDescription, but here looks like something is going wrong when we try to log Logger.general.error("Attribution: SKAN 4 postback failed \(error.localizedDescription, privacy: .public)") and accessing error.localizedDescription
This attempt tries not to assume anything about the error and just logs a string representation.


Internal references:

Software Engineering Expectations
Technical Design Template

@federicocappelli federicocappelli merged commit 7be8bf6 into main Sep 13, 2024
16 checks passed
@federicocappelli federicocappelli deleted the fcappelli/skad4_attribution_crash branch September 13, 2024 15:11
samsymons added a commit that referenced this pull request Sep 13, 2024
# By Alessandro Boron (7) and others
# Via Bartek Waresiak (1) and others
* main: (31 commits)
  Add Marketplace Postback handling (#3357)
  SKAD4 crash fix (#3361)
  Enroll all internal users in experiment && Update BSK (#3359)
  update for macOS: visited links (#3353)
  Ensure toast closures are called on the main thread (#3347)
  Update survey builder OS version (#3348)
  BSK - Add feature flag for SKAN API (#3356)
  Remove checking for negative attribution case  (#3355)
  C.S.S Bump (Via BSK) (#3346)
  Update Onboarding gradients (#3350)
  Alessandro/onboarding copy and private search options (#3349)
  Onboarding Intro - Add choose address bar position (#3340)
  Fix PrivacyDashboard appearance on entering foreground (#3345)
  Improve Data Store ID managing (#3335)
  Alessandro/onboarding choose app icon (#3330)
  Fix Localizable strings (#3341)
  Move lazy var access to the MainActor (#3333)
  Release 7.137.0-2 (#3344)
  Fix privacy icon glitch (#3343)
  BSK bump for macOS password import promotion flow (#3332)
  ...

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
samsymons added a commit that referenced this pull request Sep 16, 2024
* main:
  Remove VPN feature flag checks (#3334)
  Add Marketplace Postback handling (#3357)
  SKAD4 crash fix (#3361)
  Enroll all internal users in experiment && Update BSK (#3359)
  update for macOS: visited links (#3353)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants