DataDog / dd-sdk-ios

Datadog SDK for iOS - Swift and Objective-C.
Apache License 2.0
219 stars 127 forks source link

RUM-5390 Add Image Privacy Level Configuration #2012

Closed maciejburda closed 2 months ago

maciejburda commented 2 months ago

What and why?

Adds image recording configuration based on this RFC (internal), allowing to record all, contextual or no images.

How?

It's propagated in similar way to Privacy, through context. Additionally we needed a way to enforce image recording, currently used by UIActivityRecorder.

Review checklist

datadog-datadog-prod-us1[bot] commented 2 months ago

Datadog Report

Branch report: maciey/RUM-5390/sr-image-recording-config Commit report: d58d5b7 Test service: dd-sdk-ios

:white_check_mark: 0 Failed, 1876 Passed, 0 Skipped, 1m 16.22s Total Time :small_red_triangle_down: Test Sessions change in coverage: 2 decreased, 3 increased, 3 no change

:small_red_triangle_down: Code Coverage Decreases vs Default Branch (2)