@@ -121,7 +121,7 @@ extension ParseInstallation {
121
121
get {
122
122
guard let installationInMemory: CurrentInstallationContainer < Self > =
123
123
try ? ParseStorage . shared. get ( valueFor: ParseStorage . Keys. currentInstallation) else {
124
- #if !os(Linux)
124
+ #if !os(Linux) && !os(Android)
125
125
guard let installationFromKeyChain: CurrentInstallationContainer < Self > =
126
126
try ? KeychainStore . shared. get ( valueFor: ParseStorage . Keys. currentInstallation)
127
127
else {
@@ -169,14 +169,14 @@ extension ParseInstallation {
169
169
= try ? ParseStorage . shared. get ( valueFor: ParseStorage . Keys. currentInstallation) else {
170
170
return
171
171
}
172
- #if !os(Linux)
172
+ #if !os(Linux) && !os(Android)
173
173
try ? KeychainStore . shared. set ( currentInstallationInMemory, for: ParseStorage . Keys. currentInstallation)
174
174
#endif
175
175
}
176
176
177
177
internal static func deleteCurrentContainerFromKeychain( ) {
178
178
try ? ParseStorage . shared. delete ( valueFor: ParseStorage . Keys. currentInstallation)
179
- #if !os(Linux)
179
+ #if !os(Linux) && !os(Android)
180
180
try ? KeychainStore . shared. delete ( valueFor: ParseStorage . Keys. currentInstallation)
181
181
#endif
182
182
}
@@ -215,7 +215,6 @@ extension ParseInstallation {
215
215
}
216
216
217
217
mutating func updateDeviceTypeFromDevice( ) {
218
-
219
218
if deviceType != ParseConstants . deviceType {
220
219
deviceType = ParseConstants . deviceType
221
220
}
@@ -255,7 +254,7 @@ extension ParseInstallation {
255
254
guard let appInfo = Bundle . main. infoDictionary else {
256
255
return
257
256
}
258
- #if !os(Linux)
257
+ #if !os(Linux) && !os(Android)
259
258
#if TARGET_OS_MACCATALYST
260
259
// If using an Xcode new enough to know about Mac Catalyst:
261
260
// Mac Catalyst Apps use a prefix to the bundle ID. This should not be transmitted
0 commit comments