Embed ALTServerID in Info.plist if app uses AltKit

This commit is contained in:
Riley Testut
2021-10-04 16:06:32 -07:00
parent c89c244225
commit d5563aafba

View File

@@ -194,6 +194,7 @@ private extension ResignAppOperation
{ {
// There is an ALTDeviceID entry, so assume the app is using AltKit and replace it with the device's UDID. // There is an ALTDeviceID entry, so assume the app is using AltKit and replace it with the device's UDID.
additionalValues[Bundle.Info.deviceID] = udid additionalValues[Bundle.Info.deviceID] = udid
additionalValues[Bundle.Info.serverID] = UserDefaults.standard.preferredServerID
} }
let iconScale = Int(UIScreen.main.scale) let iconScale = Int(UIScreen.main.scale)