feat(creator): 현재 라이브 섹션을 연결한다

This commit is contained in:
Yu Sung
2026-07-03 02:48:42 +09:00
parent 2f1feb9561
commit 0e358d73c3
7 changed files with 189 additions and 4 deletions

View File

@@ -25,6 +25,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
private var subscription = Set<AnyCancellable>()
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
guard !Self.isRunningForPreviews else { return true }
FirebaseApp.configure()
LoginManager.shared.setup(channelID: LINE_CHANNEL_ID, universalLinkURL: nil)
Notifly.initialize(projectId: NOTIFLY_PROJECT_ID, username: NOTIFLY_USERNAME, password: NOTIFLY_PASSWORD)
@@ -50,6 +52,10 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
return true
}
private static var isRunningForPreviews: Bool {
ProcessInfo.processInfo.environment["XCODE_RUNNING_FOR_PREVIEWS"] == "1"
}
func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) {
// Print full message.