Skip to content

Commit

Permalink
Merge pull request #87 from okta/dev
Browse files Browse the repository at this point in the history
Release 2.0.1
  • Loading branch information
IldarAbdullin-okta authored Jul 17, 2019
2 parents 2ef5181 + ca3d932 commit 2409742
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion OktaAuthSdk.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'OktaAuthSdk'
s.version = '2.0.0'
s.version = '2.0.1'
s.summary = 'SDK for Okta native authentication.'
s.description = <<-DESC
Integrate your native app with Okta.
Expand Down
2 changes: 1 addition & 1 deletion Source/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.0.0</string>
<string>2.0.1</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
</dict>
Expand Down
6 changes: 5 additions & 1 deletion Source/RestAPI/Utils.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,12 @@ import Foundation
import UIKit
#endif

public func sdkVersion() -> String {
return "2.0.1"
}

internal func buildUserAgent() -> String {
let version = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") ?? "?"
let version = sdkVersion()
let device = "Device/\(deviceModel())"
#if os(iOS)
let os = "iOS/\(UIDevice.current.systemVersion)"
Expand Down
2 changes: 1 addition & 1 deletion Tests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>2.0.0</string>
<string>2.0.1</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
Expand Down

0 comments on commit 2409742

Please sign in to comment.