Use correct bundle ID for extensions in beta app

This commit is contained in:
Danny Moesch 2020-09-06 14:15:30 +02:00 committed by Mingshen Sun
parent 6044098278
commit 8459af4196
2 changed files with 9 additions and 1 deletions

View file

@ -10,7 +10,14 @@ import Foundation
import UIKit
public final class Globals {
public static let bundleIdentifier = Bundle.main.bundleIdentifier ?? "me.mssun.passforios"
public static let bundleIdentifier: String = {
#if BETA
return "me.mssun.passforiosbeta"
#else
return "me.mssun.passforios"
#endif
}()
public static let groupIdentifier = "group." + bundleIdentifier
public static let passKitBundleIdentifier = bundleIdentifier + ".passKit"