Skip to content

Commit

Permalink
Added ATT.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanvorobei committed Apr 30, 2021
1 parent 0b0c61a commit 7d45dec
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion SPPermissions.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "SPPermissions"
s.version = "5.5.1"
s.version = "5.5.2"
s.summary = "Ask permissions on Swift. Available List, Dialog & Native interface. Can check state permission."
s.homepage = "https://github.com/ivanvorobei/SPPermissions"
s.source = { :git => "https://github.com/ivanvorobei/SPPermissions.git", :tag => s.version }
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import AppTrackingTransparency
import UIKit

struct SPTrackingPermission: SPPermissionProtocol {

var isAuthorized: Bool {
if #available(iOS 14, tvOS 14, *) {
return ATTrackingManager.trackingAuthorizationStatus == .authorized
Expand Down

0 comments on commit 7d45dec

Please sign in to comment.