feat: update bundle ID config, CloudKit container, and add landing page
- Update CloudKit container ID to iCloud.com.88oakapps.SportsTime across all services - Update IAP product IDs to match new bundle ID (com.88oakapps.SportsTime) - Add app landing page with light, welcoming design matching app aesthetic - Update entitlements and project configuration Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -18,10 +18,10 @@ final class BackgroundSyncManager {
|
||||
// MARK: - Task Identifiers
|
||||
|
||||
/// Background app refresh task - runs periodically (system decides frequency)
|
||||
static let refreshTaskIdentifier = "com.sportstime.app.refresh"
|
||||
static let refreshTaskIdentifier = "com.88oakapps.SportsTime.refresh"
|
||||
|
||||
/// Background processing task - runs during optimal conditions (plugged in, overnight)
|
||||
static let processingTaskIdentifier = "com.sportstime.app.db-cleanup"
|
||||
static let processingTaskIdentifier = "com.88oakapps.SportsTime.db-cleanup"
|
||||
|
||||
// MARK: - Singleton
|
||||
|
||||
@@ -31,7 +31,7 @@ final class BackgroundSyncManager {
|
||||
|
||||
private var modelContainer: ModelContainer?
|
||||
private var currentCancellationToken: BackgroundTaskCancellationToken?
|
||||
private let logger = Logger(subsystem: "com.sportstime.app", category: "BackgroundSyncManager")
|
||||
private let logger = Logger(subsystem: "com.88oakapps.SportsTime", category: "BackgroundSyncManager")
|
||||
|
||||
private init() {}
|
||||
|
||||
@@ -332,16 +332,16 @@ final class BackgroundSyncManager {
|
||||
#if DEBUG
|
||||
extension BackgroundSyncManager {
|
||||
/// Manually trigger refresh task for testing.
|
||||
/// Run in debugger: `e -l objc -- (void)[[BGTaskScheduler sharedScheduler] _simulateLaunchForTaskWithIdentifier:@"com.sportstime.app.refresh"]`
|
||||
/// Run in debugger: `e -l objc -- (void)[[BGTaskScheduler sharedScheduler] _simulateLaunchForTaskWithIdentifier:@"com.88oakapps.SportsTime.refresh"]`
|
||||
func debugTriggerRefresh() {
|
||||
print("Debug: Use lldb command to trigger background refresh:")
|
||||
print("e -l objc -- (void)[[BGTaskScheduler sharedScheduler] _simulateLaunchForTaskWithIdentifier:@\"com.sportstime.app.refresh\"]")
|
||||
print("e -l objc -- (void)[[BGTaskScheduler sharedScheduler] _simulateLaunchForTaskWithIdentifier:@\"com.88oakapps.SportsTime.refresh\"]")
|
||||
}
|
||||
|
||||
/// Manually trigger processing task for testing.
|
||||
func debugTriggerProcessing() {
|
||||
print("Debug: Use lldb command to trigger background processing:")
|
||||
print("e -l objc -- (void)[[BGTaskScheduler sharedScheduler] _simulateLaunchForTaskWithIdentifier:@\"com.sportstime.app.db-cleanup\"]")
|
||||
print("e -l objc -- (void)[[BGTaskScheduler sharedScheduler] _simulateLaunchForTaskWithIdentifier:@\"com.88oakapps.SportsTime.db-cleanup\"]")
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user