Skip to content

Commit 2409742

Browse files
Merge pull request #87 from okta/dev
Release 2.0.1
2 parents 2ef5181 + ca3d932 commit 2409742

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

OktaAuthSdk.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'OktaAuthSdk'
3-
s.version = '2.0.0'
3+
s.version = '2.0.1'
44
s.summary = 'SDK for Okta native authentication.'
55
s.description = <<-DESC
66
Integrate your native app with Okta.

Source/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<key>CFBundlePackageType</key>
1818
<string>FMWK</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>2.0.0</string>
20+
<string>2.0.1</string>
2121
<key>CFBundleVersion</key>
2222
<string>$(CURRENT_PROJECT_VERSION)</string>
2323
</dict>

Source/RestAPI/Utils.swift

+5-1
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,12 @@ import Foundation
1616
import UIKit
1717
#endif
1818

19+
public func sdkVersion() -> String {
20+
return "2.0.1"
21+
}
22+
1923
internal func buildUserAgent() -> String {
20-
let version = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") ?? "?"
24+
let version = sdkVersion()
2125
let device = "Device/\(deviceModel())"
2226
#if os(iOS)
2327
let os = "iOS/\(UIDevice.current.systemVersion)"

Tests/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>BNDL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.0.0</string>
18+
<string>2.0.1</string>
1919
<key>CFBundleVersion</key>
2020
<string>1</string>
2121
</dict>

0 commit comments

Comments
 (0)