@@ -121,7 +121,7 @@ extension ParseInstallation {
121121 get {
122122 guard let installationInMemory: CurrentInstallationContainer < Self > =
123123 try ? ParseStorage . shared. get ( valueFor: ParseStorage . Keys. currentInstallation) else {
124- #if !os(Linux)
124+ #if !os(Linux) && !os(Android)
125125 guard let installationFromKeyChain: CurrentInstallationContainer < Self > =
126126 try ? KeychainStore . shared. get ( valueFor: ParseStorage . Keys. currentInstallation)
127127 else {
@@ -169,14 +169,14 @@ extension ParseInstallation {
169169 = try ? ParseStorage . shared. get ( valueFor: ParseStorage . Keys. currentInstallation) else {
170170 return
171171 }
172- #if !os(Linux)
172+ #if !os(Linux) && !os(Android)
173173 try ? KeychainStore . shared. set ( currentInstallationInMemory, for: ParseStorage . Keys. currentInstallation)
174174 #endif
175175 }
176176
177177 internal static func deleteCurrentContainerFromKeychain( ) {
178178 try ? ParseStorage . shared. delete ( valueFor: ParseStorage . Keys. currentInstallation)
179- #if !os(Linux)
179+ #if !os(Linux) && !os(Android)
180180 try ? KeychainStore . shared. delete ( valueFor: ParseStorage . Keys. currentInstallation)
181181 #endif
182182 }
@@ -215,7 +215,6 @@ extension ParseInstallation {
215215 }
216216
217217 mutating func updateDeviceTypeFromDevice( ) {
218-
219218 if deviceType != ParseConstants . deviceType {
220219 deviceType = ParseConstants . deviceType
221220 }
@@ -255,7 +254,7 @@ extension ParseInstallation {
255254 guard let appInfo = Bundle . main. infoDictionary else {
256255 return
257256 }
258- #if !os(Linux)
257+ #if !os(Linux) && !os(Android)
259258 #if TARGET_OS_MACCATALYST
260259 // If using an Xcode new enough to know about Mac Catalyst:
261260 // Mac Catalyst Apps use a prefix to the bundle ID. This should not be transmitted
0 commit comments