Skip to content

Commit

Permalink
add privacy manifest for nSS
Browse files Browse the repository at this point in the history
  • Loading branch information
sagishm committed Mar 31, 2024
1 parent 6e99479 commit 6762700
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 7 deletions.
9 changes: 6 additions & 3 deletions GigyaNss.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'GigyaNss'
spec.version = '1.9.4'
spec.version = '1.9.5'
spec.license = 'Apache 2.0'
spec.homepage = 'https://developers.gigya.com/display/GD/Native+Screen-Sets'
spec.author = 'Gigya SAP'
Expand All @@ -9,7 +9,7 @@ Pod::Spec.new do |spec|
authentication methods from the standard login flow
DESC

spec.source = { :git => 'https://github.com/SAP/gigya-swift-sdk.git', :tag => 'nss/v1.9.4' }
spec.source = { :git => 'https://github.com/SAP/gigya-swift-sdk.git', :tag => 'nss/v1.9.5' }
spec.module_name = 'GigyaNss'
spec.swift_version = '5.2'

Expand All @@ -22,10 +22,13 @@ Pod::Spec.new do |spec|
ss.source_files = 'GigyaNss/GigyaNss/*.swift', 'GigyaNss/GigyaNss/*/*.swift', 'GigyaNss/GigyaNss/*/*/*.swift'
ss.exclude_files = 'GigyaNss/GigyaNss/services/Otp/OtpService.swift'

ss.dependency 'Gigya', '>= 1.5.9'
ss.dependency 'Gigya', '>= 1.6.0'
ss.framework = 'SystemConfiguration'
ss.library = 'c++', 'z'
ss.vendored_frameworks = 'GigyaNss/Flutter/Debug/Flutter.xcframework', 'GigyaNss/Flutter/Debug/App.xcframework'
ss.resource_bundle = {
"GigyaNss_Privacy" => "GigyaNss/PrivacyInfo.xcprivacy"
}
end

spec.subspec 'Auth' do |ss|
Expand Down
23 changes: 23 additions & 0 deletions GigyaNss/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
</dict>
</array>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyTrackingDomains</key>
<array/>
</dict>
</plist>
10 changes: 6 additions & 4 deletions GigyaNssRelease.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'GigyaNssRelease'
spec.version = '1.9.4'
spec.version = '1.9.5'
spec.license = 'Apache 2.0'
spec.homepage = 'https://developers.gigya.com/display/GD/Native+Screen-Sets'
spec.author = 'Gigya SAP'
Expand All @@ -9,7 +9,7 @@ Pod::Spec.new do |spec|
authentication methods from the standard login flow
DESC

spec.source = { :git => 'https://github.com/SAP/gigya-swift-sdk.git', :tag => 'nss/v1.9.4' }
spec.source = { :git => 'https://github.com/SAP/gigya-swift-sdk.git', :tag => 'nss/v1.9.5' }
spec.module_name = 'GigyaNss'
spec.swift_version = '5.2'

Expand All @@ -22,12 +22,14 @@ Pod::Spec.new do |spec|
ss.source_files = 'GigyaNss/GigyaNss/*.swift', 'GigyaNss/GigyaNss/*/*.swift', 'GigyaNss/GigyaNss/*/*/*.swift'
ss.exclude_files = 'GigyaNss/GigyaNss/services/Otp/OtpService.swift'

ss.dependency 'Gigya', '>= 1.5.9'
ss.dependency 'Gigya', '>= 1.6.0'
ss.framework = 'SystemConfiguration'
ss.library = 'c++', 'z'

ss.vendored_frameworks = 'GigyaNss/Flutter/Release/Flutter.xcframework', 'GigyaNss/Flutter/Release/App.xcframework'

ss.resource_bundle = {
"GigyaNss_Privacy" => "GigyaNss/PrivacyInfo.xcprivacy"
}
end

spec.subspec 'Auth' do |ss|
Expand Down

0 comments on commit 6762700

Please sign in to comment.