Skip to content

Commit

Permalink
remove the key for opened first time
Browse files Browse the repository at this point in the history
  • Loading branch information
mtuzer committed Jul 17, 2024
1 parent a980691 commit 9450832
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Rio.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'Rio'
s.version = '0.0.58'
s.version = '0.0.59'
s.summary = 'A short description of Rio.'

# This description is used to generate tags and improve search results.
Expand Down
2 changes: 2 additions & 0 deletions Rio/Classes/Rio.swift
Original file line number Diff line number Diff line change
Expand Up @@ -416,10 +416,12 @@ public class Rio {
self.projectId = config.projectId
globalRioRegion = config.region!

/*
if !UserDefaults.standard.bool(forKey: RioUserDefaultsKey.openedFirstTime.keyName) {
keychain.delete(RioKeychainKey.token.keyName)
UserDefaults.standard.set(true, forKey: RioUserDefaultsKey.openedFirstTime.keyName)
}
*/
}

public var culture : String {
Expand Down
2 changes: 1 addition & 1 deletion Rio/Classes/RioService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ extension RioService: TargetType, AccessTokenAuthorizable {
var headers: [String: String] = [:]
headers["Content-Type"] = "application/json"
headers["x-rio-sdk-client"] = "iOS"
headers["rio-sdk-version"] = "0.0.58"
headers["rio-sdk-version"] = "0.0.59"
headers["installationId"] = String.getInstallationId()

switch self {
Expand Down

0 comments on commit 9450832

Please sign in to comment.