File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -146,9 +146,7 @@ public struct ParseSwift {
146
146
Self . configuration = configuration
147
147
Self . sessionDelegate = ParseURLSessionDelegate ( callbackQueue: . main,
148
148
authentication: configuration. authentication)
149
- #if !os(Linux) && !os(Android)
150
149
deleteKeychainIfNeeded ( )
151
- #endif
152
150
153
151
do {
154
152
let previousSDKVersion = try ParseVersion ( ParseVersion . current)
@@ -324,6 +322,7 @@ public struct ParseSwift {
324
322
}
325
323
326
324
static internal func deleteKeychainIfNeeded( ) {
325
+ #if !os(Linux) && !os(Android)
327
326
// Clear items out of the Keychain on app first run.
328
327
if UserDefaults . standard. object ( forKey: ParseConstants . bundlePrefix) == nil {
329
328
if Self . configuration. deleteKeychainIfNeeded == true {
@@ -336,6 +335,7 @@ public struct ParseSwift {
336
335
forKey: ParseConstants . bundlePrefix)
337
336
UserDefaults . standard. synchronize ( )
338
337
}
338
+ #endif
339
339
}
340
340
341
341
/**
You can’t perform that action at this time.
0 commit comments