Skip to content

Commit

Permalink
Merge pull request #278 from ForgeRock/develop
Browse files Browse the repository at this point in the history
ForgeRock iOS SDK 4.4.1 Release
  • Loading branch information
spetrov authored Apr 25, 2024
2 parents ef1d1b5 + d3842ab commit e894681
Show file tree
Hide file tree
Showing 36 changed files with 281 additions and 111 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## [4.4.1]
#### Added
- Added privacy manifest files to the SDK's modules [SDKS-3086]

#### Fixed
- Removed `storage` field from the `HardwareCollector` [SDKS-3086]
- Updated Google SDK version to 7.1.0 [SDKS-3086]
- Updated PingOneSignals SDK version to 5.2.3 [SDKS-3086]

## [4.4.0]
#### Added
- Added a new module for integration with `PingOne Protect` [SDKS-2901]
Expand Down
7 changes: 5 additions & 2 deletions FRAuth.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'FRAuth'
s.version = '4.4.0'
s.version = '4.4.1'
s.summary = 'ForgeRock Auth SDK for iOS'
s.description = <<-DESC
FRAuth is a SDK that allows you easily and quickly develop an application with ForgeRock Platform or ForgeRock Identity Cloud. FRAuth SDK provides interfaces and functionalities of user authentication, registration, and identity and access management against ForgeRock solutions.
Expand All @@ -29,5 +29,8 @@ Pod::Spec.new do |s|

base_dir = "FRAuth/FRAuth"
s.source_files = base_dir + '/**/*.swift', base_dir + '/**/*.c', base_dir + '/**/*.h'
s.ios.dependency 'FRCore', '~> 4.4.0'
s.resource_bundles = {
'FRAuth' => [base_dir + '/*.xcprivacy']
}
s.ios.dependency 'FRCore', '~> 4.4.1'
end
10 changes: 7 additions & 3 deletions FRAuth/FRAuth.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
95E180B42992A6F20087457D /* AA-06-DeviceSigningVerifierCallbackTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95E180B32992A6F20087457D /* AA-06-DeviceSigningVerifierCallbackTest.swift */; };
95EB7E4D2B8D010B00B59CD6 /* AA_09_PingOneProtectInitializeCallbackTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95EB7E4C2B8D010B00B59CD6 /* AA_09_PingOneProtectInitializeCallbackTest.swift */; };
95EB7E532B8D5F6100B59CD6 /* AA_10_PingOneProtectEvaluateCallbackTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95EB7E522B8D5F6100B59CD6 /* AA_10_PingOneProtectEvaluateCallbackTest.swift */; };
A50DEC452BCDEEC10094CD73 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = A50DEC442BCDEEC10094CD73 /* PrivacyInfo.xcprivacy */; };
A53723D12AE80A5D0047B809 /* TelephonyCollectorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = A53723D02AE80A5D0047B809 /* TelephonyCollectorTests.swift */; };
A5950A2A27EA205B00EDEFE4 /* SSLPinningTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5950A2927EA205B00EDEFE4 /* SSLPinningTests.swift */; };
D512CD41240DC41E00AF520E /* FRRestClient.swift in Sources */ = {isa = PBXBuildFile; fileRef = D512CD40240DC41E00AF520E /* FRRestClient.swift */; };
Expand Down Expand Up @@ -358,6 +359,7 @@
95E180B32992A6F20087457D /* AA-06-DeviceSigningVerifierCallbackTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "AA-06-DeviceSigningVerifierCallbackTest.swift"; sourceTree = "<group>"; };
95EB7E4C2B8D010B00B59CD6 /* AA_09_PingOneProtectInitializeCallbackTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AA_09_PingOneProtectInitializeCallbackTest.swift; sourceTree = "<group>"; };
95EB7E522B8D5F6100B59CD6 /* AA_10_PingOneProtectEvaluateCallbackTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AA_10_PingOneProtectEvaluateCallbackTest.swift; sourceTree = "<group>"; };
A50DEC442BCDEEC10094CD73 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
A53723D02AE80A5D0047B809 /* TelephonyCollectorTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TelephonyCollectorTests.swift; sourceTree = "<group>"; };
A5950A2927EA205B00EDEFE4 /* SSLPinningTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SSLPinningTests.swift; sourceTree = "<group>"; };
D5015FEE24996AE50025FEB6 /* MetadataCallbackTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MetadataCallbackTests.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -974,6 +976,7 @@
D554632122A6EDF90096C7A4 /* FRAuth.swift */,
D55462FB22A6DF720096C7A4 /* FRAuth.h */,
D55462FC22A6DF720096C7A4 /* Info.plist */,
A50DEC442BCDEEC10094CD73 /* PrivacyInfo.xcprivacy */,
);
path = FRAuth;
sourceTree = "<group>";
Expand Down Expand Up @@ -1202,7 +1205,7 @@
959D7D97290B4B9200A1F22F /* AA-05-DeviceBindingCallbackTest.swift */,
95E180B32992A6F20087457D /* AA-06-DeviceSigningVerifierCallbackTest.swift */,
3A4B46E32AB95B3D009E7171 /* AA_07_AppIntegrityTest.swift */,
9536C56B2B865DD600B2DFDD /* AA_08_TextInputCallbackTest.swift */,
9536C56B2B865DD600B2DFDD /* AA_08_TextInputCallbackTest.swift */,
95EB7E4C2B8D010B00B59CD6 /* AA_09_PingOneProtectInitializeCallbackTest.swift */,
95EB7E522B8D5F6100B59CD6 /* AA_10_PingOneProtectEvaluateCallbackTest.swift */,
);
Expand Down Expand Up @@ -1672,6 +1675,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
A50DEC452BCDEEC10094CD73 /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -2142,7 +2146,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 4.4.0;
MARKETING_VERSION = 4.4.1;
MODULEMAP_FILE = "";
OTHER_CFLAGS = "-DXCODE_FRAMEWORK=1";
PRODUCT_BUNDLE_IDENTIFIER = com.forgerock.ios.FRAuth;
Expand Down Expand Up @@ -2179,7 +2183,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 4.4.0;
MARKETING_VERSION = 4.4.1;
MODULEMAP_FILE = "";
OTHER_CFLAGS = "-DXCODE_FRAMEWORK=1";
PRODUCT_BUNDLE_IDENTIFIER = com.forgerock.ios.FRAuth;
Expand Down
21 changes: 1 addition & 20 deletions FRAuth/FRAuth/Device/HardwareCollector.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// HardwareCollector.swift
// FRAuth
//
// Copyright (c) 2019-2021 ForgeRock. All rights reserved.
// Copyright (c) 2019-2024 ForgeRock. All rights reserved.
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
Expand Down Expand Up @@ -31,7 +31,6 @@ public class HardwareCollector: DeviceCollector {
// result["activeCPU"] = pi.activeProcessorCount
// result["multitaskSupport"] = UIDevice.current.isMultitaskingSupported
result["manufacturer"] = "Apple"
result["storage"] = Int(self.getDiskSpaceSize())
result["memory"] = Int(self.getMemorySize())
result["display"] = self.getScreenInfo()
result["camera"] = self.getCameraInfo()
Expand Down Expand Up @@ -66,24 +65,6 @@ public class HardwareCollector: DeviceCollector {
}


/// Calculates current device's total disk size in MB
///
/// - Returns: Current device's disk size in MB
func getDiskSpaceSize() -> Double {
do {
let fileAttributes = try FileManager.default.attributesOfFileSystem(forPath: NSHomeDirectory())
if var sysSize = fileAttributes[.systemSize] as? Double {
sysSize = (sysSize / 1024) / 1024
return sysSize
}
return 0.0
}
catch {
return 0.0
}
}


/// Calculates current device's total memory size in MB
///
/// - Returns: Current device's memory size in MB
Expand Down
23 changes: 23 additions & 0 deletions FRAuth/FRAuth/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>NSPrivacyAccessedAPITypes</key>
<array>
<dict>
<key>NSPrivacyAccessedAPIType</key>
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>CA92.1</string>
</array>
</dict>
</array>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyTracking</key>
<false/>
</dict>
</plist>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// FRDeviceCollectorTests.swift
// FRAuthTests
//
// Copyright (c) 2019 ForgeRock. All rights reserved.
// Copyright (c) 2019-2024 ForgeRock. All rights reserved.
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
Expand Down Expand Up @@ -81,7 +81,7 @@ class FRDeviceCollectorTests: FRAuthBaseTest {
XCTAssertNotNil((hardware["cpu"] as? Int))
// XCTAssertNotNil((hardware["activeCPU"] as? Int))
XCTAssertNotNil((hardware["memory"] as? Int))
XCTAssertNotNil((hardware["storage"] as? Int))
// XCTAssertNotNil((hardware["storage"] as? Int)) //has been removed as Apple doesn't allow the use of this API for fingerprinting
XCTAssertNotNil((hardware["manufacturer"] as? String))

// Then, validate display section from hardware
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// NetworkReachabilityMonitorTests.swift
// FRAuthTests
//
// Copyright (c) 2019-2022 ForgeRock. All rights reserved.
// Copyright (c) 2019-2024 ForgeRock. All rights reserved.
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
Expand Down Expand Up @@ -169,10 +169,14 @@ class NetworkReachabilityMonitorTests: FRAuthBaseTest {
waitForExpectations(timeout: 60, handler: nil)

// Then
if #available(iOS 13.0, *) {
addTeardownBlock { [weak monitor] in
XCTAssertNil(monitor, "`monitor` should have been deallocated. Potential memory leak!")
XCTAssertNil(monitor, "`monitor` should have been deallocated. Potential memory leak!")

}
} else {
// Fallback on earlier versions
}
}

}
Expand Down
7 changes: 5 additions & 2 deletions FRAuthenticator.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'FRAuthenticator'
s.version = '4.4.0'
s.version = '4.4.1'
s.summary = 'ForgeRock OTP/Push Authentication SDK for iOS'
s.description = <<-DESC
FRAuthenticator is a SDK that allows you easily and quickly develop an application with ForgeRock Platform for OATH and Push Authentication with AM. FRAuthenticator SDK provides interfaces and functionalities of HMAC-based OTP, Time-based OTP, Push Registration and Authentication with AM.
Expand All @@ -29,5 +29,8 @@ Pod::Spec.new do |s|

base_dir = "FRAuthenticator/FRAuthenticator"
s.source_files = base_dir + '/**/*.swift', base_dir + '/**/*.c', base_dir + '/**/*.h'
s.ios.dependency 'FRCore', '~> 4.4.0'
s.resource_bundles = {
'FRAuthenticator' => [base_dir + '/*.xcprivacy']
}
s.ios.dependency 'FRCore', '~> 4.4.1'
end
8 changes: 6 additions & 2 deletions FRAuthenticator/FRAuthenticator.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
1BB34B44299704A300729300 /* AccountError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1BB34B43299704A300729300 /* AccountError.swift */; };
1BB34B46299AD30100729300 /* InvalidFakePolicy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1BB34B45299AD30100729300 /* InvalidFakePolicy.swift */; };
1BB34B48299AE08300729300 /* URIType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1BB34B47299AE08300729300 /* URIType.swift */; };
A53E73B32BD87C9500DA48FE /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = A53E73B22BD87C9500DA48FE /* PrivacyInfo.xcprivacy */; };
A56A46EF2A4A5601000C1055 /* RequestInterceptorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = A56A46EE2A4A5601000C1055 /* RequestInterceptorTests.swift */; };
A5EAD7D228356B5F000637F0 /* BiometricAuthentication.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5EAD7D128356B5F000637F0 /* BiometricAuthentication.swift */; };
D5230BE02457868B004AB6E9 /* FRAConstants.swift in Sources */ = {isa = PBXBuildFile; fileRef = D5230BDF2457868B004AB6E9 /* FRAConstants.swift */; };
Expand Down Expand Up @@ -202,6 +203,7 @@
1BB34B43299704A300729300 /* AccountError.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AccountError.swift; sourceTree = "<group>"; };
1BB34B45299AD30100729300 /* InvalidFakePolicy.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InvalidFakePolicy.swift; sourceTree = "<group>"; };
1BB34B47299AE08300729300 /* URIType.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = URIType.swift; sourceTree = "<group>"; };
A53E73B22BD87C9500DA48FE /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
A56A46EE2A4A5601000C1055 /* RequestInterceptorTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RequestInterceptorTests.swift; sourceTree = "<group>"; };
A5EAD7D128356B5F000637F0 /* BiometricAuthentication.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BiometricAuthentication.swift; sourceTree = "<group>"; };
D5230BDF2457868B004AB6E9 /* FRAConstants.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FRAConstants.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -750,6 +752,7 @@
D5C354832412EBF800695A84 /* FRAuthenticator.h */,
D5C354842412EBF800695A84 /* Info.plist */,
D52D5C5B241324AE00835035 /* FRAClient.swift */,
A53E73B22BD87C9500DA48FE /* PrivacyInfo.xcprivacy */,
);
path = FRAuthenticator;
sourceTree = "<group>";
Expand Down Expand Up @@ -1029,6 +1032,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
A53E73B32BD87C9500DA48FE /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -1332,7 +1336,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 4.4.0;
MARKETING_VERSION = 4.4.1;
MODULEMAP_FILE = "${PROJECT_DIR}/FRAuthenticator/SharedC/FRAuthenticator.modulemap";
OTHER_CFLAGS = "-DXCODE_FRAMEWORK=1";
PRODUCT_BUNDLE_IDENTIFIER = com.forgerock.ios.FRAuthenticator;
Expand Down Expand Up @@ -1364,7 +1368,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 4.4.0;
MARKETING_VERSION = 4.4.1;
MODULEMAP_FILE = "${PROJECT_DIR}/FRAuthenticator/SharedC/FRAuthenticator.modulemap";
OTHER_CFLAGS = "-DXCODE_FRAMEWORK=1";
PRODUCT_BUNDLE_IDENTIFIER = com.forgerock.ios.FRAuthenticator;
Expand Down
8 changes: 8 additions & 0 deletions FRAuthenticator/FRAuthenticator/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?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/>
</dict>
</plist>
5 changes: 4 additions & 1 deletion FRCore.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'FRCore'
s.version = '4.4.0'
s.version = '4.4.1'
s.summary = 'ForgeRock Core SDK for iOS'
s.description = <<-DESC
FRCore is a SDK that allows you to consume some of core functionalities and security features built for FRAuth SDK.
Expand All @@ -29,4 +29,7 @@ Pod::Spec.new do |s|

base_dir = "FRCore/FRCore"
s.source_files = base_dir + '/**/*.swift', base_dir + '/**/*.c', base_dir + '/**/*.h'
s.resource_bundles = {
'FRCore' => [base_dir + '/*.xcprivacy']
}
end
8 changes: 6 additions & 2 deletions FRCore/FRCore.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
1BA471542993472500E657DA /* FRJailbreakDetector.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1BCF4C98299343CB0068D6E8 /* FRJailbreakDetector.swift */; };
1BA471552993472500E657DA /* SandboxDetector.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1BCF4C91299343CB0068D6E8 /* SandboxDetector.swift */; };
1BA471572993472500E657DA /* SymbolicLinkDetector.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1BCF4C92299343CB0068D6E8 /* SymbolicLinkDetector.swift */; };
A50DEC5F2BCEC76F0094CD73 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = A50DEC5E2BCEC76F0094CD73 /* PrivacyInfo.xcprivacy */; };
A52873D72AF1EEA3002424C0 /* URLSchemeDetector.swift in Sources */ = {isa = PBXBuildFile; fileRef = A52873D62AF1EEA3002424C0 /* URLSchemeDetector.swift */; };
A52873D92AF99A05002424C0 /* SuspiciousFilesExistenceDetector.swift in Sources */ = {isa = PBXBuildFile; fileRef = A52873D82AF99A05002424C0 /* SuspiciousFilesExistenceDetector.swift */; };
A52873DB2AFA8C2E002424C0 /* SuspiciousFilesAccessibleDetector.swift in Sources */ = {isa = PBXBuildFile; fileRef = A52873DA2AFA8C2E002424C0 /* SuspiciousFilesAccessibleDetector.swift */; };
Expand Down Expand Up @@ -148,6 +149,7 @@
1BCF4C97299343CB0068D6E8 /* JailbreakDetector.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = JailbreakDetector.swift; sourceTree = "<group>"; };
1BCF4C98299343CB0068D6E8 /* FRJailbreakDetector.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FRJailbreakDetector.swift; sourceTree = "<group>"; };
1BCF4C99299343CB0068D6E8 /* RestrictedDirectoriesWritableDetector.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RestrictedDirectoriesWritableDetector.swift; sourceTree = "<group>"; };
A50DEC5E2BCEC76F0094CD73 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
A52873D62AF1EEA3002424C0 /* URLSchemeDetector.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = URLSchemeDetector.swift; sourceTree = "<group>"; };
A52873D82AF99A05002424C0 /* SuspiciousFilesExistenceDetector.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SuspiciousFilesExistenceDetector.swift; sourceTree = "<group>"; };
A52873DA2AFA8C2E002424C0 /* SuspiciousFilesAccessibleDetector.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SuspiciousFilesAccessibleDetector.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -492,6 +494,7 @@
1BCF4C9B299343CB0068D6E8 /* Security */,
D5E75BCD2409B8C0005F589F /* FRCore.h */,
D5E75BCE2409B8C0005F589F /* Info.plist */,
A50DEC5E2BCEC76F0094CD73 /* PrivacyInfo.xcprivacy */,
);
path = FRCore;
sourceTree = "<group>";
Expand Down Expand Up @@ -668,6 +671,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
A50DEC5F2BCEC76F0094CD73 /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -951,7 +955,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 4.4.0;
MARKETING_VERSION = 4.4.1;
MODULEMAP_FILE = "${PROJECT_DIR}/FRCore/SharedC/FRCore.modulemap";
OTHER_CFLAGS = "-DXCODE_FRAMEWORK=1";
PRODUCT_BUNDLE_IDENTIFIER = com.forgerock.ios.FRCore;
Expand Down Expand Up @@ -985,7 +989,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MARKETING_VERSION = 4.4.0;
MARKETING_VERSION = 4.4.1;
MODULEMAP_FILE = "${PROJECT_DIR}/FRCore/SharedC/FRCore.modulemap";
OTHER_CFLAGS = "-DXCODE_FRAMEWORK=1";
PRODUCT_BUNDLE_IDENTIFIER = com.forgerock.ios.FRCore;
Expand Down
2 changes: 1 addition & 1 deletion FRCore/FRCore/Log/Log.swift
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public class Log: NSObject {
// MARK: - Property

/// Current SDK version. We hard code it here as currently there is no other way to get it dinamically when used with SPM
public static let sdkVersion = "4.4.0"
public static let sdkVersion = "4.4.1"
/// Current LogLevel
static var logLevel: LogLevel = .none
/// Current Loggers to handle log entries
Expand Down
8 changes: 8 additions & 0 deletions FRCore/FRCore/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?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/>
</dict>
</plist>
7 changes: 5 additions & 2 deletions FRDeviceBinding.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'FRDeviceBinding'
s.version = '4.4.0'
s.version = '4.4.1'
s.summary = 'ForgeRock Device Binding SDK for iOS'
s.description = <<-DESC
FRDeviceBinding is a SDK that adds support for the Device Binding feature. FRDeviceBinding depends on JOSESwift.
Expand All @@ -29,6 +29,9 @@ Pod::Spec.new do |s|

base_dir = "FRDeviceBinding/FRDeviceBinding"
s.source_files = base_dir + '/**/*.swift', base_dir + '/**/*.c', base_dir + '/**/*.h'
s.ios.dependency 'FRAuth', '~> 4.4.0'
s.resource_bundles = {
'FRDeviceBinding' => [base_dir + '/*.xcprivacy']
}
s.ios.dependency 'FRAuth', '~> 4.4.1'
s.ios.dependency 'JOSESwift', '~> 2.4.0'
end
Loading

0 comments on commit e894681

Please sign in to comment.