We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bb63dd8 + 553edb9 commit fd6aa16Copy full SHA for fd6aa16
UserReport/UserReport/Models/UserReportUser.swift
@@ -41,6 +41,10 @@ public class UserReportUser: NSObject {
41
@objc private func getAdvertisingId() -> String {
42
var advertisingId: String = ""
43
44
+ if Bundle.main.object(forInfoDictionaryKey: "NSUserTrackingUsageDescription") == nil {
45
+ return advertisingId
46
+ }
47
+
48
if UserReport.shared?.anonymousTracking == true {
49
return advertisingId
50
}
0 commit comments