Secondary changes
This commit is contained in:
parent
1c23d7237c
commit
1404c865cd
|
@ -1129,7 +1129,7 @@
|
||||||
ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground;
|
ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground;
|
||||||
CODE_SIGN_ENTITLEMENTS = BubbleWidgets/BubbleWidgetsExtension.entitlements;
|
CODE_SIGN_ENTITLEMENTS = BubbleWidgets/BubbleWidgetsExtension.entitlements;
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 292;
|
CURRENT_PROJECT_VERSION = 304;
|
||||||
DEVELOPMENT_TEAM = HB5P3BML86;
|
DEVELOPMENT_TEAM = HB5P3BML86;
|
||||||
GENERATE_INFOPLIST_FILE = YES;
|
GENERATE_INFOPLIST_FILE = YES;
|
||||||
INFOPLIST_FILE = BubbleWidgets/Info.plist;
|
INFOPLIST_FILE = BubbleWidgets/Info.plist;
|
||||||
|
@ -1164,7 +1164,7 @@
|
||||||
ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground;
|
ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground;
|
||||||
CODE_SIGN_ENTITLEMENTS = BubbleWidgets/BubbleWidgetsExtension.entitlements;
|
CODE_SIGN_ENTITLEMENTS = BubbleWidgets/BubbleWidgetsExtension.entitlements;
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 292;
|
CURRENT_PROJECT_VERSION = 304;
|
||||||
DEVELOPMENT_TEAM = HB5P3BML86;
|
DEVELOPMENT_TEAM = HB5P3BML86;
|
||||||
GENERATE_INFOPLIST_FILE = YES;
|
GENERATE_INFOPLIST_FILE = YES;
|
||||||
INFOPLIST_FILE = BubbleWidgets/Info.plist;
|
INFOPLIST_FILE = BubbleWidgets/Info.plist;
|
||||||
|
@ -1327,9 +1327,10 @@
|
||||||
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
|
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
|
||||||
CODE_SIGN_ENTITLEMENTS = Bubble/Bubble.entitlements;
|
CODE_SIGN_ENTITLEMENTS = Bubble/Bubble.entitlements;
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 292;
|
CURRENT_PROJECT_VERSION = 304;
|
||||||
DEVELOPMENT_ASSET_PATHS = "";
|
DEVELOPMENT_ASSET_PATHS = "";
|
||||||
DEVELOPMENT_TEAM = HB5P3BML86;
|
DEVELOPMENT_TEAM = HB5P3BML86;
|
||||||
|
ENABLE_MODULE_VERIFIER = NO;
|
||||||
ENABLE_PREVIEWS = YES;
|
ENABLE_PREVIEWS = YES;
|
||||||
GENERATE_INFOPLIST_FILE = YES;
|
GENERATE_INFOPLIST_FILE = YES;
|
||||||
INFOPLIST_FILE = Bubble/Info.plist;
|
INFOPLIST_FILE = Bubble/Info.plist;
|
||||||
|
@ -1369,9 +1370,10 @@
|
||||||
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
|
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
|
||||||
CODE_SIGN_ENTITLEMENTS = Bubble/Bubble.entitlements;
|
CODE_SIGN_ENTITLEMENTS = Bubble/Bubble.entitlements;
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 292;
|
CURRENT_PROJECT_VERSION = 304;
|
||||||
DEVELOPMENT_ASSET_PATHS = "";
|
DEVELOPMENT_ASSET_PATHS = "";
|
||||||
DEVELOPMENT_TEAM = HB5P3BML86;
|
DEVELOPMENT_TEAM = HB5P3BML86;
|
||||||
|
ENABLE_MODULE_VERIFIER = NO;
|
||||||
ENABLE_PREVIEWS = YES;
|
ENABLE_PREVIEWS = YES;
|
||||||
GENERATE_INFOPLIST_FILE = YES;
|
GENERATE_INFOPLIST_FILE = YES;
|
||||||
INFOPLIST_FILE = Bubble/Info.plist;
|
INFOPLIST_FILE = Bubble/Info.plist;
|
||||||
|
@ -1405,7 +1407,7 @@
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 292;
|
CURRENT_PROJECT_VERSION = 304;
|
||||||
DEVELOPMENT_TEAM = HB5P3BML86;
|
DEVELOPMENT_TEAM = HB5P3BML86;
|
||||||
GENERATE_INFOPLIST_FILE = YES;
|
GENERATE_INFOPLIST_FILE = YES;
|
||||||
INFOPLIST_FILE = AuthService/Info.plist;
|
INFOPLIST_FILE = AuthService/Info.plist;
|
||||||
|
@ -1435,7 +1437,7 @@
|
||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
CODE_SIGN_STYLE = Automatic;
|
CODE_SIGN_STYLE = Automatic;
|
||||||
CURRENT_PROJECT_VERSION = 292;
|
CURRENT_PROJECT_VERSION = 304;
|
||||||
DEVELOPMENT_TEAM = HB5P3BML86;
|
DEVELOPMENT_TEAM = HB5P3BML86;
|
||||||
GENERATE_INFOPLIST_FILE = YES;
|
GENERATE_INFOPLIST_FILE = YES;
|
||||||
INFOPLIST_FILE = AuthService/Info.plist;
|
INFOPLIST_FILE = AuthService/Info.plist;
|
||||||
|
|
|
@ -54,9 +54,6 @@ public class AppDelegate: NSObject, UIWindowSceneDelegate, Sendable, UIApplicati
|
||||||
|
|
||||||
/// This function uses the REAL customer info to access the premium state
|
/// This function uses the REAL customer info to access the premium state
|
||||||
static func hasPlus(completionHandler: @escaping (Bool) -> Void) {
|
static func hasPlus(completionHandler: @escaping (Bool) -> Void) {
|
||||||
#if targetEnvironment(simulator)
|
|
||||||
completionHandler(true)
|
|
||||||
#else
|
|
||||||
Purchases.shared.getCustomerInfo { (customerInfo, error) in
|
Purchases.shared.getCustomerInfo { (customerInfo, error) in
|
||||||
guard let error else {
|
guard let error else {
|
||||||
let hasPrem: Bool = hasActuallyPlus(customerInfo: customerInfo)
|
let hasPrem: Bool = hasActuallyPlus(customerInfo: customerInfo)
|
||||||
|
@ -65,7 +62,6 @@ public class AppDelegate: NSObject, UIWindowSceneDelegate, Sendable, UIApplicati
|
||||||
}
|
}
|
||||||
fatalError(error.localizedDescription)
|
fatalError(error.localizedDescription)
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// This function returns a fake "true" value every time whatever the customer info is
|
/// This function returns a fake "true" value every time whatever the customer info is
|
||||||
|
|
|
@ -104,14 +104,17 @@ struct SettingsView: View {
|
||||||
}
|
}
|
||||||
.listRowThreaded()
|
.listRowThreaded()
|
||||||
|
|
||||||
#if !targetEnvironment(simulator)
|
|
||||||
Button {
|
Button {
|
||||||
|
#if !targetEnvironment(simulator)
|
||||||
openURL(URL(string: "https://apps.apple.com/app/id6477757490?action=write-review")!)
|
openURL(URL(string: "https://apps.apple.com/app/id6477757490?action=write-review")!)
|
||||||
|
#else
|
||||||
|
print("Review app")
|
||||||
|
#endif
|
||||||
} label: {
|
} label: {
|
||||||
Label("setting.review", systemImage: "star.fill")
|
Label("setting.review", systemImage: "star.fill")
|
||||||
}
|
}
|
||||||
.listRowThreaded()
|
.listRowThreaded()
|
||||||
#endif
|
|
||||||
|
|
||||||
Button {
|
Button {
|
||||||
navigator.navigate(to: .support)
|
navigator.navigate(to: .support)
|
||||||
|
|
Loading…
Reference in New Issue