Commit 03b69b437e784baeaac94b19ddade1777afc689c

Authored by 权海
1 parent 8a108a53

feat(ui):添加watch app 推送、watch表盘、移除thinkingdata

Showing 45 changed files with 1505 additions and 497 deletions
@@ -5,6 +5,12 @@ @@ -5,6 +5,12 @@
5 "version": "0.2.0", 5 "version": "0.2.0",
6 "configurations": [ 6 "configurations": [
7 { 7 {
  8 + "name": "Flutter: Attach to Device",
  9 + "type": "dart",
  10 + "request": "attach"
  11 + },
  12 +
  13 + {
8 "name": "Flutter-release", 14 "name": "Flutter-release",
9 "type": "dart", 15 "type": "dart",
10 "request": "launch", 16 "request": "launch",
@@ -30,7 +30,7 @@ target 'Runner' do @@ -30,7 +30,7 @@ target 'Runner' do
30 use_frameworks! 30 use_frameworks!
31 31
32 pod 'SDWebImage' 32 pod 'SDWebImage'
33 - pod 'ThinkingSDK' 33 +# pod 'ThinkingSDK'
34 pod 'DeviceGuru' 34 pod 'DeviceGuru'
35 35
36 flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) 36 flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
@@ -43,7 +43,7 @@ target 'Runner Watch App' do @@ -43,7 +43,7 @@ target 'Runner Watch App' do
43 43
44 pod 'SDWebImage' 44 pod 'SDWebImage'
45 pod 'SDWebImageSwiftUI' 45 pod 'SDWebImageSwiftUI'
46 - pod 'ThinkingDataAnalyticsExtension' 46 +# pod 'ThinkingDataAnalyticsExtension'
47 end 47 end
48 48
49 49
@@ -28,25 +28,6 @@ PODS: @@ -28,25 +28,6 @@ PODS:
28 - sqflite_darwin (0.0.4): 28 - sqflite_darwin (0.0.4):
29 - Flutter 29 - Flutter
30 - FlutterMacOS 30 - FlutterMacOS
31 - - ThinkingDataAnalyticsExtension (1.1.3):  
32 - - ThinkingDataCore (= 1.3.3)  
33 - - ThinkingDataCore (1.3.3):  
34 - - ThinkingDataCore/Main (= 1.3.3)  
35 - - ThinkingDataCore/iOS (1.3.3)  
36 - - ThinkingDataCore/Main (1.3.3):  
37 - - ThinkingDataCore/iOS  
38 - - ThinkingDataCore/OSX  
39 - - ThinkingDataCore/tvOS  
40 - - ThinkingDataCore/versionOS  
41 - - ThinkingDataCore/watchOS  
42 - - ThinkingDataCore/watchOS (1.3.3)  
43 - - ThinkingSDK (3.4.0):  
44 - - ThinkingSDK/Main (= 3.4.0)  
45 - - ThinkingSDK/iOS (3.4.0):  
46 - - ThinkingDataCore (= 1.3.3)  
47 - - ThinkingSDK/Main (3.4.0):  
48 - - ThinkingSDK/iOS  
49 - - ThinkingSDK/OSX  
50 - TOCropViewController (2.7.4) 31 - TOCropViewController (2.7.4)
51 - webview_flutter_wkwebview (0.0.1): 32 - webview_flutter_wkwebview (0.0.1):
52 - Flutter 33 - Flutter
@@ -64,8 +45,6 @@ DEPENDENCIES: @@ -64,8 +45,6 @@ DEPENDENCIES:
64 - SDWebImageSwiftUI 45 - SDWebImageSwiftUI
65 - shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`) 46 - shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
66 - sqflite_darwin (from `.symlinks/plugins/sqflite_darwin/darwin`) 47 - sqflite_darwin (from `.symlinks/plugins/sqflite_darwin/darwin`)
67 - - ThinkingDataAnalyticsExtension  
68 - - ThinkingSDK  
69 - webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/darwin`) 48 - webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/darwin`)
70 49
71 SPEC REPOS: 50 SPEC REPOS:
@@ -73,9 +52,6 @@ SPEC REPOS: @@ -73,9 +52,6 @@ SPEC REPOS:
73 - DeviceGuru 52 - DeviceGuru
74 - SDWebImage 53 - SDWebImage
75 - SDWebImageSwiftUI 54 - SDWebImageSwiftUI
76 - - ThinkingDataAnalyticsExtension  
77 - - ThinkingDataCore  
78 - - ThinkingSDK  
79 - TOCropViewController 55 - TOCropViewController
80 56
81 EXTERNAL SOURCES: 57 EXTERNAL SOURCES:
@@ -100,7 +76,7 @@ EXTERNAL SOURCES: @@ -100,7 +76,7 @@ EXTERNAL SOURCES:
100 76
101 SPEC CHECKSUMS: 77 SPEC CHECKSUMS:
102 DeviceGuru: f0f2bd81953d82777689f22025bca418e0c51d64 78 DeviceGuru: f0f2bd81953d82777689f22025bca418e0c51d64
103 - Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467 79 + Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
104 fluttertoast: 2c67e14dce98bbdb200df9e1acf610d7a6264ea1 80 fluttertoast: 2c67e14dce98bbdb200df9e1acf610d7a6264ea1
105 image_cropper: c4326ea50132b1e1564499e5d32a84f01fb03537 81 image_cropper: c4326ea50132b1e1564499e5d32a84f01fb03537
106 image_picker_ios: 7fe1ff8e34c1790d6fff70a32484959f563a928a 82 image_picker_ios: 7fe1ff8e34c1790d6fff70a32484959f563a928a
@@ -110,12 +86,9 @@ SPEC CHECKSUMS: @@ -110,12 +86,9 @@ SPEC CHECKSUMS:
110 SDWebImageSwiftUI: 965cdad5a7210b7ec06aaa1a3d17180d0a152250 86 SDWebImageSwiftUI: 965cdad5a7210b7ec06aaa1a3d17180d0a152250
111 shared_preferences_foundation: 9e1978ff2562383bd5676f64ec4e9aa8fa06a6f7 87 shared_preferences_foundation: 9e1978ff2562383bd5676f64ec4e9aa8fa06a6f7
112 sqflite_darwin: 20b2a3a3b70e43edae938624ce550a3cbf66a3d0 88 sqflite_darwin: 20b2a3a3b70e43edae938624ce550a3cbf66a3d0
113 - ThinkingDataAnalyticsExtension: 06a9b27447ba1fc7b38d336f0b1807c682349983  
114 - ThinkingDataCore: 69334fda774daf150396514cfd79b90cdb0c0d16  
115 - ThinkingSDK: e114c65ad28ccfc11b9de84e902abbd73c69fc32  
116 TOCropViewController: 80b8985ad794298fb69d3341de183f33d1853654 89 TOCropViewController: 80b8985ad794298fb69d3341de183f33d1853654
117 webview_flutter_wkwebview: 1821ceac936eba6f7984d89a9f3bcb4dea99ebb2 90 webview_flutter_wkwebview: 1821ceac936eba6f7984d89a9f3bcb4dea99ebb2
118 91
119 -PODFILE CHECKSUM: 2fe1ab1ea8359a411d88196bffe408db7cb1c02a 92 +PODFILE CHECKSUM: a8659e141c630710570ccaa57479406ca3a4bc20
120 93
121 COCOAPODS: 1.16.2 94 COCOAPODS: 1.16.2
@@ -7,6 +7,7 @@ @@ -7,6 +7,7 @@
7 7
8 import SwiftUI 8 import SwiftUI
9 9
  10 +// 双人压力表盘
10 struct DFCoupleStressHomeView: View { 11 struct DFCoupleStressHomeView: View {
11 var hasData: Bool = true 12 var hasData: Bool = true
12 13
@@ -7,6 +7,7 @@ @@ -7,6 +7,7 @@
7 7
8 import SwiftUI 8 import SwiftUI
9 9
  10 +// 单人压力表盘
10 struct DFSingleStressHomeView: View { 11 struct DFSingleStressHomeView: View {
11 var kind: DFWatchStressKind = .overloaded 12 var kind: DFWatchStressKind = .overloaded
12 var value: String? = "38ms" 13 var value: String? = "38ms"
@@ -56,7 +56,7 @@ struct DFDefaultWatchHomeView: View { @@ -56,7 +56,7 @@ struct DFDefaultWatchHomeView: View {
56 updateDate() 56 updateDate()
57 } 57 }
58 } 58 }
59 - 59 +
60 private func updateDate(){ 60 private func updateDate(){
61 let calendar = Calendar.current 61 let calendar = Calendar.current
62 let component = calendar.component(.weekday, from: .now) 62 let component = calendar.component(.weekday, from: .now)
@@ -10,6 +10,7 @@ import SwiftUI @@ -10,6 +10,7 @@ import SwiftUI
10 struct MainPagingView: View { 10 struct MainPagingView: View {
11 @State private var showPKView = false 11 @State private var showPKView = false
12 @State private var currentPage = 0 12 @State private var currentPage = 0
  13 + @EnvironmentObject var router: WatchNotificationRouter
13 14
14 var body: some View { 15 var body: some View {
15 NavigationView { 16 NavigationView {
@@ -36,5 +37,13 @@ struct MainPagingView: View { @@ -36,5 +37,13 @@ struct MainPagingView: View {
36 .fullScreenCover(isPresented: $showPKView, content: { 37 .fullScreenCover(isPresented: $showPKView, content: {
37 PKDetailView() 38 PKDetailView()
38 }) 39 })
  40 + .onAppear {
  41 + router.consumeCachedPayloadIfNeeded()
  42 + }
  43 + .onChange(of: router.pendingNotification?.id) { _, id in
  44 + guard let id else { return }
  45 + // TODO: 根据 id 跳转详情页
  46 + print("跳转通知详情:", id)
  47 + }
39 } 48 }
40 } 49 }
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3 +<plist version="1.0">
  4 +<dict>
  5 + <key>aps-environment</key>
  6 + <string>development</string>
  7 + <key>com.apple.developer.healthkit</key>
  8 + <true/>
  9 + <key>com.apple.developer.healthkit.background-delivery</key>
  10 + <true/>
  11 + <key>com.apple.security.application-groups</key>
  12 + <array>
  13 + <string>group.com.luiz.doublefeel.watchkitapp</string>
  14 + </array>
  15 +</dict>
  16 +</plist>
@@ -6,24 +6,26 @@ @@ -6,24 +6,26 @@
6 // 6 //
7 7
8 import Foundation 8 import Foundation
9 -import ThinkingDataAnalyticsExtension 9 +//import ThinkingDataAnalyticsExtension
10 10
11 class ThinkSDKUtil { 11 class ThinkSDKUtil {
12 12
13 static func initSDK() { 13 static func initSDK() {
  14 + /*
14 #if DEBUG || CI_ENV 15 #if DEBUG || CI_ENV
15 TDAnalyticsExtension.start(withAppId: "1efaeef2c4c04a3bac557d78899ecee6", serverUrl: "https://ta-api.didiapp.com") 16 TDAnalyticsExtension.start(withAppId: "1efaeef2c4c04a3bac557d78899ecee6", serverUrl: "https://ta-api.didiapp.com")
16 #else 17 #else
17 TDAnalyticsExtension.start(withAppId: "6e53fb7a8f5f483081c15b8f5f017401", serverUrl: "https://ta-api.didiapp.com") 18 TDAnalyticsExtension.start(withAppId: "6e53fb7a8f5f483081c15b8f5f017401", serverUrl: "https://ta-api.didiapp.com")
18 #endif 19 #endif
  20 + */
19 } 21 }
20 22
21 static func track(eventName: String, 23 static func track(eventName: String,
22 properties: [String: Any]? = nil) { 24 properties: [String: Any]? = nil) {
23 - TDAnalyticsExtension.track(eventName, properties: properties) 25 +// TDAnalyticsExtension.track(eventName, properties: properties)
24 } 26 }
25 27
26 static func login(_ uid: Int) { 28 static func login(_ uid: Int) {
27 - TDAnalyticsExtension.login(uid.string) 29 +// TDAnalyticsExtension.login(uid.string)
28 } 30 }
29 } 31 }
  1 +//
  2 +// WatchAppDelegate.swift
  3 +// Runner Watch App
  4 +//
  5 +// Created by 权海 on 2026/6/17.
  6 +//
  7 +
  8 +import WatchKit
  9 +import UserNotifications
  10 +
  11 +final class WatchAppDelegate: NSObject, WKApplicationDelegate, UNUserNotificationCenterDelegate {
  12 +
  13 + func applicationDidFinishLaunching() {
  14 + setup()
  15 + let center = UNUserNotificationCenter.current()
  16 + center.delegate = self
  17 + requestNotificationPermission()
  18 + }
  19 +
  20 + private func setup(){
  21 + WatchUserAgent.share.genUA()
  22 + WatchSessionManager.share.addListen()
  23 + WatchDataManager.share.requestAuthForHealth()
  24 + WatchDataManager.share.fetchMyTodayData()
  25 + WatchDataManager.share.fetchOtherTodayData()
  26 + ThinkSDKUtil.initSDK()
  27 + if let id = WatchUserinfoManager.share.myUserinfo?.id {
  28 + ThinkSDKUtil.login(id)
  29 + }
  30 + }
  31 +
  32 + private func requestNotificationPermission() {
  33 + UNUserNotificationCenter.current().requestAuthorization(
  34 + options: [.alert, .sound, .badge]
  35 + ) { granted, error in
  36 + print("watch notification permission:", granted, error as Any)
  37 + guard granted else { return }
  38 + DispatchQueue.main.async {
  39 + WKApplication.shared().registerForRemoteNotifications()
  40 + }
  41 + }
  42 + }
  43 +
  44 + func didRegisterForRemoteNotifications(withDeviceToken deviceToken: Data) {
  45 + let token = deviceToken.map { String(format: "%02x", $0) }.joined()
  46 + print("watch apns token:", token)
  47 +
  48 + // TODO: 上传到你的服务端
  49 + // uploadWatchToken(token)
  50 + }
  51 +
  52 + func didFailToRegisterForRemoteNotificationsWithError(_ error: Error) {
  53 + print("watch register push failed:", error)
  54 + }
  55 +
  56 + // App 在前台收到通知:热启动前台展示
  57 + func userNotificationCenter(
  58 + _ center: UNUserNotificationCenter,
  59 + willPresent notification: UNNotification
  60 + ) async -> UNNotificationPresentationOptions {
  61 + let userInfo = notification.request.content.userInfo
  62 + print("watch will present:", userInfo)
  63 +
  64 + return [.banner, .sound]
  65 + }
  66 +
  67 + // 用户点击通知:冷启动 / 后台 / 前台都走这里
  68 + func userNotificationCenter(
  69 + _ center: UNUserNotificationCenter,
  70 + didReceive response: UNNotificationResponse
  71 + ) async {
  72 + let userInfo = response.notification.request.content.userInfo
  73 + print("watch notification clicked:", userInfo)
  74 +
  75 + WatchNotificationRouter.shared.handle(userInfo: userInfo)
  76 + }
  77 +}
  1 +//
  2 +// WatchAppSchema.swift
  3 +// Runner Watch App
  4 +//
  5 +// Created by 权海 on 2026/6/17.
  6 +//
  7 +
  8 +import Foundation
  9 +
  10 +/*
  11 + doublefeel.watchapp:// 打开watch app
  12 + doublefeel.watchapp://pressure/hrv?userId=0 单人hrv压力
  13 + doublefeel.watchapp://pressure/realtime?userId=0 单人实时压力
  14 + doublefeel.watchapp://pressure/hrv 双人hrv压力
  15 + doublefeel.watchapp://pressure/realtime 双人实时压力
  16 + doublefeel.watchapp://summary?userId=0 // 单人今日状态
  17 + */
  18 +enum WatchAppSchema: String{
  19 + case pressureHrv = "doublefeel.watchapp://pressure/hrv"
  20 + case pressureRealTime = "doublefeel.watchapp://pressure/realtime"
  21 + case pressureSummary = "doublefeel.watchapp://summary"
  22 +}
  23 +
  24 +
  1 +//
  2 +// WatchNotificationRouter.swift
  3 +// Runner Watch App
  4 +//
  5 +// Created by 权海 on 2026/6/17.
  6 +//
  7 +
  8 +import Foundation
  9 +import Combine
  10 +
  11 +final class WatchNotificationRouter: ObservableObject {
  12 +
  13 + static let shared = WatchNotificationRouter()
  14 +
  15 + @Published var pendingNotification: WatchNotificationPayload?
  16 +
  17 + private init() {}
  18 +
  19 + func handle(userInfo: [AnyHashable: Any]) {
  20 + let payload = WatchNotificationPayload(userInfo: userInfo)
  21 + DispatchQueue.main.async {
  22 + self.pendingNotification = payload
  23 + }
  24 + }
  25 +
  26 + func consumeCachedPayloadIfNeeded() {
  27 +// pendingNotification = WatchNotificationPayload(
  28 +// id: id,
  29 +// type: type
  30 +// )
  31 + }
  32 +}
  33 +
  34 +struct WatchNotificationPayload {
  35 + let id: String?
  36 + let type: String?
  37 +
  38 + init(userInfo: [AnyHashable: Any]) {
  39 + self.id = userInfo["id"] as? String
  40 + self.type = userInfo["type"] as? String
  41 + }
  42 +
  43 + init(id: String?, type: String?) {
  44 + self.id = id
  45 + self.type = type
  46 + }
  47 +}
@@ -87,6 +87,16 @@ class WatchSessionManager: NSObject, WCSessionDelegate, ObservableObject { @@ -87,6 +87,16 @@ class WatchSessionManager: NSObject, WCSessionDelegate, ObservableObject {
87 print("Activation error: \(error.localizedDescription)") 87 print("Activation error: \(error.localizedDescription)")
88 } 88 }
89 } 89 }
  90 + #if os(iOS)
  91 + func sessionDidBecomeInactive(_ session: WCSession) {
  92 +
  93 + }
  94 + func sessionDidDeactivate(_ session: WCSession) {
  95 +
  96 + WCSession.default.activate()
  97 +
  98 + }
  99 + #endif
90 } 100 }
91 101
92 102
@@ -6,26 +6,17 @@ @@ -6,26 +6,17 @@
6 // 6 //
7 7
8 import SwiftUI 8 import SwiftUI
9 -import ThinkingDataAnalyticsExtension 9 +import UserNotifications
  10 +import WidgetKit
10 11
11 @main 12 @main
12 struct hippo_watch_Watch_AppApp: App { 13 struct hippo_watch_Watch_AppApp: App {
13 - @State private var currentPage = 0 14 + @StateObject private var router = WatchNotificationRouter.shared
14 15
15 var body: some Scene { 16 var body: some Scene {
16 WindowGroup { 17 WindowGroup {
17 MainPagingView() 18 MainPagingView()
18 - .onAppear {  
19 - WatchUserAgent.share.genUA()  
20 - WatchSessionManager.share.addListen()  
21 - WatchDataManager.share.requestAuthForHealth()  
22 - WatchDataManager.share.fetchMyTodayData()  
23 - WatchDataManager.share.fetchOtherTodayData()  
24 - ThinkSDKUtil.initSDK()  
25 - if let id = WatchUserinfoManager.share.myUserinfo?.id {  
26 - ThinkSDKUtil.login(id)  
27 - }  
28 - } 19 + .environmentObject(router)
29 } 20 }
30 } 21 }
31 } 22 }
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3 +<plist version="1.0">
  4 +<dict>
  5 + <key>CFBundleURLTypes</key>
  6 + <array>
  7 + <dict>
  8 + <key>com.luiz.doublefeel.watchkitapp</key>
  9 + <string>doublefeel.watchapp</string>
  10 + </dict>
  11 + </array>
  12 + <key>UIBackgroundModes</key>
  13 + <array>
  14 + <string>remote-notification</string>
  15 + </array>
  16 + <key>WKBackgroundModes</key>
  17 + <array>
  18 + <string>self-care</string>
  19 + <string>workout-processing</string>
  20 + </array>
  21 +</dict>
  22 +</plist>
@@ -3,19 +3,26 @@ @@ -3,19 +3,26 @@
3 archiveVersion = 1; 3 archiveVersion = 1;
4 classes = { 4 classes = {
5 }; 5 };
6 - objectVersion = 54; 6 + objectVersion = 77;
7 objects = { 7 objects = {
8 8
9 /* Begin PBXBuildFile section */ 9 /* Begin PBXBuildFile section */
10 36345731C945926C4A5BD632 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5CEEADFA95177019D949C8D0 /* Pods_Runner.framework */; }; 10 36345731C945926C4A5BD632 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5CEEADFA95177019D949C8D0 /* Pods_Runner.framework */; };
11 - 66FB19002FDBC80100F515B4 /* DFWatchFigmaTokens.swift in Sources */ = {isa = PBXBuildFile; fileRef = 66FB19032FDBC80100F515B4 /* DFWatchFigmaTokens.swift */; };  
12 - 66FB19012FDBC80100F515B4 /* DFWatchFigmaHomeViews.swift in Sources */ = {isa = PBXBuildFile; fileRef = 66FB19042FDBC80100F515B4 /* DFWatchFigmaHomeViews.swift */; };  
13 - 66FB19022FDBC80100F515B4 /* DFWatchFigmaDetailViews.swift in Sources */ = {isa = PBXBuildFile; fileRef = 66FB19052FDBC80100F515B4 /* DFWatchFigmaDetailViews.swift */; }; 11 + 661A0D342FE2AB340026EEBB /* WidgetKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66FBE5A72FDA518C00F515B4 /* WidgetKit.framework */; };
  12 + 661A0D352FE2AB340026EEBB /* SwiftUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66FBE5A92FDA518C00F515B4 /* SwiftUI.framework */; };
  13 + 661A0D402FE2AB360026EEBB /* hippo-watch-extensionExtension.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = 661A0D332FE2AB340026EEBB /* hippo-watch-extensionExtension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
14 66FBE58C2FDA4F0F00F515B4 /* Runner Watch App.app in Embed Watch Content */ = {isa = PBXBuildFile; fileRef = 66FBE58B2FDA4F0F00F515B4 /* Runner Watch App.app */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; 14 66FBE58C2FDA4F0F00F515B4 /* Runner Watch App.app in Embed Watch Content */ = {isa = PBXBuildFile; fileRef = 66FBE58B2FDA4F0F00F515B4 /* Runner Watch App.app */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
15 D0E7FB41C5122A32579199E1 /* Pods_Runner_Watch_App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 32675A83AFB845DC8CA3467C /* Pods_Runner_Watch_App.framework */; }; 15 D0E7FB41C5122A32579199E1 /* Pods_Runner_Watch_App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 32675A83AFB845DC8CA3467C /* Pods_Runner_Watch_App.framework */; };
16 /* End PBXBuildFile section */ 16 /* End PBXBuildFile section */
17 17
18 /* Begin PBXContainerItemProxy section */ 18 /* Begin PBXContainerItemProxy section */
  19 + 661A0D3E2FE2AB360026EEBB /* PBXContainerItemProxy */ = {
  20 + isa = PBXContainerItemProxy;
  21 + containerPortal = 66FBE5762FDA4F0E00F515B4 /* Project object */;
  22 + proxyType = 1;
  23 + remoteGlobalIDString = 661A0D322FE2AB340026EEBB;
  24 + remoteInfo = "hippo-watch-extensionExtension";
  25 + };
19 66569B6E2FE27D0400B7E33C /* PBXContainerItemProxy */ = { 26 66569B6E2FE27D0400B7E33C /* PBXContainerItemProxy */ = {
20 isa = PBXContainerItemProxy; 27 isa = PBXContainerItemProxy;
21 containerPortal = 66FBE5762FDA4F0E00F515B4 /* Project object */; 28 containerPortal = 66FBE5762FDA4F0E00F515B4 /* Project object */;
@@ -43,6 +50,7 @@ @@ -43,6 +50,7 @@
43 dstPath = ""; 50 dstPath = "";
44 dstSubfolderSpec = 13; 51 dstSubfolderSpec = 13;
45 files = ( 52 files = (
  53 + 661A0D402FE2AB360026EEBB /* hippo-watch-extensionExtension.appex in Embed Foundation Extensions */,
46 ); 54 );
47 name = "Embed Foundation Extensions"; 55 name = "Embed Foundation Extensions";
48 runOnlyForDeploymentPostprocessing = 0; 56 runOnlyForDeploymentPostprocessing = 0;
@@ -56,9 +64,7 @@ @@ -56,9 +64,7 @@
56 4A9B7C112FDB0A1200F515B4 /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = "<group>"; }; 64 4A9B7C112FDB0A1200F515B4 /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = "<group>"; };
57 5CEEADFA95177019D949C8D0 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 65 5CEEADFA95177019D949C8D0 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
58 6291BE76A39C6E31BC18338B /* Pods-Runner Watch App.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner Watch App.debug.xcconfig"; path = "Target Support Files/Pods-Runner Watch App/Pods-Runner Watch App.debug.xcconfig"; sourceTree = "<group>"; }; 66 6291BE76A39C6E31BC18338B /* Pods-Runner Watch App.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner Watch App.debug.xcconfig"; path = "Target Support Files/Pods-Runner Watch App/Pods-Runner Watch App.debug.xcconfig"; sourceTree = "<group>"; };
59 - 66FB19032FDBC80100F515B4 /* DFWatchFigmaTokens.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Runner Watch App/FigmaHome/DFWatchFigmaTokens.swift"; sourceTree = "<group>"; };  
60 - 66FB19042FDBC80100F515B4 /* DFWatchFigmaHomeViews.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Runner Watch App/FigmaHome/DFWatchFigmaHomeViews.swift"; sourceTree = "<group>"; };  
61 - 66FB19052FDBC80100F515B4 /* DFWatchFigmaDetailViews.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Runner Watch App/FigmaHome/DFWatchFigmaDetailViews.swift"; sourceTree = "<group>"; }; 67 + 661A0D332FE2AB340026EEBB /* hippo-watch-extensionExtension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = "hippo-watch-extensionExtension.appex"; sourceTree = BUILT_PRODUCTS_DIR; };
62 66FBE57E2FDA4F0E00F515B4 /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; 68 66FBE57E2FDA4F0E00F515B4 /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
63 66FBE58B2FDA4F0F00F515B4 /* Runner Watch App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Runner Watch App.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 69 66FBE58B2FDA4F0F00F515B4 /* Runner Watch App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Runner Watch App.app"; sourceTree = BUILT_PRODUCTS_DIR; };
64 66FBE5A72FDA518C00F515B4 /* WidgetKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WidgetKit.framework; path = System/Library/Frameworks/WidgetKit.framework; sourceTree = SDKROOT; }; 70 66FBE5A72FDA518C00F515B4 /* WidgetKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WidgetKit.framework; path = System/Library/Frameworks/WidgetKit.framework; sourceTree = SDKROOT; };
@@ -69,6 +75,27 @@ @@ -69,6 +75,27 @@
69 /* End PBXFileReference section */ 75 /* End PBXFileReference section */
70 76
71 /* Begin PBXFileSystemSynchronizedBuildFileExceptionSet section */ 77 /* Begin PBXFileSystemSynchronizedBuildFileExceptionSet section */
  78 + 661A0D442FE2AB360026EEBB /* Exceptions for "hippo-watch-extension" folder in "hippo-watch-extensionExtension" target */ = {
  79 + isa = PBXFileSystemSynchronizedBuildFileExceptionSet;
  80 + membershipExceptions = (
  81 + Info.plist,
  82 + );
  83 + target = 661A0D322FE2AB340026EEBB /* hippo-watch-extensionExtension */;
  84 + };
  85 + 661A0D482FE2AC4E0026EEBB /* Exceptions for "Runner Watch App" folder in "hippo-watch-extensionExtension" target */ = {
  86 + isa = PBXFileSystemSynchronizedBuildFileExceptionSet;
  87 + membershipExceptions = (
  88 + "Color+Extension.swift",
  89 + FigmaHome/DFCoupleStressHomeView.swift,
  90 + FigmaHome/DFSingleStressHomeView.swift,
  91 + FigmaHome/DFWatchCloseCircle.swift,
  92 + FigmaHome/DFWatchFigmaHomeViews.swift,
  93 + FigmaHome/DFWatchFigmaTokens.swift,
  94 + FigmaHome/DFWatchHeartBeatCircle.swift,
  95 + FigmaHome/DFWatchStepCountCircle.swift,
  96 + );
  97 + target = 661A0D322FE2AB340026EEBB /* hippo-watch-extensionExtension */;
  98 + };
72 66FB17B22FDB9E3200F515B4 /* Exceptions for "Runner" folder in "Runner Watch App" target */ = { 99 66FB17B22FDB9E3200F515B4 /* Exceptions for "Runner" folder in "Runner Watch App" target */ = {
73 isa = PBXFileSystemSynchronizedBuildFileExceptionSet; 100 isa = PBXFileSystemSynchronizedBuildFileExceptionSet;
74 membershipExceptions = ( 101 membershipExceptions = (
@@ -86,6 +113,14 @@ @@ -86,6 +113,14 @@
86 /* End PBXFileSystemSynchronizedBuildFileExceptionSet section */ 113 /* End PBXFileSystemSynchronizedBuildFileExceptionSet section */
87 114
88 /* Begin PBXFileSystemSynchronizedRootGroup section */ 115 /* Begin PBXFileSystemSynchronizedRootGroup section */
  116 + 661A0D362FE2AB340026EEBB /* hippo-watch-extension */ = {
  117 + isa = PBXFileSystemSynchronizedRootGroup;
  118 + exceptions = (
  119 + 661A0D442FE2AB360026EEBB /* Exceptions for "hippo-watch-extension" folder in "hippo-watch-extensionExtension" target */,
  120 + );
  121 + path = "hippo-watch-extension";
  122 + sourceTree = "<group>";
  123 + };
89 66FBE5802FDA4F0E00F515B4 /* Runner */ = { 124 66FBE5802FDA4F0E00F515B4 /* Runner */ = {
90 isa = PBXFileSystemSynchronizedRootGroup; 125 isa = PBXFileSystemSynchronizedRootGroup;
91 exceptions = ( 126 exceptions = (
@@ -98,6 +133,7 @@ @@ -98,6 +133,7 @@
98 66FBE58F2FDA4F0F00F515B4 /* Runner Watch App */ = { 133 66FBE58F2FDA4F0F00F515B4 /* Runner Watch App */ = {
99 isa = PBXFileSystemSynchronizedRootGroup; 134 isa = PBXFileSystemSynchronizedRootGroup;
100 exceptions = ( 135 exceptions = (
  136 + 661A0D482FE2AC4E0026EEBB /* Exceptions for "Runner Watch App" folder in "hippo-watch-extensionExtension" target */,
101 ); 137 );
102 path = "Runner Watch App"; 138 path = "Runner Watch App";
103 sourceTree = "<group>"; 139 sourceTree = "<group>";
@@ -105,6 +141,15 @@ @@ -105,6 +141,15 @@
105 /* End PBXFileSystemSynchronizedRootGroup section */ 141 /* End PBXFileSystemSynchronizedRootGroup section */
106 142
107 /* Begin PBXFrameworksBuildPhase section */ 143 /* Begin PBXFrameworksBuildPhase section */
  144 + 661A0D302FE2AB340026EEBB /* Frameworks */ = {
  145 + isa = PBXFrameworksBuildPhase;
  146 + buildActionMask = 2147483647;
  147 + files = (
  148 + 661A0D352FE2AB340026EEBB /* SwiftUI.framework in Frameworks */,
  149 + 661A0D342FE2AB340026EEBB /* WidgetKit.framework in Frameworks */,
  150 + );
  151 + runOnlyForDeploymentPostprocessing = 0;
  152 + };
108 66FBE57B2FDA4F0E00F515B4 /* Frameworks */ = { 153 66FBE57B2FDA4F0E00F515B4 /* Frameworks */ = {
109 isa = PBXFrameworksBuildPhase; 154 isa = PBXFrameworksBuildPhase;
110 buildActionMask = 2147483647; 155 buildActionMask = 2147483647;
@@ -133,24 +178,14 @@ @@ -133,24 +178,14 @@
133 path = Flutter; 178 path = Flutter;
134 sourceTree = "<group>"; 179 sourceTree = "<group>";
135 }; 180 };
136 - 66FB19072FDBC80100F515B4 /* FigmaHome Preview Sources */ = {  
137 - isa = PBXGroup;  
138 - children = (  
139 - 66FB19052FDBC80100F515B4 /* DFWatchFigmaDetailViews.swift */,  
140 - 66FB19042FDBC80100F515B4 /* DFWatchFigmaHomeViews.swift */,  
141 - 66FB19032FDBC80100F515B4 /* DFWatchFigmaTokens.swift */,  
142 - );  
143 - name = "FigmaHome Preview Sources";  
144 - sourceTree = "<group>";  
145 - };  
146 66FBE5752FDA4F0E00F515B4 = { 181 66FBE5752FDA4F0E00F515B4 = {
147 isa = PBXGroup; 182 isa = PBXGroup;
148 children = ( 183 children = (
149 66FBE5BF2FDA51A300F515B4 /* doublefeel-watch-app-extensionExtension.entitlements */, 184 66FBE5BF2FDA51A300F515B4 /* doublefeel-watch-app-extensionExtension.entitlements */,
150 - 66FB19072FDBC80100F515B4 /* FigmaHome Preview Sources */,  
151 66FBE5802FDA4F0E00F515B4 /* Runner */, 185 66FBE5802FDA4F0E00F515B4 /* Runner */,
152 66FBE58F2FDA4F0F00F515B4 /* Runner Watch App */, 186 66FBE58F2FDA4F0F00F515B4 /* Runner Watch App */,
153 4A9B7C122FDB0A1200F515B4 /* Flutter */, 187 4A9B7C122FDB0A1200F515B4 /* Flutter */,
  188 + 661A0D362FE2AB340026EEBB /* hippo-watch-extension */,
154 66FBE5A62FDA518C00F515B4 /* Frameworks */, 189 66FBE5A62FDA518C00F515B4 /* Frameworks */,
155 66FBE57F2FDA4F0E00F515B4 /* Products */, 190 66FBE57F2FDA4F0E00F515B4 /* Products */,
156 C9C45D06AF94828256154164 /* Pods */, 191 C9C45D06AF94828256154164 /* Pods */,
@@ -162,6 +197,7 @@ @@ -162,6 +197,7 @@
162 children = ( 197 children = (
163 66FBE57E2FDA4F0E00F515B4 /* Runner.app */, 198 66FBE57E2FDA4F0E00F515B4 /* Runner.app */,
164 66FBE58B2FDA4F0F00F515B4 /* Runner Watch App.app */, 199 66FBE58B2FDA4F0F00F515B4 /* Runner Watch App.app */,
  200 + 661A0D332FE2AB340026EEBB /* hippo-watch-extensionExtension.appex */,
165 ); 201 );
166 name = Products; 202 name = Products;
167 sourceTree = "<group>"; 203 sourceTree = "<group>";
@@ -191,6 +227,28 @@ @@ -191,6 +227,28 @@
191 /* End PBXGroup section */ 227 /* End PBXGroup section */
192 228
193 /* Begin PBXNativeTarget section */ 229 /* Begin PBXNativeTarget section */
  230 + 661A0D322FE2AB340026EEBB /* hippo-watch-extensionExtension */ = {
  231 + isa = PBXNativeTarget;
  232 + buildConfigurationList = 661A0D412FE2AB360026EEBB /* Build configuration list for PBXNativeTarget "hippo-watch-extensionExtension" */;
  233 + buildPhases = (
  234 + 661A0D2F2FE2AB340026EEBB /* Sources */,
  235 + 661A0D302FE2AB340026EEBB /* Frameworks */,
  236 + 661A0D312FE2AB340026EEBB /* Resources */,
  237 + );
  238 + buildRules = (
  239 + );
  240 + dependencies = (
  241 + );
  242 + fileSystemSynchronizedGroups = (
  243 + 661A0D362FE2AB340026EEBB /* hippo-watch-extension */,
  244 + );
  245 + name = "hippo-watch-extensionExtension";
  246 + packageProductDependencies = (
  247 + );
  248 + productName = "hippo-watch-extensionExtension";
  249 + productReference = 661A0D332FE2AB340026EEBB /* hippo-watch-extensionExtension.appex */;
  250 + productType = "com.apple.product-type.app-extension";
  251 + };
194 66FBE57D2FDA4F0E00F515B4 /* Runner */ = { 252 66FBE57D2FDA4F0E00F515B4 /* Runner */ = {
195 isa = PBXNativeTarget; 253 isa = PBXNativeTarget;
196 buildConfigurationList = 66FBE59C2FDA4F1000F515B4 /* Build configuration list for PBXNativeTarget "Runner" */; 254 buildConfigurationList = 66FBE59C2FDA4F1000F515B4 /* Build configuration list for PBXNativeTarget "Runner" */;
@@ -232,6 +290,7 @@ @@ -232,6 +290,7 @@
232 buildRules = ( 290 buildRules = (
233 ); 291 );
234 dependencies = ( 292 dependencies = (
  293 + 661A0D3F2FE2AB360026EEBB /* PBXTargetDependency */,
235 ); 294 );
236 fileSystemSynchronizedGroups = ( 295 fileSystemSynchronizedGroups = (
237 66FBE58F2FDA4F0F00F515B4 /* Runner Watch App */, 296 66FBE58F2FDA4F0F00F515B4 /* Runner Watch App */,
@@ -251,6 +310,9 @@ @@ -251,6 +310,9 @@
251 LastSwiftUpdateCheck = 2600; 310 LastSwiftUpdateCheck = 2600;
252 LastUpgradeCheck = 1510; 311 LastUpgradeCheck = 1510;
253 TargetAttributes = { 312 TargetAttributes = {
  313 + 661A0D322FE2AB340026EEBB = {
  314 + CreatedOnToolsVersion = 26.0.1;
  315 + };
254 66FBE57D2FDA4F0E00F515B4 = { 316 66FBE57D2FDA4F0E00F515B4 = {
255 CreatedOnToolsVersion = 26.0.1; 317 CreatedOnToolsVersion = 26.0.1;
256 }; 318 };
@@ -275,11 +337,19 @@ @@ -275,11 +337,19 @@
275 targets = ( 337 targets = (
276 66FBE57D2FDA4F0E00F515B4 /* Runner */, 338 66FBE57D2FDA4F0E00F515B4 /* Runner */,
277 66FBE58A2FDA4F0F00F515B4 /* Runner Watch App */, 339 66FBE58A2FDA4F0F00F515B4 /* Runner Watch App */,
  340 + 661A0D322FE2AB340026EEBB /* hippo-watch-extensionExtension */,
278 ); 341 );
279 }; 342 };
280 /* End PBXProject section */ 343 /* End PBXProject section */
281 344
282 /* Begin PBXResourcesBuildPhase section */ 345 /* Begin PBXResourcesBuildPhase section */
  346 + 661A0D312FE2AB340026EEBB /* Resources */ = {
  347 + isa = PBXResourcesBuildPhase;
  348 + buildActionMask = 2147483647;
  349 + files = (
  350 + );
  351 + runOnlyForDeploymentPostprocessing = 0;
  352 + };
283 66FBE57C2FDA4F0E00F515B4 /* Resources */ = { 353 66FBE57C2FDA4F0E00F515B4 /* Resources */ = {
284 isa = PBXResourcesBuildPhase; 354 isa = PBXResourcesBuildPhase;
285 buildActionMask = 2147483647; 355 buildActionMask = 2147483647;
@@ -305,10 +375,14 @@ @@ -305,10 +375,14 @@
305 inputFileListPaths = ( 375 inputFileListPaths = (
306 "${PODS_ROOT}/Target Support Files/Pods-Runner Watch App/Pods-Runner Watch App-frameworks-${CONFIGURATION}-input-files.xcfilelist", 376 "${PODS_ROOT}/Target Support Files/Pods-Runner Watch App/Pods-Runner Watch App-frameworks-${CONFIGURATION}-input-files.xcfilelist",
307 ); 377 );
  378 + inputPaths = (
  379 + );
308 name = "[CP] Embed Pods Frameworks"; 380 name = "[CP] Embed Pods Frameworks";
309 outputFileListPaths = ( 381 outputFileListPaths = (
310 "${PODS_ROOT}/Target Support Files/Pods-Runner Watch App/Pods-Runner Watch App-frameworks-${CONFIGURATION}-output-files.xcfilelist", 382 "${PODS_ROOT}/Target Support Files/Pods-Runner Watch App/Pods-Runner Watch App-frameworks-${CONFIGURATION}-output-files.xcfilelist",
311 ); 383 );
  384 + outputPaths = (
  385 + );
312 runOnlyForDeploymentPostprocessing = 0; 386 runOnlyForDeploymentPostprocessing = 0;
313 shellPath = /bin/sh; 387 shellPath = /bin/sh;
314 shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner Watch App/Pods-Runner Watch App-frameworks.sh\"\n"; 388 shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner Watch App/Pods-Runner Watch App-frameworks.sh\"\n";
@@ -322,10 +396,14 @@ @@ -322,10 +396,14 @@
322 inputFileListPaths = ( 396 inputFileListPaths = (
323 "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", 397 "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
324 ); 398 );
  399 + inputPaths = (
  400 + );
325 name = "[CP] Embed Pods Frameworks"; 401 name = "[CP] Embed Pods Frameworks";
326 outputFileListPaths = ( 402 outputFileListPaths = (
327 "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", 403 "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
328 ); 404 );
  405 + outputPaths = (
  406 + );
329 runOnlyForDeploymentPostprocessing = 0; 407 runOnlyForDeploymentPostprocessing = 0;
330 shellPath = /bin/sh; 408 shellPath = /bin/sh;
331 shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; 409 shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
@@ -418,10 +496,14 @@ @@ -418,10 +496,14 @@
418 inputFileListPaths = ( 496 inputFileListPaths = (
419 "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist", 497 "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist",
420 ); 498 );
  499 + inputPaths = (
  500 + );
421 name = "[CP] Copy Pods Resources"; 501 name = "[CP] Copy Pods Resources";
422 outputFileListPaths = ( 502 outputFileListPaths = (
423 "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist", 503 "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist",
424 ); 504 );
  505 + outputPaths = (
  506 + );
425 runOnlyForDeploymentPostprocessing = 0; 507 runOnlyForDeploymentPostprocessing = 0;
426 shellPath = /bin/sh; 508 shellPath = /bin/sh;
427 shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n"; 509 shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n";
@@ -430,6 +512,13 @@ @@ -430,6 +512,13 @@
430 /* End PBXShellScriptBuildPhase section */ 512 /* End PBXShellScriptBuildPhase section */
431 513
432 /* Begin PBXSourcesBuildPhase section */ 514 /* Begin PBXSourcesBuildPhase section */
  515 + 661A0D2F2FE2AB340026EEBB /* Sources */ = {
  516 + isa = PBXSourcesBuildPhase;
  517 + buildActionMask = 2147483647;
  518 + files = (
  519 + );
  520 + runOnlyForDeploymentPostprocessing = 0;
  521 + };
433 66FBE57A2FDA4F0E00F515B4 /* Sources */ = { 522 66FBE57A2FDA4F0E00F515B4 /* Sources */ = {
434 isa = PBXSourcesBuildPhase; 523 isa = PBXSourcesBuildPhase;
435 buildActionMask = 2147483647; 524 buildActionMask = 2147483647;
@@ -441,15 +530,17 @@ @@ -441,15 +530,17 @@
441 isa = PBXSourcesBuildPhase; 530 isa = PBXSourcesBuildPhase;
442 buildActionMask = 2147483647; 531 buildActionMask = 2147483647;
443 files = ( 532 files = (
444 - 66FB19022FDBC80100F515B4 /* DFWatchFigmaDetailViews.swift in Sources */,  
445 - 66FB19012FDBC80100F515B4 /* DFWatchFigmaHomeViews.swift in Sources */,  
446 - 66FB19002FDBC80100F515B4 /* DFWatchFigmaTokens.swift in Sources */,  
447 ); 533 );
448 runOnlyForDeploymentPostprocessing = 0; 534 runOnlyForDeploymentPostprocessing = 0;
449 }; 535 };
450 /* End PBXSourcesBuildPhase section */ 536 /* End PBXSourcesBuildPhase section */
451 537
452 /* Begin PBXTargetDependency section */ 538 /* Begin PBXTargetDependency section */
  539 + 661A0D3F2FE2AB360026EEBB /* PBXTargetDependency */ = {
  540 + isa = PBXTargetDependency;
  541 + target = 661A0D322FE2AB340026EEBB /* hippo-watch-extensionExtension */;
  542 + targetProxy = 661A0D3E2FE2AB360026EEBB /* PBXContainerItemProxy */;
  543 + };
453 66569B6F2FE27D0400B7E33C /* PBXTargetDependency */ = { 544 66569B6F2FE27D0400B7E33C /* PBXTargetDependency */ = {
454 isa = PBXTargetDependency; 545 isa = PBXTargetDependency;
455 target = 66FBE58A2FDA4F0F00F515B4 /* Runner Watch App */; 546 target = 66FBE58A2FDA4F0F00F515B4 /* Runner Watch App */;
@@ -458,6 +549,75 @@ @@ -458,6 +549,75 @@
458 /* End PBXTargetDependency section */ 549 /* End PBXTargetDependency section */
459 550
460 /* Begin XCBuildConfiguration section */ 551 /* Begin XCBuildConfiguration section */
  552 + 661A0D422FE2AB360026EEBB /* Debug */ = {
  553 + isa = XCBuildConfiguration;
  554 + buildSettings = {
  555 + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
  556 + ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground;
  557 + CODE_SIGN_STYLE = Automatic;
  558 + CURRENT_PROJECT_VERSION = 23;
  559 + DEVELOPMENT_TEAM = ZRPLMC329K;
  560 + ENABLE_USER_SCRIPT_SANDBOXING = YES;
  561 + GENERATE_INFOPLIST_FILE = YES;
  562 + INFOPLIST_FILE = "hippo-watch-extension/Info.plist";
  563 + INFOPLIST_KEY_CFBundleDisplayName = "hippo-watch-extension";
  564 + INFOPLIST_KEY_NSHumanReadableCopyright = "";
  565 + LD_RUNPATH_SEARCH_PATHS = (
  566 + "$(inherited)",
  567 + "@executable_path/Frameworks",
  568 + "@executable_path/../../Frameworks",
  569 + "@executable_path/../../../../Frameworks",
  570 + );
  571 + MARKETING_VERSION = 1.0;
  572 + PRODUCT_BUNDLE_IDENTIFIER = "com.luiz.doublefeel.watchkitapp.hippo-watch-extension";
  573 + PRODUCT_NAME = "$(TARGET_NAME)";
  574 + SDKROOT = watchos;
  575 + SKIP_INSTALL = YES;
  576 + STRING_CATALOG_GENERATE_SYMBOLS = YES;
  577 + SWIFT_APPROACHABLE_CONCURRENCY = YES;
  578 + SWIFT_EMIT_LOC_STRINGS = YES;
  579 + SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
  580 + SWIFT_VERSION = 5.0;
  581 + TARGETED_DEVICE_FAMILY = 4;
  582 + WATCHOS_DEPLOYMENT_TARGET = 26.0;
  583 + };
  584 + name = Debug;
  585 + };
  586 + 661A0D432FE2AB360026EEBB /* Release */ = {
  587 + isa = XCBuildConfiguration;
  588 + buildSettings = {
  589 + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
  590 + ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground;
  591 + CODE_SIGN_STYLE = Automatic;
  592 + CURRENT_PROJECT_VERSION = 23;
  593 + DEVELOPMENT_TEAM = ZRPLMC329K;
  594 + ENABLE_USER_SCRIPT_SANDBOXING = YES;
  595 + GENERATE_INFOPLIST_FILE = YES;
  596 + INFOPLIST_FILE = "hippo-watch-extension/Info.plist";
  597 + INFOPLIST_KEY_CFBundleDisplayName = "hippo-watch-extension";
  598 + INFOPLIST_KEY_NSHumanReadableCopyright = "";
  599 + LD_RUNPATH_SEARCH_PATHS = (
  600 + "$(inherited)",
  601 + "@executable_path/Frameworks",
  602 + "@executable_path/../../Frameworks",
  603 + "@executable_path/../../../../Frameworks",
  604 + );
  605 + MARKETING_VERSION = 1.0;
  606 + PRODUCT_BUNDLE_IDENTIFIER = "com.luiz.doublefeel.watchkitapp.hippo-watch-extension";
  607 + PRODUCT_NAME = "$(TARGET_NAME)";
  608 + SDKROOT = watchos;
  609 + SKIP_INSTALL = YES;
  610 + STRING_CATALOG_GENERATE_SYMBOLS = YES;
  611 + SWIFT_APPROACHABLE_CONCURRENCY = YES;
  612 + SWIFT_EMIT_LOC_STRINGS = YES;
  613 + SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
  614 + SWIFT_VERSION = 5.0;
  615 + TARGETED_DEVICE_FAMILY = 4;
  616 + VALIDATE_PRODUCT = YES;
  617 + WATCHOS_DEPLOYMENT_TARGET = 26.0;
  618 + };
  619 + name = Release;
  620 + };
461 66FBE5962FDA4F1000F515B4 /* Debug */ = { 621 66FBE5962FDA4F1000F515B4 /* Debug */ = {
462 isa = XCBuildConfiguration; 622 isa = XCBuildConfiguration;
463 buildSettings = { 623 buildSettings = {
@@ -580,14 +740,16 @@ @@ -580,14 +740,16 @@
580 buildSettings = { 740 buildSettings = {
581 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 741 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
582 ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; 742 ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
583 - CODE_SIGN_ENTITLEMENTS = "Runner Watch App/Runner Watch App.entitlements"; 743 + CODE_SIGN_ENTITLEMENTS = "Runner Watch App/Runner Watch AppDebug.entitlements";
584 CODE_SIGN_STYLE = Automatic; 744 CODE_SIGN_STYLE = Automatic;
585 CURRENT_PROJECT_VERSION = 23; 745 CURRENT_PROJECT_VERSION = 23;
586 DEVELOPMENT_TEAM = ZRPLMC329K; 746 DEVELOPMENT_TEAM = ZRPLMC329K;
587 ENABLE_PREVIEWS = YES; 747 ENABLE_PREVIEWS = YES;
588 GENERATE_INFOPLIST_FILE = YES; 748 GENERATE_INFOPLIST_FILE = YES;
  749 + INFOPLIST_FILE = "Runner-Watch-App-Info.plist";
589 INFOPLIST_KEY_CFBundleDisplayName = DoubleFeel; 750 INFOPLIST_KEY_CFBundleDisplayName = DoubleFeel;
590 INFOPLIST_KEY_NSHealthShareUsageDescription = "需要访问健康数据以显示步数、hrv等信息"; 751 INFOPLIST_KEY_NSHealthShareUsageDescription = "需要访问健康数据以显示步数、hrv等信息";
  752 + INFOPLIST_KEY_NSHealthUpdateUsageDescription = "需要写入少量健康数据权限以保持与旧版 Apple Health 同步流程兼容。";
591 INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; 753 INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown";
592 INFOPLIST_KEY_WKCompanionAppBundleIdentifier = com.luiz.doublefeel; 754 INFOPLIST_KEY_WKCompanionAppBundleIdentifier = com.luiz.doublefeel;
593 LD_RUNPATH_SEARCH_PATHS = ( 755 LD_RUNPATH_SEARCH_PATHS = (
@@ -623,8 +785,10 @@ @@ -623,8 +785,10 @@
623 DEVELOPMENT_TEAM = ZRPLMC329K; 785 DEVELOPMENT_TEAM = ZRPLMC329K;
624 ENABLE_PREVIEWS = YES; 786 ENABLE_PREVIEWS = YES;
625 GENERATE_INFOPLIST_FILE = YES; 787 GENERATE_INFOPLIST_FILE = YES;
  788 + INFOPLIST_FILE = "Runner-Watch-App-Info.plist";
626 INFOPLIST_KEY_CFBundleDisplayName = DoubleFeel; 789 INFOPLIST_KEY_CFBundleDisplayName = DoubleFeel;
627 INFOPLIST_KEY_NSHealthShareUsageDescription = "需要访问健康数据以显示步数、hrv等信息"; 790 INFOPLIST_KEY_NSHealthShareUsageDescription = "需要访问健康数据以显示步数、hrv等信息";
  791 + INFOPLIST_KEY_NSHealthUpdateUsageDescription = "需要写入少量健康数据权限以保持与旧版 Apple Health 同步流程兼容。";
628 INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown"; 792 INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown";
629 INFOPLIST_KEY_WKCompanionAppBundleIdentifier = com.luiz.doublefeel; 793 INFOPLIST_KEY_WKCompanionAppBundleIdentifier = com.luiz.doublefeel;
630 LD_RUNPATH_SEARCH_PATHS = ( 794 LD_RUNPATH_SEARCH_PATHS = (
@@ -800,6 +964,15 @@ @@ -800,6 +964,15 @@
800 /* End XCBuildConfiguration section */ 964 /* End XCBuildConfiguration section */
801 965
802 /* Begin XCConfigurationList section */ 966 /* Begin XCConfigurationList section */
  967 + 661A0D412FE2AB360026EEBB /* Build configuration list for PBXNativeTarget "hippo-watch-extensionExtension" */ = {
  968 + isa = XCConfigurationList;
  969 + buildConfigurations = (
  970 + 661A0D422FE2AB360026EEBB /* Debug */,
  971 + 661A0D432FE2AB360026EEBB /* Release */,
  972 + );
  973 + defaultConfigurationIsVisible = 0;
  974 + defaultConfigurationName = Release;
  975 + };
803 66FBE5792FDA4F0E00F515B4 /* Build configuration list for PBXProject "Runner" */ = { 976 66FBE5792FDA4F0E00F515B4 /* Build configuration list for PBXProject "Runner" */ = {
804 isa = XCConfigurationList; 977 isa = XCConfigurationList;
805 buildConfigurations = ( 978 buildConfigurations = (
@@ -32,7 +32,7 @@ @@ -32,7 +32,7 @@
32 shouldAutocreateTestPlan = "YES"> 32 shouldAutocreateTestPlan = "YES">
33 </TestAction> 33 </TestAction>
34 <LaunchAction 34 <LaunchAction
35 - buildConfiguration = "Release" 35 + buildConfiguration = "Debug"
36 selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" 36 selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
37 selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" 37 selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
38 customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit" 38 customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
@@ -18,13 +18,16 @@ typealias FlutterBridgeMethod = ((_ params: Any?, _ result: FlutterResult) -> Vo @@ -18,13 +18,16 @@ typealias FlutterBridgeMethod = ((_ params: Any?, _ result: FlutterResult) -> Vo
18 @Observable 18 @Observable
19 class AppDelegate: NSObject, UIApplicationDelegate { 19 class AppDelegate: NSObject, UIApplicationDelegate {
20 20
  21 + private(set) var enginInitError: String?
  22 +
21 enum FlutterBridgeMethodName: String{ 23 enum FlutterBridgeMethodName: String{
22 case verifyPayment 24 case verifyPayment
23 } 25 }
24 private var methods: [String: FlutterBridgeMethod] = [:] 26 private var methods: [String: FlutterBridgeMethod] = [:]
25 27
26 - let flutterEngine: FlutterEngine = FlutterEngine(name: "main_flutter_engine") 28 + var flutterEngine: FlutterEngine?
27 var channel: FlutterMethodChannel? 29 var channel: FlutterMethodChannel?
  30 + private var isFlutterEngineReady = false
28 31
29 func application( 32 func application(
30 _ application: UIApplication, 33 _ application: UIApplication,
@@ -32,21 +35,36 @@ class AppDelegate: NSObject, UIApplicationDelegate { @@ -32,21 +35,36 @@ class AppDelegate: NSObject, UIApplicationDelegate {
32 ) -> Bool { 35 ) -> Bool {
33 AppShared.shared.agent.genUA() 36 AppShared.shared.agent.genUA()
34 AppShared.shared.payment.delegate = self 37 AppShared.shared.payment.delegate = self
  38 + _ = AppShared.shared.payment.listenForTransactions()
35 39
36 UIApplication.shared.registerForRemoteNotifications() 40 UIApplication.shared.registerForRemoteNotifications()
37 UNUserNotificationCenter.current().setBadgeCount(0) 41 UNUserNotificationCenter.current().setBadgeCount(0)
38 UNUserNotificationCenter.current().delegate = self 42 UNUserNotificationCenter.current().delegate = self
39 requestIDFAAuthorization() 43 requestIDFAAuthorization()
40 44
  45 + WatchConnectivityService.shared.activate()
  46 + HealthKitService.shared.startBackgroundObserversIfNeeded()
  47 + return true
  48 + }
  49 +
  50 + func warmUpFlutterEngineIfNeeded() {
  51 + guard !isFlutterEngineReady else {
  52 + enginInitError = nil
  53 + return
  54 + }
  55 + flutterEngine = FlutterEngine(name: "main_flutter_engine")
  56 + guard let flutterEngine else{
  57 + enginInitError = "engin 初始化失败"
  58 + return
  59 + }
  60 + isFlutterEngineReady = true
41 flutterEngine.run() 61 flutterEngine.run()
42 GeneratedPluginRegistrant.register(with: flutterEngine) 62 GeneratedPluginRegistrant.register(with: flutterEngine)
43 NativePigeonRegistrar.register(binaryMessenger: flutterEngine.binaryMessenger) 63 NativePigeonRegistrar.register(binaryMessenger: flutterEngine.binaryMessenger)
44 channel = FlutterMethodChannel(name: "doublefeel_flutter_main_channel", binaryMessenger: flutterEngine.binaryMessenger) 64 channel = FlutterMethodChannel(name: "doublefeel_flutter_main_channel", binaryMessenger: flutterEngine.binaryMessenger)
45 methods = defaultMethods() 65 methods = defaultMethods()
46 66
47 - WatchConnectivityService.shared.activate()  
48 - HealthKitService.shared.startBackgroundObserversIfNeeded()  
49 - return true 67 + enginInitError = nil
50 } 68 }
51 69
52 func application(_ application: UIApplication, 70 func application(_ application: UIApplication,
@@ -6,6 +6,7 @@ @@ -6,6 +6,7 @@
6 // 6 //
7 7
8 import SwiftUI 8 import SwiftUI
  9 +import UIKit
9 10
10 @main 11 @main
11 struct RunnerApp: App { 12 struct RunnerApp: App {
@@ -13,11 +14,96 @@ struct RunnerApp: App { @@ -13,11 +14,96 @@ struct RunnerApp: App {
13 14
14 var body: some Scene { 15 var body: some Scene {
15 WindowGroup { 16 WindowGroup {
16 - FlutterRootView(engine:appDelegate.flutterEngine )  
17 - .ignoresSafeArea()  
18 - .onAppear {  
19 - _ = AppShared.shared.payment.listenForTransactions() 17 + RunnerLaunchView(appDelegate: appDelegate)
  18 + }
  19 + }
  20 +}
  21 +
  22 +private struct RunnerLaunchView: View {
  23 + let appDelegate: AppDelegate
  24 +
  25 + @State private var showFlutter = false
  26 + @State private var didStart = false
  27 +
  28 + var body: some View {
  29 + Group {
  30 + if showFlutter {
  31 + if let flutterEngine = appDelegate.flutterEngine{
  32 + FlutterRootView(engine: flutterEngine)
  33 + .ignoresSafeArea()
  34 + }else{
  35 + VStack{
  36 + Text("Engin init error: \(appDelegate.enginInitError ?? "-")")
  37 + Button {
  38 + appDelegate.warmUpFlutterEngineIfNeeded()
  39 + } label: {
  40 + Text("Engin 重载")
  41 + }
  42 + }
20 } 43 }
  44 + } else {
  45 + SplashView()
  46 + .onAppear(perform: startIfNeeded)
  47 + }
21 } 48 }
22 } 49 }
  50 +
  51 + private func startIfNeeded() {
  52 + guard !didStart else {
  53 + return
  54 + }
  55 + didStart = true
  56 +
  57 + DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) {
  58 + appDelegate.warmUpFlutterEngineIfNeeded()
  59 + withAnimation(.easeInOut(duration: 0.2)) {
  60 + showFlutter = true
  61 + }
  62 + }
  63 + }
  64 +}
  65 +
  66 +private struct SplashView: View {
  67 + var body: some View {
  68 + ZStack(alignment: .top) {
  69 + Color.white
  70 + .ignoresSafeArea()
  71 +
  72 + AppLogoView()
  73 + .padding(.top, 96)
  74 + }
  75 + }
  76 +}
  77 +
  78 +private struct AppLogoView: View {
  79 + var body: some View {
  80 + if let image = Bundle.main.appIconImage {
  81 + Image(uiImage: image)
  82 + .resizable()
  83 + .scaledToFit()
  84 + .frame(width: 96, height: 96)
  85 + .clipShape(RoundedRectangle(cornerRadius: 22, style: .continuous))
  86 + } else {
  87 + Text("DoubleFeel")
  88 + .font(.system(size: 28, weight: .semibold))
  89 + .foregroundStyle(.primary)
  90 + }
  91 + }
  92 +}
  93 +
  94 +private extension Bundle {
  95 + var appIconImage: UIImage? {
  96 + if let image = UIImage(named: "AppIcon") {
  97 + return image
  98 + }
  99 +
  100 + guard let icons = infoDictionary?["CFBundleIcons"] as? [String: Any],
  101 + let primaryIcon = icons["CFBundlePrimaryIcon"] as? [String: Any],
  102 + let iconFiles = primaryIcon["CFBundleIconFiles"] as? [String],
  103 + let iconName = iconFiles.last else {
  104 + return nil
  105 + }
  106 +
  107 + return UIImage(named: iconName)
  108 + }
23 } 109 }
  1 +{
  2 + "colors" : [
  3 + {
  4 + "idiom" : "universal"
  5 + }
  6 + ],
  7 + "info" : {
  8 + "author" : "xcode",
  9 + "version" : 1
  10 + }
  11 +}
  1 +{
  2 + "images" : [
  3 + {
  4 + "idiom" : "universal",
  5 + "platform" : "watchos",
  6 + "size" : "1024x1024"
  7 + }
  8 + ],
  9 + "info" : {
  10 + "author" : "xcode",
  11 + "version" : 1
  12 + }
  13 +}
  1 +{
  2 + "info" : {
  3 + "author" : "xcode",
  4 + "version" : 1
  5 + }
  6 +}
  1 +{
  2 + "colors" : [
  3 + {
  4 + "idiom" : "universal"
  5 + }
  6 + ],
  7 + "info" : {
  8 + "author" : "xcode",
  9 + "version" : 1
  10 + }
  11 +}
  1 +//
  2 +// DFCoupleMiniCard.swift
  3 +// hippo-watch-extension
  4 +//
  5 +
  6 +import SwiftUI
  7 +
  8 +struct DFCoupleMiniCard: View {
  9 + let name: String
  10 + let status: DFStressStatus
  11 + let value: String
  12 +
  13 + var body: some View {
  14 + HStack(spacing: 5) {
  15 + DFStatusOrb(status: status, value: "")
  16 + .frame(width: 30, height: 30)
  17 + VStack(alignment: .leading, spacing: 1) {
  18 + Text(status.title)
  19 + .font(.system(size: 10, weight: .semibold))
  20 + .foregroundStyle(status.color)
  21 + .lineLimit(1)
  22 + .minimumScaleFactor(0.7)
  23 + Text(name)
  24 + .font(.system(size: 8, weight: .medium))
  25 + .foregroundStyle(.white)
  26 + .lineLimit(1)
  27 + Text(value)
  28 + .font(.system(size: 8, weight: .regular))
  29 + .foregroundStyle(.white.opacity(0.78))
  30 + }
  31 + }
  32 + .frame(maxWidth: .infinity, alignment: .leading)
  33 + }
  34 +}
  1 +//
  2 +// DFCoupleStressFaceView.swift
  3 +// hippo-watch-extension
  4 +//
  5 +
  6 +import SwiftUI
  7 +
  8 +struct DFCoupleStressFaceView: View {
  9 + let entry: DFWatchFaceEntry
  10 +
  11 + var body: some View {
  12 + GeometryReader { proxy in
  13 + let scale = min(proxy.size.width / 172, proxy.size.height / 74)
  14 + VStack(spacing: 5 * scale) {
  15 + HStack {
  16 + Text(entry.data.hasData ? "我们的状态 · HRV" : "我们的状态 · 实时")
  17 + .font(.system(size: 10 * scale, weight: .medium))
  18 + .foregroundStyle(.white.opacity(0.68))
  19 + Spacer()
  20 + Text(entry.date, style: .time)
  21 + .font(.system(size: 10 * scale, weight: .medium))
  22 + .foregroundStyle(.white)
  23 + }
  24 + HStack(spacing: 6 * scale) {
  25 + DFCoupleMiniCard(
  26 + name: entry.data.partnerName,
  27 + status: entry.data.partnerStatus,
  28 + value: entry.data.hasData ? "\(entry.data.partnerHRV)ms" : "--"
  29 + )
  30 + DFCoupleMiniCard(
  31 + name: entry.data.myName,
  32 + status: entry.data.myStatus,
  33 + value: entry.data.hasData ? "\(entry.data.myHRV)ms" : "--"
  34 + )
  35 + }
  36 + }
  37 + .padding(.horizontal, 8)
  38 + .frame(maxWidth: .infinity, maxHeight: .infinity)
  39 + }
  40 + }
  41 +}
  1 +//
  2 +// DFCoupleStressWidget.swift
  3 +// hippo-watch-extension
  4 +//
  5 +
  6 +import WidgetKit
  7 +import SwiftUI
  8 +
  9 +struct DFCoupleStressWidget: Widget {
  10 + var body: some WidgetConfiguration {
  11 + StaticConfiguration(kind: DFWatchFaceKind.coupleStress.widgetKind, provider: DFWatchFaceProvider(face: .coupleStress)) { entry in
  12 + DFWatchFaceEntryView(entry: entry)
  13 + }
  14 + .configurationDisplayName(DFWatchFaceKind.coupleStress.displayName)
  15 + .description(DFWatchFaceKind.coupleStress.description)
  16 + .supportedFamilies([.accessoryRectangular, .accessoryCircular, .accessoryCorner, .accessoryInline])
  17 + }
  18 +}
  1 +//
  2 +// DFDefaultHomeFaceView.swift
  3 +// hippo-watch-extension
  4 +//
  5 +
  6 +import SwiftUI
  7 +
  8 +struct DFDefaultHomeFaceView: View {
  9 + let entry: DFWatchFaceEntry
  10 +
  11 + var body: some View {
  12 + GeometryReader { proxy in
  13 + let scale = min(proxy.size.width / 172, proxy.size.height / 74)
  14 + HStack(spacing: 8 * scale) {
  15 + VStack(alignment: .leading, spacing: 2 * scale) {
  16 + HStack(spacing: 4 * scale) {
  17 + Text(entry.date, format: .dateTime.weekday(.abbreviated))
  18 + .foregroundStyle(DFWatchFaceColor.purple)
  19 + Text(entry.date, format: .dateTime.day())
  20 + .foregroundStyle(.white)
  21 + }
  22 + .font(.system(size: 11 * scale, weight: .semibold))
  23 +
  24 + Text(entry.date, style: .time)
  25 + .font(.system(size: 25 * scale, weight: .medium, design: .rounded))
  26 + .foregroundStyle(.white)
  27 + .lineLimit(1)
  28 + .minimumScaleFactor(0.7)
  29 +
  30 + DFSegmentBar(selected: entry.data.hasData ? entry.data.myStatus : nil)
  31 + .frame(height: 7 * scale)
  32 + }
  33 +
  34 + VStack(alignment: .trailing, spacing: 5 * scale) {
  35 + HStack(spacing: 5 * scale) {
  36 + DFMiniMetric(value: entry.data.hasData ? "\(entry.data.heartRate)" : "0", icon: "heart.fill", tint: DFWatchFaceColor.red)
  37 + DFMiniMetric(value: "\(entry.data.closePercent)", icon: "sparkles", tint: DFWatchFaceColor.purple)
  38 + DFMiniMetric(value: entry.data.hasData ? shortSteps(entry.data.steps) : "0", icon: "shoeprints.fill", tint: DFWatchFaceColor.green)
  39 + }
  40 + Text(entry.data.hasData ? "\(entry.data.myStatus.title) · \(entry.data.hrvValue)ms" : "暂无数据 · --ms")
  41 + .font(.system(size: 10 * scale, weight: .semibold))
  42 + .foregroundStyle(entry.data.hasData ? entry.data.myStatus.color : DFWatchFaceColor.grayText)
  43 + .lineLimit(1)
  44 + .minimumScaleFactor(0.7)
  45 + Text(entry.data.hasData ? entry.data.hrvTime : "--:--")
  46 + .font(.system(size: 9 * scale, weight: .medium))
  47 + .foregroundStyle(.white.opacity(0.78))
  48 + }
  49 + }
  50 + .frame(maxWidth: .infinity, maxHeight: .infinity)
  51 + .padding(.horizontal, 6)
  52 + }
  53 + }
  54 +
  55 + private func shortSteps(_ steps: Int) -> String {
  56 + steps >= 1000 ? "\(steps / 1000)k" : "\(steps)"
  57 + }
  58 +}
  1 +//
  2 +// DFDefaultHomeWidget.swift
  3 +// hippo-watch-extension
  4 +//
  5 +
  6 +import WidgetKit
  7 +import SwiftUI
  8 +
  9 +struct DFDefaultHomeWidget: Widget {
  10 + var body: some WidgetConfiguration {
  11 + StaticConfiguration(kind: DFWatchFaceKind.defaultHome.widgetKind, provider: DFWatchFaceProvider(face: .defaultHome)) { entry in
  12 + DFWatchFaceEntryView(entry: entry)
  13 + }
  14 + .configurationDisplayName(DFWatchFaceKind.defaultHome.displayName)
  15 + .description(DFWatchFaceKind.defaultHome.description)
  16 + .supportedFamilies([.accessoryRectangular, .accessoryCircular, .accessoryCorner, .accessoryInline])
  17 + }
  18 +}
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  3 +<plist version="1.0">
  4 +<dict>
  5 + <key>NSExtension</key>
  6 + <dict>
  7 + <key>NSExtensionPointIdentifier</key>
  8 + <string>com.apple.widgetkit-extension</string>
  9 + </dict>
  10 +</dict>
  11 +</plist>
  1 +//
  2 +// DFMiniMetric.swift
  3 +// hippo-watch-extension
  4 +//
  5 +
  6 +import SwiftUI
  7 +
  8 +struct DFMiniMetric: View {
  9 + let value: String
  10 + let icon: String
  11 + let tint: Color
  12 +
  13 + var body: some View {
  14 + VStack(spacing: 1) {
  15 + Image(systemName: icon)
  16 + .font(.system(size: 9, weight: .semibold))
  17 + Text(value)
  18 + .font(.system(size: 8, weight: .bold, design: .rounded))
  19 + .lineLimit(1)
  20 + .minimumScaleFactor(0.7)
  21 + }
  22 + .foregroundStyle(.white)
  23 + .frame(width: 24, height: 24)
  24 + .background(tint.opacity(0.26), in: Circle())
  25 + .overlay(Circle().stroke(tint, lineWidth: 1))
  26 + }
  27 +}
  1 +//
  2 +// DFSegmentBar.swift
  3 +// hippo-watch-extension
  4 +//
  5 +
  6 +import SwiftUI
  7 +
  8 +struct DFSegmentBar: View {
  9 + let selected: DFStressStatus?
  10 + private let kinds: [DFStressStatus] = [.overloaded, .little, .normal, .excellent]
  11 +
  12 + var body: some View {
  13 + if selected == nil {
  14 + Capsule()
  15 + .fill(DFWatchFaceColor.grayBar)
  16 + } else {
  17 + GeometryReader { proxy in
  18 + HStack(spacing: 2) {
  19 + ForEach(kinds, id: \.rawValue) { kind in
  20 + Capsule()
  21 + .fill(kind.color)
  22 + .frame(width: segmentWidth(kind: kind, totalWidth: proxy.size.width))
  23 + .overlay {
  24 + if selected == kind {
  25 + Capsule()
  26 + .stroke(kind.color, lineWidth: 3)
  27 + .background(Capsule().fill(Color.black))
  28 + .frame(width: 10, height: 10)
  29 + }
  30 + }
  31 + }
  32 + }
  33 + }
  34 + }
  35 + }
  36 +
  37 + private func segmentWidth(kind: DFStressStatus, totalWidth: CGFloat) -> CGFloat {
  38 + guard let selected else {
  39 + return totalWidth
  40 + }
  41 + let spacing: CGFloat = 6
  42 + let extra: CGFloat = totalWidth * 0.18
  43 + let base = (totalWidth - spacing - extra) / CGFloat(kinds.count)
  44 + return selected == kind ? base + extra : base
  45 + }
  46 +}
  1 +//
  2 +// DFStatusOrb.swift
  3 +// hippo-watch-extension
  4 +//
  5 +
  6 +import SwiftUI
  7 +
  8 +struct DFStatusOrb: View {
  9 + let status: DFStressStatus
  10 + let value: String
  11 +
  12 + var body: some View {
  13 + ZStack {
  14 + Circle()
  15 + .fill(status.color.opacity(0.16))
  16 + Circle()
  17 + .stroke(status.color.opacity(0.34), lineWidth: 5)
  18 + Circle()
  19 + .trim(from: 0.12, to: 0.82)
  20 + .stroke(status.color, style: StrokeStyle(lineWidth: 5, lineCap: .round))
  21 + .rotationEffect(.degrees(110))
  22 + if value.isEmpty {
  23 + Image(systemName: "heart.text.square.fill")
  24 + .font(.system(size: 12, weight: .semibold))
  25 + .foregroundStyle(status.color)
  26 + } else {
  27 + VStack(spacing: -1) {
  28 + Text(value)
  29 + .font(.system(size: 14, weight: .bold, design: .rounded))
  30 + .foregroundStyle(.white)
  31 + Text("ms")
  32 + .font(.system(size: 7, weight: .medium))
  33 + .foregroundStyle(.white.opacity(0.74))
  34 + }
  35 + }
  36 + }
  37 + }
  38 +}
  1 +//
  2 +// DFWatchFaceEntry.swift
  3 +// hippo-watch-extension
  4 +//
  5 +
  6 +import WidgetKit
  7 +
  8 +struct DFWatchFaceEntry: TimelineEntry {
  9 + let date: Date
  10 + let face: DFWatchFaceKind
  11 + let data: DFWatchFaceData
  12 +}
  1 +//
  2 +// DFWatchFaceEntryView.swift
  3 +// hippo-watch-extension
  4 +//
  5 +
  6 +import WidgetKit
  7 +import SwiftUI
  8 +
  9 +struct DFWatchFaceEntryView: View {
  10 + @Environment(\.widgetFamily) private var family
  11 + let entry: DFWatchFaceEntry
  12 +
  13 + var body: some View {
  14 + Group {
  15 + switch family {
  16 + case .accessoryInline:
  17 + inlineView
  18 + case .accessoryCircular, .accessoryCorner:
  19 + circularView
  20 + default:
  21 + rectangularView
  22 + }
  23 + }
  24 + .containerBackground(DFWatchFaceColor.background, for: .widget)
  25 + }
  26 +
  27 + @ViewBuilder
  28 + private var rectangularView: some View {
  29 + switch entry.face {
  30 + case .defaultHome:
  31 + DFDefaultHomeFaceView(entry: entry)
  32 + case .singleStress:
  33 + DFSingleStressFaceView(entry: entry)
  34 + case .coupleStress:
  35 + DFCoupleStressFaceView(entry: entry)
  36 + }
  37 + }
  38 +
  39 + private var circularView: some View {
  40 + let status = statusForCompactView
  41 + return ZStack {
  42 + DFWatchFaceColor.background
  43 + Circle()
  44 + .trim(from: 0.08, to: 0.86)
  45 + .stroke(status.color.opacity(0.28), style: StrokeStyle(lineWidth: 5, lineCap: .round))
  46 + .rotationEffect(.degrees(110))
  47 + Circle()
  48 + .trim(from: 0.08, to: compactProgress)
  49 + .stroke(status.color, style: StrokeStyle(lineWidth: 5, lineCap: .round))
  50 + .rotationEffect(.degrees(110))
  51 + VStack(spacing: 0) {
  52 + Image(systemName: compactIcon)
  53 + .font(.system(size: 13, weight: .semibold))
  54 + .foregroundStyle(status.color)
  55 + Text(compactValue)
  56 + .font(.system(size: 12, weight: .bold, design: .rounded))
  57 + .foregroundStyle(.white)
  58 + .minimumScaleFactor(0.7)
  59 + }
  60 + }
  61 + }
  62 +
  63 + private var inlineView: some View {
  64 + Text("\(inlineTitle) \(compactValue)")
  65 + }
  66 +
  67 + private var statusForCompactView: DFStressStatus {
  68 + switch entry.face {
  69 + case .defaultHome, .singleStress:
  70 + return entry.data.myStatus
  71 + case .coupleStress:
  72 + return entry.data.myStatus
  73 + }
  74 + }
  75 +
  76 + private var compactIcon: String {
  77 + switch entry.face {
  78 + case .defaultHome:
  79 + return "waveform.path.ecg"
  80 + case .singleStress:
  81 + return "heart.text.square.fill"
  82 + case .coupleStress:
  83 + return "person.2.fill"
  84 + }
  85 + }
  86 +
  87 + private var compactValue: String {
  88 + switch entry.face {
  89 + case .defaultHome, .singleStress:
  90 + return entry.data.hasData ? "\(entry.data.hrvValue)ms" : "--"
  91 + case .coupleStress:
  92 + return entry.data.hasData ? "\(entry.data.partnerHRV)/\(entry.data.myHRV)" : "--"
  93 + }
  94 + }
  95 +
  96 + private var compactProgress: CGFloat {
  97 + switch entry.face {
  98 + case .defaultHome, .singleStress:
  99 + return 0.08 + min(CGFloat(entry.data.hrvValue) / 100, 0.78)
  100 + case .coupleStress:
  101 + return 0.08 + min(CGFloat(entry.data.myHRV) / 100, 0.78)
  102 + }
  103 + }
  104 +
  105 + private var inlineTitle: String {
  106 + switch entry.face {
  107 + case .defaultHome:
  108 + return "HRV"
  109 + case .singleStress:
  110 + return entry.data.myStatus.title
  111 + case .coupleStress:
  112 + return "双人状态"
  113 + }
  114 + }
  115 +}
  1 +//
  2 +// DFWatchFaceMockService.swift
  3 +// hippo-watch-extension
  4 +//
  5 +
  6 +enum DFWatchFaceMockService {
  7 + static func fetch(face: DFWatchFaceKind) async -> DFWatchFaceData {
  8 + // TODO: Replace this with the real watch face API request.
  9 + switch face {
  10 + case .defaultHome:
  11 + return .placeholder
  12 + case .singleStress:
  13 + var data = DFWatchFaceData.placeholder
  14 + data.myStatus = .overloaded
  15 + data.hrvValue = 38
  16 + data.hrvTime = "16:06"
  17 + return data
  18 + case .coupleStress:
  19 + var data = DFWatchFaceData.placeholder
  20 + data.myStatus = .excellent
  21 + data.partnerStatus = .overloaded
  22 + data.myHRV = 80
  23 + data.partnerHRV = 30
  24 + return data
  25 + }
  26 + }
  27 +}
  1 +//
  2 +// DFWatchFaceModels.swift
  3 +// hippo-watch-extension
  4 +//
  5 +
  6 +import SwiftUI
  7 +
  8 +enum DFWatchFaceKind: String, CaseIterable {
  9 + case defaultHome
  10 + case singleStress
  11 + case coupleStress
  12 +
  13 + var widgetKind: String {
  14 + "hippo_watch_extension_\(rawValue)"
  15 + }
  16 +
  17 + var displayName: String {
  18 + switch self {
  19 + case .defaultHome:
  20 + return "DoubleFeel 默认表盘"
  21 + case .singleStress:
  22 + return "DoubleFeel 单人压力"
  23 + case .coupleStress:
  24 + return "DoubleFeel 双人压力"
  25 + }
  26 + }
  27 +
  28 + var description: String {
  29 + switch self {
  30 + case .defaultHome:
  31 + return "展示时间、HRV 状态和今日健康指标。"
  32 + case .singleStress:
  33 + return "展示个人实时压力状态。"
  34 + case .coupleStress:
  35 + return "展示你和另一半的压力状态。"
  36 + }
  37 + }
  38 +}
  39 +
  40 +enum DFStressStatus: String {
  41 + case excellent
  42 + case normal
  43 + case little
  44 + case overloaded
  45 +
  46 + var title: String {
  47 + switch self {
  48 + case .excellent:
  49 + return "状态优秀"
  50 + case .normal:
  51 + return "状态正常"
  52 + case .little:
  53 + return "注意压力"
  54 + case .overloaded:
  55 + return "压力过载"
  56 + }
  57 + }
  58 +
  59 + var color: Color {
  60 + switch self {
  61 + case .excellent:
  62 + return DFWatchFaceColor.green
  63 + case .normal:
  64 + return DFWatchFaceColor.blue
  65 + case .little:
  66 + return DFWatchFaceColor.orange
  67 + case .overloaded:
  68 + return DFWatchFaceColor.red
  69 + }
  70 + }
  71 +}
  72 +
  73 +struct DFWatchFaceData: Equatable {
  74 + var hasData: Bool
  75 + var hrvValue: Int
  76 + var hrvTime: String
  77 + var heartRate: Int
  78 + var steps: Int
  79 + var closePercent: Int
  80 + var myName: String
  81 + var partnerName: String
  82 + var myStatus: DFStressStatus
  83 + var partnerStatus: DFStressStatus
  84 + var myHRV: Int
  85 + var partnerHRV: Int
  86 +
  87 + static let placeholder = DFWatchFaceData(
  88 + hasData: true,
  89 + hrvValue: 38,
  90 + hrvTime: "19:04",
  91 + heartRate: 79,
  92 + steps: 2486,
  93 + closePercent: 72,
  94 + myName: "我",
  95 + partnerName: "男朋友",
  96 + myStatus: .excellent,
  97 + partnerStatus: .overloaded,
  98 + myHRV: 80,
  99 + partnerHRV: 30
  100 + )
  101 +}
  102 +
  103 +enum DFWatchFaceColor {
  104 + static let background = Color(hex: "0F0F11")
  105 + static let purple = Color(hex: "845EEE")
  106 + static let green = Color(hex: "3BD49D")
  107 + static let red = Color(hex: "FF5279")
  108 + static let orange = Color(hex: "FF9A6E")
  109 + static let blue = Color(hex: "7B9BFB")
  110 + static let grayText = Color(hex: "B0B0B6")
  111 + static let grayBar = Color(hex: "78787D")
  112 +}
  1 +//
  2 +// DFWatchFacePreviews.swift
  3 +// hippo-watch-extension
  4 +//
  5 +
  6 +import WidgetKit
  7 +import SwiftUI
  8 +
  9 +#Preview("默认表盘", as: .accessoryRectangular) {
  10 + DFDefaultHomeWidget()
  11 +} timeline: {
  12 + DFWatchFaceEntry(date: .now, face: .defaultHome, data: .placeholder)
  13 +}
  14 +
  15 +#Preview("单人压力表盘", as: .accessoryRectangular) {
  16 + DFSingleStressWidget()
  17 +} timeline: {
  18 + DFWatchFaceEntry(date: .now, face: .singleStress, data: .placeholder)
  19 +}
  20 +
  21 +#Preview("双人压力表盘", as: .accessoryRectangular) {
  22 + DFCoupleStressWidget()
  23 +} timeline: {
  24 + DFWatchFaceEntry(date: .now, face: .coupleStress, data: .placeholder)
  25 +}
  1 +//
  2 +// DFWatchFaceProvider.swift
  3 +// hippo-watch-extension
  4 +//
  5 +
  6 +import WidgetKit
  7 +
  8 +struct DFWatchFaceProvider: TimelineProvider {
  9 + let face: DFWatchFaceKind
  10 +
  11 + func placeholder(in context: Context) -> DFWatchFaceEntry {
  12 + DFWatchFaceEntry(date: .now, face: face, data: .placeholder)
  13 + }
  14 +
  15 + func getSnapshot(in context: Context, completion: @escaping (DFWatchFaceEntry) -> Void) {
  16 + completion(DFWatchFaceEntry(date: .now, face: face, data: .placeholder))
  17 + }
  18 +
  19 + func getTimeline(in context: Context, completion: @escaping (Timeline<DFWatchFaceEntry>) -> Void) {
  20 + Task {
  21 + let data = await DFWatchFaceMockService.fetch(face: face)
  22 + let entry = DFWatchFaceEntry(date: .now, face: face, data: data)
  23 + let nextRefresh = Calendar.current.date(byAdding: .minute, value: 15, to: .now) ?? .now.addingTimeInterval(900)
  24 + completion(Timeline(entries: [entry], policy: .after(nextRefresh)))
  25 + }
  26 + }
  27 +}
  1 +//
  2 +// DFSingleStressFaceView.swift
  3 +// hippo-watch-extension
  4 +//
  5 +
  6 +import SwiftUI
  7 +
  8 +struct DFSingleStressFaceView: View {
  9 + let entry: DFWatchFaceEntry
  10 +
  11 + var body: some View {
  12 + GeometryReader { proxy in
  13 + let scale = min(proxy.size.width / 172, proxy.size.height / 74)
  14 + HStack(spacing: 10 * scale) {
  15 + DFStatusOrb(status: entry.data.myStatus, value: entry.data.hasData ? "\(entry.data.hrvValue)" : "--")
  16 + .frame(width: 54 * scale, height: 54 * scale)
  17 +
  18 + VStack(alignment: .leading, spacing: 5 * scale) {
  19 + HStack {
  20 + Text("HRV")
  21 + .font(.system(size: 10 * scale, weight: .medium))
  22 + .foregroundStyle(.white.opacity(0.62))
  23 + Spacer()
  24 + Text(entry.date, style: .time)
  25 + .font(.system(size: 10 * scale, weight: .medium))
  26 + .foregroundStyle(.white)
  27 + }
  28 + Text(entry.data.hasData ? "\(entry.data.myStatus.title) · \(entry.data.hrvValue)ms" : "等待数据")
  29 + .font(.system(size: 14 * scale, weight: .semibold))
  30 + .foregroundStyle(entry.data.hasData ? entry.data.myStatus.color : DFWatchFaceColor.grayText)
  31 + .lineLimit(1)
  32 + .minimumScaleFactor(0.7)
  33 + DFSegmentBar(selected: entry.data.hasData ? entry.data.myStatus : nil)
  34 + .frame(height: 9 * scale)
  35 + Text(entry.data.hasData ? entry.data.hrvTime : "--:--")
  36 + .font(.system(size: 10 * scale, weight: .medium))
  37 + .foregroundStyle(.white.opacity(0.82))
  38 + }
  39 + }
  40 + .padding(.horizontal, 8)
  41 + .frame(maxWidth: .infinity, maxHeight: .infinity)
  42 + .background(
  43 + LinearGradient(
  44 + colors: [entry.data.myStatus.color.opacity(0.28), .clear],
  45 + startPoint: .leading,
  46 + endPoint: .trailing
  47 + )
  48 + )
  49 + }
  50 + }
  51 +}
  1 +//
  2 +// DFSingleStressWidget.swift
  3 +// hippo-watch-extension
  4 +//
  5 +
  6 +import WidgetKit
  7 +import SwiftUI
  8 +
  9 +struct DFSingleStressWidget: Widget {
  10 + var body: some WidgetConfiguration {
  11 + StaticConfiguration(kind: DFWatchFaceKind.singleStress.widgetKind, provider: DFWatchFaceProvider(face: .singleStress)) { entry in
  12 + DFWatchFaceEntryView(entry: entry)
  13 + }
  14 + .configurationDisplayName(DFWatchFaceKind.singleStress.displayName)
  15 + .description(DFWatchFaceKind.singleStress.description)
  16 + .supportedFamilies([.accessoryRectangular, .accessoryCircular, .accessoryCorner, .accessoryInline])
  17 + }
  18 +}
  1 +//
  2 +// hippo_watch_extensionBundle.swift
  3 +// hippo-watch-extension
  4 +//
  5 +// Created by 权海 on 2026/6/17.
  6 +//
  7 +
  8 +import WidgetKit
  9 +import SwiftUI
  10 +
  11 +@main
  12 +struct hippo_watch_extensionBundle: WidgetBundle {
  13 + var body: some Widget {
  14 + DFDefaultHomeWidget()
  15 + DFSingleStressWidget()
  16 + DFCoupleStressWidget()
  17 + }
  18 +}
@@ -62,8 +62,7 @@ import 'app_localizations_zh.dart'; @@ -62,8 +62,7 @@ import 'app_localizations_zh.dart';
62 /// be consistent with the languages listed in the AppLocalizations.supportedLocales 62 /// be consistent with the languages listed in the AppLocalizations.supportedLocales
63 /// property. 63 /// property.
64 abstract class AppLocalizations { 64 abstract class AppLocalizations {
65 - AppLocalizations(String locale)  
66 - : localeName = intl.Intl.canonicalizedLocale(locale.toString()); 65 + AppLocalizations(String locale) : localeName = intl.Intl.canonicalizedLocale(locale.toString());
67 66
68 final String localeName; 67 final String localeName;
69 68
@@ -71,8 +70,7 @@ abstract class AppLocalizations { @@ -71,8 +70,7 @@ abstract class AppLocalizations {
71 return Localizations.of<AppLocalizations>(context, AppLocalizations); 70 return Localizations.of<AppLocalizations>(context, AppLocalizations);
72 } 71 }
73 72
74 - static const LocalizationsDelegate<AppLocalizations> delegate =  
75 - _AppLocalizationsDelegate(); 73 + static const LocalizationsDelegate<AppLocalizations> delegate = _AppLocalizationsDelegate();
76 74
77 /// A list of this localizations delegate along with the default localizations 75 /// A list of this localizations delegate along with the default localizations
78 /// delegates. 76 /// delegates.
@@ -84,8 +82,7 @@ abstract class AppLocalizations { @@ -84,8 +82,7 @@ abstract class AppLocalizations {
84 /// Additional delegates can be added by appending to this list in 82 /// Additional delegates can be added by appending to this list in
85 /// MaterialApp. This list does not have to be used at all if a custom list 83 /// MaterialApp. This list does not have to be used at all if a custom list
86 /// of delegates is preferred or required. 84 /// of delegates is preferred or required.
87 - static const List<LocalizationsDelegate<dynamic>> localizationsDelegates =  
88 - <LocalizationsDelegate<dynamic>>[ 85 + static const List<LocalizationsDelegate<dynamic>> localizationsDelegates = <LocalizationsDelegate<dynamic>>[
89 delegate, 86 delegate,
90 GlobalMaterialLocalizations.delegate, 87 GlobalMaterialLocalizations.delegate,
91 GlobalCupertinoLocalizations.delegate, 88 GlobalCupertinoLocalizations.delegate,
@@ -528,8 +525,7 @@ abstract class AppLocalizations { @@ -528,8 +525,7 @@ abstract class AppLocalizations {
528 /// 525 ///
529 /// In zh, this message translates to: 526 /// In zh, this message translates to:
530 /// **'你们现在可以查看彼此的 HRV、压力与睡眠变化,并在对方疲惫时及时送上关心。'** 527 /// **'你们现在可以查看彼此的 HRV、压力与睡眠变化,并在对方疲惫时及时送上关心。'**
531 - String  
532 - get youCanNowViewEachOtherSHrvStressLevelsAndSleepPatternsAndReachOutToCheckInWhenTheOtherPersonSeemsTired; 528 + String get youCanNowViewEachOtherSHrvStressLevelsAndSleepPatternsAndReachOutToCheckInWhenTheOtherPersonSeemsTired;
533 529
534 /// No description provided for @bindPartnerTitle. 530 /// No description provided for @bindPartnerTitle.
535 /// 531 ///
@@ -1738,8 +1734,7 @@ abstract class AppLocalizations { @@ -1738,8 +1734,7 @@ abstract class AppLocalizations {
1738 String get dailyActions; 1734 String get dailyActions;
1739 } 1735 }
1740 1736
1741 -class _AppLocalizationsDelegate  
1742 - extends LocalizationsDelegate<AppLocalizations> { 1737 +class _AppLocalizationsDelegate extends LocalizationsDelegate<AppLocalizations> {
1743 const _AppLocalizationsDelegate(); 1738 const _AppLocalizationsDelegate();
1744 1739
1745 @override 1740 @override
@@ -1748,25 +1743,25 @@ class _AppLocalizationsDelegate @@ -1748,25 +1743,25 @@ class _AppLocalizationsDelegate
1748 } 1743 }
1749 1744
1750 @override 1745 @override
1751 - bool isSupported(Locale locale) =>  
1752 - <String>['en', 'zh'].contains(locale.languageCode); 1746 + bool isSupported(Locale locale) => <String>['en', 'zh'].contains(locale.languageCode);
1753 1747
1754 @override 1748 @override
1755 bool shouldReload(_AppLocalizationsDelegate old) => false; 1749 bool shouldReload(_AppLocalizationsDelegate old) => false;
1756 } 1750 }
1757 1751
1758 AppLocalizations lookupAppLocalizations(Locale locale) { 1752 AppLocalizations lookupAppLocalizations(Locale locale) {
  1753 +
  1754 +
1759 // Lookup logic when only language code is specified. 1755 // Lookup logic when only language code is specified.
1760 switch (locale.languageCode) { 1756 switch (locale.languageCode) {
1761 - case 'en':  
1762 - return AppLocalizationsEn();  
1763 - case 'zh':  
1764 - return AppLocalizationsZh(); 1757 + case 'en': return AppLocalizationsEn();
  1758 + case 'zh': return AppLocalizationsZh();
1765 } 1759 }
1766 1760
1767 throw FlutterError( 1761 throw FlutterError(
1768 - 'AppLocalizations.delegate failed to load unsupported locale "$locale". This is likely '  
1769 - 'an issue with the localizations generation tool. Please file an issue '  
1770 - 'on GitHub with a reproducible sample app and the gen-l10n configuration '  
1771 - 'that was used.'); 1762 + 'AppLocalizations.delegate failed to load unsupported locale "$locale". This is likely '
  1763 + 'an issue with the localizations generation tool. Please file an issue '
  1764 + 'on GitHub with a reproducible sample app and the gen-l10n configuration '
  1765 + 'that was used.'
  1766 + );
1772 } 1767 }
1 -// ignore: unused_import  
2 -import 'package:intl/intl.dart' as intl;  
3 import 'app_localizations.dart'; 1 import 'app_localizations.dart';
4 2
5 // ignore_for_file: type=lint 3 // ignore_for_file: type=lint
@@ -69,12 +67,10 @@ class AppLocalizationsEn extends AppLocalizations { @@ -69,12 +67,10 @@ class AppLocalizationsEn extends AppLocalizations {
69 String get settings => 'Settings'; 67 String get settings => 'Settings';
70 68
71 @override 69 @override
72 - String get onboardingIntroTitle =>  
73 - 'DoubleFeel is a health companion app built for Apple Watch'; 70 + String get onboardingIntroTitle => 'DoubleFeel is a health companion app built for Apple Watch';
74 71
75 @override 72 @override
76 - String get onboardingIntroBody =>  
77 - 'We hope to help you\n<em>notice changes in your mind and body, and help the people who love you</em> see when you are <em>tired or need support</em>'; 73 + String get onboardingIntroBody => 'We hope to help you\n<em>notice changes in your mind and body, and help the people who love you</em> see when you are <em>tired or need support</em>';
78 74
79 @override 75 @override
80 String get onboardingStateQuestion => 'Which of these often happens to you?'; 76 String get onboardingStateQuestion => 'Which of these often happens to you?';
@@ -86,19 +82,16 @@ class AppLocalizationsEn extends AppLocalizations { @@ -86,19 +82,16 @@ class AppLocalizationsEn extends AppLocalizations {
86 String get onboardingStateTired => 'I get tired easily'; 82 String get onboardingStateTired => 'I get tired easily';
87 83
88 @override 84 @override
89 - String get onboardingStatePoorRest =>  
90 - 'I wake up but still do not feel rested'; 85 + String get onboardingStatePoorRest => 'I wake up but still do not feel rested';
91 86
92 @override 87 @override
93 - String get onboardingStateNeedStimulants =>  
94 - 'I rely on cigarettes, alcohol, coffee, or other stimulants to stay alert'; 88 + String get onboardingStateNeedStimulants => 'I rely on cigarettes, alcohol, coffee, or other stimulants to stay alert';
95 89
96 @override 90 @override
97 String get onboardingStateNone => 'None of the above'; 91 String get onboardingStateNone => 'None of the above';
98 92
99 @override 93 @override
100 - String get onboardingStressGoalQuestion =>  
101 - 'What do you want to learn by understanding stress?'; 94 + String get onboardingStressGoalQuestion => 'What do you want to learn by understanding stress?';
102 95
103 @override 96 @override
104 String get onboardingStressGoalSource => 'Understand where stress comes from'; 97 String get onboardingStressGoalSource => 'Understand where stress comes from';
@@ -107,8 +100,7 @@ class AppLocalizationsEn extends AppLocalizations { @@ -107,8 +100,7 @@ class AppLocalizationsEn extends AppLocalizations {
107 String get onboardingStressGoalReminder => 'Get reminded when stress appears'; 100 String get onboardingStressGoalReminder => 'Get reminded when stress appears';
108 101
109 @override 102 @override
110 - String get onboardingStressGoalLovedOnes =>  
111 - 'Let people who care about me know my stress state'; 103 + String get onboardingStressGoalLovedOnes => 'Let people who care about me know my stress state';
112 104
113 @override 105 @override
114 String get onboardingStressGoalRelax => 'Understand stress and feel lighter'; 106 String get onboardingStressGoalRelax => 'Understand stress and feel lighter';
@@ -117,8 +109,7 @@ class AppLocalizationsEn extends AppLocalizations { @@ -117,8 +109,7 @@ class AppLocalizationsEn extends AppLocalizations {
117 String get onboardingStressGoalBodyTalk => 'Communicate better with my body'; 109 String get onboardingStressGoalBodyTalk => 'Communicate better with my body';
118 110
119 @override 111 @override
120 - String get onboardingReliefQuestion =>  
121 - 'Which methods do you think can ease stress?'; 112 + String get onboardingReliefQuestion => 'Which methods do you think can ease stress?';
122 113
123 @override 114 @override
124 String get onboardingReliefSleep => 'Regular sleep'; 115 String get onboardingReliefSleep => 'Regular sleep';
@@ -142,8 +133,7 @@ class AppLocalizationsEn extends AppLocalizations { @@ -142,8 +133,7 @@ class AppLocalizationsEn extends AppLocalizations {
142 String get onboardingKeyDataTitle => 'Did you know?'; 133 String get onboardingKeyDataTitle => 'Did you know?';
143 134
144 @override 135 @override
145 - String get onboardingKeyDataSubtitle =>  
146 - 'Everyone has a magical and important body metric that can help us:'; 136 + String get onboardingKeyDataSubtitle => 'Everyone has a magical and important body metric that can help us:';
147 137
148 @override 138 @override
149 String get onboardingKeyDataStress => 'Monitor stress'; 139 String get onboardingKeyDataStress => 'Monitor stress';
@@ -158,8 +148,7 @@ class AppLocalizationsEn extends AppLocalizations { @@ -158,8 +148,7 @@ class AppLocalizationsEn extends AppLocalizations {
158 String get onboardingKeyDataHabits => 'Build healthy habits'; 148 String get onboardingKeyDataHabits => 'Build healthy habits';
159 149
160 @override 150 @override
161 - String get onboardingKeyDataLovedOnes =>  
162 - 'Help important people care about your state in time'; 151 + String get onboardingKeyDataLovedOnes => 'Help important people care about your state in time';
163 152
164 @override 153 @override
165 String get onboardingTellMeWhatItIs => 'Tell me what it is!'; 154 String get onboardingTellMeWhatItIs => 'Tell me what it is!';
@@ -168,19 +157,16 @@ class AppLocalizationsEn extends AppLocalizations { @@ -168,19 +157,16 @@ class AppLocalizationsEn extends AppLocalizations {
168 String get onboardingHrvTitle => 'It is HRV, heart rate variability'; 157 String get onboardingHrvTitle => 'It is HRV, heart rate variability';
169 158
170 @override 159 @override
171 - String get onboardingHrvSubtitle =>  
172 - 'It helps us measure overall stress and health'; 160 + String get onboardingHrvSubtitle => 'It helps us measure overall stress and health';
173 161
174 @override 162 @override
175 - String get onboardingHrvDescription =>  
176 - 'Heart rate variability (HRV) is the tiny variation in time between heartbeats. It reflects autonomic nervous system activity and how the body responds to stress.'; 163 + String get onboardingHrvDescription => 'Heart rate variability (HRV) is the tiny variation in time between heartbeats. It reflects autonomic nervous system activity and how the body responds to stress.';
177 164
178 @override 165 @override
179 String get onboardingTellMeMore => 'Tell me more'; 166 String get onboardingTellMeMore => 'Tell me more';
180 167
181 @override 168 @override
182 - String get onboardingResearchTitle =>  
183 - 'Many studies show that HRV changes are closely related to how our body and mind feel'; 169 + String get onboardingResearchTitle => 'Many studies show that HRV changes are closely related to how our body and mind feel';
184 170
185 @override 171 @override
186 String get onboardingResearchFatigue => 'Physical fatigue'; 172 String get onboardingResearchFatigue => 'Physical fatigue';
@@ -198,30 +184,25 @@ class AppLocalizationsEn extends AppLocalizations { @@ -198,30 +184,25 @@ class AppLocalizationsEn extends AppLocalizations {
198 String get onboardingHealthPermissionTitle => 'Allow health data access'; 184 String get onboardingHealthPermissionTitle => 'Allow health data access';
199 185
200 @override 186 @override
201 - String get onboardingHealthPermissionBody =>  
202 - 'DoubleFeel needs connected wearable health data to send reminders, count stress moments, and provide suggestions.'; 187 + String get onboardingHealthPermissionBody => 'DoubleFeel needs connected wearable health data to send reminders, count stress moments, and provide suggestions.';
203 188
204 @override 189 @override
205 - String get onboardingHealthPermissionPrivacy =>  
206 - 'Your health data is stored locally. We do not upload any related data.'; 190 + String get onboardingHealthPermissionPrivacy => 'Your health data is stored locally. We do not upload any related data.';
207 191
208 @override 192 @override
209 String get onboardingNotificationTitle => 'Turn on notifications'; 193 String get onboardingNotificationTitle => 'Turn on notifications';
210 194
211 @override 195 @override
212 - String get onboardingNotificationSubtitle =>  
213 - 'Learn about every body change in time'; 196 + String get onboardingNotificationSubtitle => 'Learn about every body change in time';
214 197
215 @override 198 @override
216 - String get onboardingNotificationBody =>  
217 - 'After Apple Watch data updates, we can remind you in time and help you act to improve your stress state.'; 199 + String get onboardingNotificationBody => 'After Apple Watch data updates, we can remind you in time and help you act to improve your stress state.';
218 200
219 @override 201 @override
220 String get onboardingMemberTitle => 'Get an annual membership offer'; 202 String get onboardingMemberTitle => 'Get an annual membership offer';
221 203
222 @override 204 @override
223 - String get onboardingMemberBody =>  
224 - 'Start your pressure alert and health companion journey, so love and care are always present.'; 205 + String get onboardingMemberBody => 'Start your pressure alert and health companion journey, so love and care are always present.';
225 206
226 @override 207 @override
227 String get onboardingMemberOriginalPrice => 'Original ¥72.00/year'; 208 String get onboardingMemberOriginalPrice => 'Original ¥72.00/year';
@@ -236,16 +217,13 @@ class AppLocalizationsEn extends AppLocalizations { @@ -236,16 +217,13 @@ class AppLocalizationsEn extends AppLocalizations {
236 String get onboardingMemberAllOptions => 'View all purchase options'; 217 String get onboardingMemberAllOptions => 'View all purchase options';
237 218
238 @override 219 @override
239 - String get healthCompanionIsNowAvailable =>  
240 - 'Health Companion is now available'; 220 + String get healthCompanionIsNowAvailable => 'Health Companion is now available';
241 221
242 @override 222 @override
243 - String get youCanNowViewEachOtherSHrvStressLevelsAndSleepPatternsAndReachOutToCheckInWhenTheOtherPersonSeemsTired =>  
244 - 'You can now view each other\'s HRV, stress levels, and sleep patterns, and reach out to check in when the other person seems tired.'; 223 + String get youCanNowViewEachOtherSHrvStressLevelsAndSleepPatternsAndReachOutToCheckInWhenTheOtherPersonSeemsTired => 'You can now view each other\'s HRV, stress levels, and sleep patterns, and reach out to check in when the other person seems tired.';
245 224
246 @override 225 @override
247 - String get bindPartnerTitle =>  
248 - 'Add a Close Contact\nOne more person to care about your health'; 226 + String get bindPartnerTitle => 'Add a Close Contact\nOne more person to care about your health';
249 227
250 @override 228 @override
251 String get bindPartnerMyId => 'My ID'; 229 String get bindPartnerMyId => 'My ID';
@@ -284,8 +262,7 @@ class AppLocalizationsEn extends AppLocalizations { @@ -284,8 +262,7 @@ class AppLocalizationsEn extends AppLocalizations {
284 String get onboardingResearchGoodSleep => 'Good Sleep'; 262 String get onboardingResearchGoodSleep => 'Good Sleep';
285 263
286 @override 264 @override
287 - String get loginSlogan =>  
288 - 'Start your pressure alert and health companion journey\nso love and care are always present'; 265 + String get loginSlogan => 'Start your pressure alert and health companion journey\nso love and care are always present';
289 266
290 @override 267 @override
291 String get loginWithPhone => 'Sign in with Phone'; 268 String get loginWithPhone => 'Sign in with Phone';
@@ -335,15 +312,13 @@ class AppLocalizationsEn extends AppLocalizations { @@ -335,15 +312,13 @@ class AppLocalizationsEn extends AppLocalizations {
335 String get phoneLoginCodeHint => 'Enter verification code'; 312 String get phoneLoginCodeHint => 'Enter verification code';
336 313
337 @override 314 @override
338 - String get phoneLoginAutoRegisterHint =>  
339 - 'Unregistered numbers will be registered automatically'; 315 + String get phoneLoginAutoRegisterHint => 'Unregistered numbers will be registered automatically';
340 316
341 @override 317 @override
342 String get phoneLoginLoggingIn => 'Signing in...'; 318 String get phoneLoginLoggingIn => 'Signing in...';
343 319
344 @override 320 @override
345 - String get loginAgreeToTermsToast =>  
346 - 'Please read and agree to the Terms of Service and Privacy Policy first'; 321 + String get loginAgreeToTermsToast => 'Please read and agree to the Terms of Service and Privacy Policy first';
347 322
348 @override 323 @override
349 String get phoneLoginInvalidPhone => 'Invalid phone number'; 324 String get phoneLoginInvalidPhone => 'Invalid phone number';
@@ -355,12 +330,10 @@ class AppLocalizationsEn extends AppLocalizations { @@ -355,12 +330,10 @@ class AppLocalizationsEn extends AppLocalizations {
355 String get phoneLoginInvalidCode => 'Invalid verification code'; 330 String get phoneLoginInvalidCode => 'Invalid verification code';
356 331
357 @override 332 @override
358 - String get todayHealthDataAuthTitle =>  
359 - 'Unable to access heart rate health data'; 333 + String get todayHealthDataAuthTitle => 'Unable to access heart rate health data';
360 334
361 @override 335 @override
362 - String get todayHealthDataAuthDescription =>  
363 - 'DoubleFeel needs permission to access your health data to provide stress reminders, real-time stress statistics, and health suggestions. Otherwise, some app features may not work properly. Your health data is stored locally only and will not be uploaded to any server.'; 336 + String get todayHealthDataAuthDescription => 'DoubleFeel needs permission to access your health data to provide stress reminders, real-time stress statistics, and health suggestions. Otherwise, some app features may not work properly. Your health data is stored locally only and will not be uploaded to any server.';
364 337
365 @override 338 @override
366 String get todayHealthDataAuthAction => 'Authorize health data access'; 339 String get todayHealthDataAuthAction => 'Authorize health data access';
@@ -381,24 +354,19 @@ class AppLocalizationsEn extends AppLocalizations { @@ -381,24 +354,19 @@ class AppLocalizationsEn extends AppLocalizations {
381 String get todayFaqLinkNoData => 'What if the app or watch face has no data?'; 354 String get todayFaqLinkNoData => 'What if the app or watch face has no data?';
382 355
383 @override 356 @override
384 - String get todayFaqLinkHrvRealtimeUpdate =>  
385 - 'How can HRV data update in real time?'; 357 + String get todayFaqLinkHrvRealtimeUpdate => 'How can HRV data update in real time?';
386 358
387 @override 359 @override
388 - String get todayFaqLinkWatchNoStatusNotification =>  
389 - 'Why can\'t my watch receive status notifications?'; 360 + String get todayFaqLinkWatchNoStatusNotification => 'Why can\'t my watch receive status notifications?';
390 361
391 @override 362 @override
392 - String get todayFaqLinkWatchNoStatusAndInteractionNotification =>  
393 - 'Why can\'t my watch receive status and interaction notifications?'; 363 + String get todayFaqLinkWatchNoStatusAndInteractionNotification => 'Why can\'t my watch receive status and interaction notifications?';
394 364
395 @override 365 @override
396 - String get todayFaqLinkWatchFaceDataDelay =>  
397 - 'Why is watch face data delayed or not updating?'; 366 + String get todayFaqLinkWatchFaceDataDelay => 'Why is watch face data delayed or not updating?';
398 367
399 @override 368 @override
400 - String get todayFaqLinkWatchFaceBlackScreen =>  
401 - 'Why does the watch face turn black?'; 369 + String get todayFaqLinkWatchFaceBlackScreen => 'Why does the watch face turn black?';
402 370
403 @override 371 @override
404 String get todayStressStatusTitle => 'Overall stress status'; 372 String get todayStressStatusTitle => 'Overall stress status';
@@ -425,176 +393,136 @@ class AppLocalizationsEn extends AppLocalizations { @@ -425,176 +393,136 @@ class AppLocalizationsEn extends AppLocalizations {
425 String get todayStressStatusInsufficientData => 'Insufficient data'; 393 String get todayStressStatusInsufficientData => 'Insufficient data';
426 394
427 @override 395 @override
428 - String get todayStressStatusOverloadDescription =>  
429 - 'Your current HRV is much lower than your long-term average, which may indicate fatigue, high stress, or insufficient recovery. Rest is recommended.'; 396 + String get todayStressStatusOverloadDescription => 'Your current HRV is much lower than your long-term average, which may indicate fatigue, high stress, or insufficient recovery. Rest is recommended.';
430 397
431 @override 398 @override
432 - String get todayStressStatusCautionDescription =>  
433 - 'Your current HRV is below the normal range, and your body may be accumulating stress. Pay attention to rest and recovery.'; 399 + String get todayStressStatusCautionDescription => 'Your current HRV is below the normal range, and your body may be accumulating stress. Pay attention to rest and recovery.';
434 400
435 @override 401 @override
436 - String get todayStressStatusNormalDescription =>  
437 - 'Your current body state is within your normal fluctuation range.'; 402 + String get todayStressStatusNormalDescription => 'Your current body state is within your normal fluctuation range.';
438 403
439 @override 404 @override
440 - String get todayStressStatusExcellentDescription =>  
441 - 'Your current HRV is higher than your recent average, indicating better recovery and overall state.'; 405 + String get todayStressStatusExcellentDescription => 'Your current HRV is higher than your recent average, indicating better recovery and overall state.';
442 406
443 @override 407 @override
444 - String get todayStressStatusInsufficientDataDescription =>  
445 - 'There is not enough available data to accurately assess your stress state yet.'; 408 + String get todayStressStatusInsufficientDataDescription => 'There is not enough available data to accurately assess your stress state yet.';
446 409
447 @override 410 @override
448 - String get todayHrvMeasurementIntro =>  
449 - 'Apple Watch measures HRV every 2-5 hours by default. If you want to measure it manually right now, follow these steps:'; 411 + String get todayHrvMeasurementIntro => 'Apple Watch measures HRV every 2-5 hours by default. If you want to measure it manually right now, follow these steps:';
450 412
451 @override 413 @override
452 - String get todayHrvMeasurementStep1 =>  
453 - '1. Wear your Apple Watch snugly, sit down, and stay calm'; 414 + String get todayHrvMeasurementStep1 => '1. Wear your Apple Watch snugly, sit down, and stay calm';
454 415
455 @override 416 @override
456 - String get todayHrvMeasurementStep2 =>  
457 - '2. Open Mindfulness on Apple Watch and start Breathe'; 417 + String get todayHrvMeasurementStep2 => '2. Open Mindfulness on Apple Watch and start Breathe';
458 418
459 @override 419 @override
460 - String get todayHrvMeasurementStep3 =>  
461 - '3. Keep breathing steadily and wait 1-3 minutes'; 420 + String get todayHrvMeasurementStep3 => '3. Keep breathing steadily and wait 1-3 minutes';
462 421
463 @override 422 @override
464 - String get todayHrvMeasurementStep4 =>  
465 - '4. After breathing is complete, lock and unlock your iPhone once'; 423 + String get todayHrvMeasurementStep4 => '4. After breathing is complete, lock and unlock your iPhone once';
466 424
467 @override 425 @override
468 - String get todayHrvMeasurementStep5 =>  
469 - '5. Wait about one minute. StressWatch will receive and display your data'; 426 + String get todayHrvMeasurementStep5 => '5. Wait about one minute. StressWatch will receive and display your data';
470 427
471 @override 428 @override
472 - String get todayHrvMeasurementHint =>  
473 - 'Tip: Data comes from Apple Watch. After measurement, there may be delays or data may not sync immediately. If this happens, measure again and wait for the data to be read.'; 429 + String get todayHrvMeasurementHint => 'Tip: Data comes from Apple Watch. After measurement, there may be delays or data may not sync immediately. If this happens, measure again and wait for the data to be read.';
474 430
475 @override 431 @override
476 - String get todayHrvMeasurementWarning =>  
477 - 'Note: Health permissions must be enabled, and Low Power Mode must be turned off.'; 432 + String get todayHrvMeasurementWarning => 'Note: Health permissions must be enabled, and Low Power Mode must be turned off.';
478 433
479 @override 434 @override
480 String get todayStressStatusWhatTitle => 'What is overall stress status?'; 435 String get todayStressStatusWhatTitle => 'What is overall stress status?';
481 436
482 @override 437 @override
483 - String get todayStressStatusWhatDescription1 =>  
484 - 'DoubleFeel combines your HRV (heart rate variability), resting heart rate, and body-state changes from the past 30 days to assess your overall stress level.'; 438 + String get todayStressStatusWhatDescription1 => 'DoubleFeel combines your HRV (heart rate variability), resting heart rate, and body-state changes from the past 30 days to assess your overall stress level.';
485 439
486 @override 440 @override
487 - String get todayStressStatusWhatDescription2 =>  
488 - 'Because HRV fluctuates with emotions, exercise, sleep, and fatigue, a single reading has limited value. We recommend focusing on your overall stress status across the day, which is more stable and useful. It helps you understand your body state and helps close contacts notice changes in time.'; 441 + String get todayStressStatusWhatDescription2 => 'Because HRV fluctuates with emotions, exercise, sleep, and fatigue, a single reading has limited value. We recommend focusing on your overall stress status across the day, which is more stable and useful. It helps you understand your body state and helps close contacts notice changes in time.';
489 442
490 @override 443 @override
491 - String get todayStressStatusWhyHrvTitle =>  
492 - 'Why use HRV (heart rate variability)?'; 444 + String get todayStressStatusWhyHrvTitle => 'Why use HRV (heart rate variability)?';
493 445
494 @override 446 @override
495 - String get todayStressStatusWhyHrvDescription =>  
496 - 'HRV is an important metric for measuring body stress and recovery capacity.'; 447 + String get todayStressStatusWhyHrvDescription => 'HRV is an important metric for measuring body stress and recovery capacity.';
497 448
498 @override 449 @override
499 String get todayStressStatusUsually => 'In general:'; 450 String get todayStressStatusUsually => 'In general:';
500 451
501 @override 452 @override
502 - String get todayStressStatusHrvHigher =>  
503 - '· Higher HRV usually means better recovery'; 453 + String get todayStressStatusHrvHigher => '· Higher HRV usually means better recovery';
504 454
505 @override 455 @override
506 - String get todayStressStatusHrvLower =>  
507 - '· Lower HRV may indicate fatigue, stress, or insufficient sleep'; 456 + String get todayStressStatusHrvLower => '· Lower HRV may indicate fatigue, stress, or insufficient sleep';
508 457
509 @override 458 @override
510 - String get todayStressStatusHrvChangesFast =>  
511 - '· HRV changes quickly, making it useful for short-term body-state changes.'; 459 + String get todayStressStatusHrvChangesFast => '· HRV changes quickly, making it useful for short-term body-state changes.';
512 460
513 @override 461 @override
514 - String get todayStressStatusAppWatchDifferenceTitle =>  
515 - 'How are stress statuses on the phone app and Apple Watch different?'; 462 + String get todayStressStatusAppWatchDifferenceTitle => 'How are stress statuses on the phone app and Apple Watch different?';
516 463
517 @override 464 @override
518 - String get todayStressStatusAppWatchDifferenceApp =>  
519 - 'The phone app home page shows the day\'s overall stress status, combining HRV, resting heart rate, and overall trends.'; 465 + String get todayStressStatusAppWatchDifferenceApp => 'The phone app home page shows the day\'s overall stress status, combining HRV, resting heart rate, and overall trends.';
520 466
521 @override 467 @override
522 - String get todayStressStatusAppWatchDifferenceWatch =>  
523 - 'Apple Watch shows the most recent real-time stress status, which is better for quickly checking your current body changes.'; 468 + String get todayStressStatusAppWatchDifferenceWatch => 'Apple Watch shows the most recent real-time stress status, which is better for quickly checking your current body changes.';
524 469
525 @override 470 @override
526 - String get todayStressStatusWaitingDataTitle =>  
527 - 'Why does Waiting for data appear?'; 471 + String get todayStressStatusWaitingDataTitle => 'Why does Waiting for data appear?';
528 472
529 @override 473 @override
530 - String get todayStressStatusWaitingDataDescription1 =>  
531 - 'Waiting for data means the current amount of collected data is not enough to generate a reliable stress assessment.'; 474 + String get todayStressStatusWaitingDataDescription1 => 'Waiting for data means the current amount of collected data is not enough to generate a reliable stress assessment.';
532 475
533 @override 476 @override
534 - String get todayStressStatusWaitingDataDescription2 =>  
535 - 'Please keep wearing your Apple Watch and wait for the system to collect data automatically.'; 477 + String get todayStressStatusWaitingDataDescription2 => 'Please keep wearing your Apple Watch and wait for the system to collect data automatically.';
536 478
537 @override 479 @override
538 - String get todayStressStatusWaitingDataReasonsIntro =>  
539 - 'Possible reasons include:'; 480 + String get todayStressStatusWaitingDataReasonsIntro => 'Possible reasons include:';
540 481
541 @override 482 @override
542 String get todayStressStatusWaitingDataReason1 => '1. Not enough HRV samples'; 483 String get todayStressStatusWaitingDataReason1 => '1. Not enough HRV samples';
543 484
544 @override 485 @override
545 - String get todayStressStatusWaitingDataReason2 =>  
546 - '2. Missing resting heart rate data'; 486 + String get todayStressStatusWaitingDataReason2 => '2. Missing resting heart rate data';
547 487
548 @override 488 @override
549 - String get todayStressStatusWaitingDataReason3 =>  
550 - '3. Apple Watch has not been worn long enough'; 489 + String get todayStressStatusWaitingDataReason3 => '3. Apple Watch has not been worn long enough';
551 490
552 @override 491 @override
553 - String get todayStressStatusWaitingDataReason4 =>  
554 - '4. Apple Health permissions are not enabled'; 492 + String get todayStressStatusWaitingDataReason4 => '4. Apple Health permissions are not enabled';
555 493
556 @override 494 @override
557 - String get todayHrvPrincipleHowMeasureTitle =>  
558 - 'How does DoubleFeel measure stress status?'; 495 + String get todayHrvPrincipleHowMeasureTitle => 'How does DoubleFeel measure stress status?';
559 496
560 @override 497 @override
561 - String get todayHrvPrincipleHowMeasureDescription1 =>  
562 - 'When you wear Apple Watch normally, the system automatically collects your heart rate data and syncs it to Apple Health.'; 498 + String get todayHrvPrincipleHowMeasureDescription1 => 'When you wear Apple Watch normally, the system automatically collects your heart rate data and syncs it to Apple Health.';
563 499
564 @override 500 @override
565 - String get todayHrvPrincipleHowMeasureDescription2 =>  
566 - 'DoubleFeel calculates HRV (heart rate variability) indicators based on this data to assess your body stress and recovery state.'; 501 + String get todayHrvPrincipleHowMeasureDescription2 => 'DoubleFeel calculates HRV (heart rate variability) indicators based on this data to assess your body stress and recovery state.';
567 502
568 @override 503 @override
569 - String get todayHrvPrincipleHowMeasureDescription3 =>  
570 - 'HRV is sensitive to stress, fatigue, sleep, emotions, and recovery, so it helps us notice body-state changes earlier.'; 504 + String get todayHrvPrincipleHowMeasureDescription3 => 'HRV is sensitive to stress, fatigue, sleep, emotions, and recovery, so it helps us notice body-state changes earlier.';
571 505
572 @override 506 @override
573 - String get todayHrvPrincipleHowMeasureDescription4 =>  
574 - 'To make results more accurate, DoubleFeel compares your current HRV state with your own 30-day average instead of comparing it directly with other people.'; 507 + String get todayHrvPrincipleHowMeasureDescription4 => 'To make results more accurate, DoubleFeel compares your current HRV state with your own 30-day average instead of comparing it directly with other people.';
575 508
576 @override 509 @override
577 String get todayRealtimeStressWhatTitle => 'What is real-time stress?'; 510 String get todayRealtimeStressWhatTitle => 'What is real-time stress?';
578 511
579 @override 512 @override
580 - String get todayRealtimeStressWhatDescription1 =>  
581 - 'Real-time stress is a body stress indicator dynamically generated by DoubleFeel based on your current HRV, heart rate state, and changes in your personal history.'; 513 + String get todayRealtimeStressWhatDescription1 => 'Real-time stress is a body stress indicator dynamically generated by DoubleFeel based on your current HRV, heart rate state, and changes in your personal history.';
582 514
583 @override 515 @override
584 - String get todayRealtimeStressWhatDescription2 =>  
585 - 'A higher stress value means your body state is deviating more from your usual baseline and may reflect fatigue, insufficient recovery, or high stress.'; 516 + String get todayRealtimeStressWhatDescription2 => 'A higher stress value means your body state is deviating more from your usual baseline and may reflect fatigue, insufficient recovery, or high stress.';
586 517
587 @override 518 @override
588 - String get todayRealtimeStressWhatDescription3 =>  
589 - 'It helps you notice body changes faster and adjust rest, exercise, and daily rhythm in time.'; 519 + String get todayRealtimeStressWhatDescription3 => 'It helps you notice body changes faster and adjust rest, exercise, and daily rhythm in time.';
590 520
591 @override 521 @override
592 - String get todayRealtimeStressDivisionTitle =>  
593 - 'How is real-time stress divided?'; 522 + String get todayRealtimeStressDivisionTitle => 'How is real-time stress divided?';
594 523
595 @override 524 @override
596 - String get todayRealtimeStressDivisionIntro =>  
597 - 'Real-time stress is shown as a percentage:'; 525 + String get todayRealtimeStressDivisionIntro => 'Real-time stress is shown as a percentage:';
598 526
599 @override 527 @override
600 String get todayRealtimeStressExcellentRange => 'Excellent: 1%-20%'; 528 String get todayRealtimeStressExcellentRange => 'Excellent: 1%-20%';
@@ -609,103 +537,79 @@ class AppLocalizationsEn extends AppLocalizations { @@ -609,103 +537,79 @@ class AppLocalizationsEn extends AppLocalizations {
609 String get todayRealtimeStressOverloadRange => 'Stress overload: 81%-100%'; 537 String get todayRealtimeStressOverloadRange => 'Stress overload: 81%-100%';
610 538
611 @override 539 @override
612 - String get todayRealtimeStressExcellentDescription =>  
613 - 'Your recovery state is good and you are generally relaxed.'; 540 + String get todayRealtimeStressExcellentDescription => 'Your recovery state is good and you are generally relaxed.';
614 541
615 @override 542 @override
616 - String get todayRealtimeStressNormalDescription =>  
617 - 'Your body is within the normal fluctuation range.'; 543 + String get todayRealtimeStressNormalDescription => 'Your body is within the normal fluctuation range.';
618 544
619 @override 545 @override
620 - String get todayRealtimeStressCautionDescription =>  
621 - 'Your body may be accumulating stress and needs proper rest and recovery.'; 546 + String get todayRealtimeStressCautionDescription => 'Your body may be accumulating stress and needs proper rest and recovery.';
622 547
623 @override 548 @override
624 - String get todayRealtimeStressOverloadDescription =>  
625 - 'Your body stress is clearly high. Reduce load and pay attention to sleep and recovery.'; 549 + String get todayRealtimeStressOverloadDescription => 'Your body stress is clearly high. Reduce load and pay attention to sleep and recovery.';
626 550
627 @override 551 @override
628 - String get todayRealtimeStressDivisionBaseline =>  
629 - 'These ranges are adjusted dynamically based on your personal baseline and should not be directly compared between users.'; 552 + String get todayRealtimeStressDivisionBaseline => 'These ranges are adjusted dynamically based on your personal baseline and should not be directly compared between users.';
630 553
631 @override 554 @override
632 - String get todayRealtimeStressDivisionAwake =>  
633 - 'Real-time stress mainly reflects body stress changes while awake.'; 555 + String get todayRealtimeStressDivisionAwake => 'Real-time stress mainly reflects body stress changes while awake.';
634 556
635 @override 557 @override
636 - String get todayRealtimeStressLowBetterTitle =>  
637 - 'Is lower real-time stress always better?'; 558 + String get todayRealtimeStressLowBetterTitle => 'Is lower real-time stress always better?';
638 559
639 @override 560 @override
640 String get todayRealtimeStressLowBetterNo => 'Not necessarily.'; 561 String get todayRealtimeStressLowBetterNo => 'Not necessarily.';
641 562
642 @override 563 @override
643 - String get todayRealtimeStressLowBetterType =>  
644 - 'Body stress can be normal or abnormal.'; 564 + String get todayRealtimeStressLowBetterType => 'Body stress can be normal or abnormal.';
645 565
646 @override 566 @override
647 - String get todayRealtimeStressLowBetterExample =>  
648 - 'For example, real-time stress rising briefly during or after exercise is a normal recovery response. It can also rise temporarily during focused work or emotional excitement, which are normal body adjustments.'; 567 + String get todayRealtimeStressLowBetterExample => 'For example, real-time stress rising briefly during or after exercise is a normal recovery response. It can also rise temporarily during focused work or emotional excitement, which are normal body adjustments.';
649 568
650 @override 569 @override
651 - String get todayRealtimeStressLowBetterHighStress =>  
652 - 'But if stress remains high while resting, sitting for a long time, or after poor sleep, it may indicate physical fatigue, mental stress, insufficient sleep recovery, incomplete exercise recovery, too much caffeine, alcohol, stimulants, or possible discomfort.'; 570 + String get todayRealtimeStressLowBetterHighStress => 'But if stress remains high while resting, sitting for a long time, or after poor sleep, it may indicate physical fatigue, mental stress, insufficient sleep recovery, incomplete exercise recovery, too much caffeine, alcohol, stimulants, or possible discomfort.';
653 571
654 @override 572 @override
655 - String get todayRealtimeStressLowBetterTrend =>  
656 - 'DoubleFeel focuses more on your long-term trend than on a single fluctuation.'; 573 + String get todayRealtimeStressLowBetterTrend => 'DoubleFeel focuses more on your long-term trend than on a single fluctuation.';
657 574
658 @override 575 @override
659 - String get todayRealtimeStressScenarioTitle =>  
660 - 'When should HRV and real-time stress be used?'; 576 + String get todayRealtimeStressScenarioTitle => 'When should HRV and real-time stress be used?';
661 577
662 @override 578 @override
663 - String get todayRealtimeStressScenarioHrvDefault =>  
664 - 'With Apple Watch default settings, HRV updates every 2-5 hours.'; 579 + String get todayRealtimeStressScenarioHrvDefault => 'With Apple Watch default settings, HRV updates every 2-5 hours.';
665 580
666 @override 581 @override
667 - String get todayRealtimeStressScenarioRegionLimit =>  
668 - 'In some regions, Apple Watch breathing features may be limited, which can affect HRV update frequency. Turning on breathing features may also consume more battery.'; 582 + String get todayRealtimeStressScenarioRegionLimit => 'In some regions, Apple Watch breathing features may be limited, which can affect HRV update frequency. Turning on breathing features may also consume more battery.';
669 583
670 @override 584 @override
671 - String get todayRealtimeStressScenarioIntro =>  
672 - 'To address the long interval between HRV updates, DoubleFeel designed real-time stress:'; 585 + String get todayRealtimeStressScenarioIntro => 'To address the long interval between HRV updates, DoubleFeel designed real-time stress:';
673 586
674 @override 587 @override
675 - String get todayRealtimeStressScenarioUpdateEvery6Min =>  
676 - '· Real-time stress updates every 6 minutes'; 588 + String get todayRealtimeStressScenarioUpdateEvery6Min => '· Real-time stress updates every 6 minutes';
677 589
678 @override 590 @override
679 - String get todayRealtimeStressScenarioTimely =>  
680 - '· It can reflect body-state changes more promptly'; 591 + String get todayRealtimeStressScenarioTimely => '· It can reflect body-state changes more promptly';
681 592
682 @override 593 @override
683 - String get todayRealtimeStressScenarioConsistentTrend =>  
684 - '· In most cases, the real-time stress trend is consistent with the HRV trend'; 594 + String get todayRealtimeStressScenarioConsistentTrend => '· In most cases, the real-time stress trend is consistent with the HRV trend';
685 595
686 @override 596 @override
687 - String get todayRealtimeStressScenarioSummary =>  
688 - 'This lets users see long-term HRV trends while also using real-time stress as a short-term body-state reference.'; 597 + String get todayRealtimeStressScenarioSummary => 'This lets users see long-term HRV trends while also using real-time stress as a short-term body-state reference.';
689 598
690 @override 599 @override
691 - String get todayFaqNoDataTitle =>  
692 - 'What if the app or watch face has no data?'; 600 + String get todayFaqNoDataTitle => 'What if the app or watch face has no data?';
693 601
694 @override 602 @override
695 - String get todayFaqNoDataDescription1 =>  
696 - '1. Confirm that Apple Watch is on watchOS 10.0 or above and iPhone is on iOS 14 or above. You can check system versions in About.'; 603 + String get todayFaqNoDataDescription1 => '1. Confirm that Apple Watch is on watchOS 10.0 or above and iPhone is on iOS 14 or above. You can check system versions in About.';
697 604
698 @override 605 @override
699 - String get todayFaqNoDataDescription2 =>  
700 - '2. Confirm all permissions are enabled: iPhone Health > Sharing > Apps > DoubleFeel > Turn On All Permissions.'; 606 + String get todayFaqNoDataDescription2 => '2. Confirm all permissions are enabled: iPhone Health > Sharing > Apps > DoubleFeel > Turn On All Permissions.';
701 607
702 @override 608 @override
703 - String get todayFaqNoDataDescription3 =>  
704 - '3. Confirm the device is not in Low Power Mode, low battery, or worn too loosely, as these can affect data collection.'; 609 + String get todayFaqNoDataDescription3 => '3. Confirm the device is not in Low Power Mode, low battery, or worn too loosely, as these can affect data collection.';
705 610
706 @override 611 @override
707 - String get todayFaqContactPrefix =>  
708 - 'If everything above is correct, you can '; 612 + String get todayFaqContactPrefix => 'If everything above is correct, you can ';
709 613
710 @override 614 @override
711 String get todayFaqContactAction => 'contact us'; 615 String get todayFaqContactAction => 'contact us';
@@ -714,90 +618,70 @@ class AppLocalizationsEn extends AppLocalizations { @@ -714,90 +618,70 @@ class AppLocalizationsEn extends AppLocalizations {
714 String get todayFaqContactSuffix => '.'; 618 String get todayFaqContactSuffix => '.';
715 619
716 @override 620 @override
717 - String get todayFaqWatchNoNotificationTitle =>  
718 - 'Watch cannot receive status notifications?'; 621 + String get todayFaqWatchNoNotificationTitle => 'Watch cannot receive status notifications?';
719 622
720 @override 623 @override
721 - String get todayFaqWatchNoNotificationDescription1 =>  
722 - 'Apple Watch and iPhone notifications have priority rules: when your iPhone is unlocked and the screen is on, notifications only appear on the phone and will not appear on the watch.'; 624 + String get todayFaqWatchNoNotificationDescription1 => 'Apple Watch and iPhone notifications have priority rules: when your iPhone is unlocked and the screen is on, notifications only appear on the phone and will not appear on the watch.';
723 625
724 @override 626 @override
725 - String get todayFaqWatchNoNotificationDescription2 =>  
726 - 'If stress data displays and updates normally but your watch does not receive notifications, try the following:'; 627 + String get todayFaqWatchNoNotificationDescription2 => 'If stress data displays and updates normally but your watch does not receive notifications, try the following:';
727 628
728 @override 629 @override
729 - String get todayFaqWatchNoNotificationCheckPhoneNotification =>  
730 - '1. Check whether iPhone notifications are enabled (Settings > DoubleFeel > Notifications).'; 630 + String get todayFaqWatchNoNotificationCheckPhoneNotification => '1. Check whether iPhone notifications are enabled (Settings > DoubleFeel > Notifications).';
731 631
732 @override 632 @override
733 - String get todayFaqWatchNoNotificationCheckPhoneBackgroundRefresh =>  
734 - '2. Check whether iPhone Background App Refresh is enabled (Settings > DoubleFeel > Background App Refresh).'; 633 + String get todayFaqWatchNoNotificationCheckPhoneBackgroundRefresh => '2. Check whether iPhone Background App Refresh is enabled (Settings > DoubleFeel > Background App Refresh).';
735 634
736 @override 635 @override
737 - String get todayFaqWatchNoNotificationCheckWatchBackgroundRefresh =>  
738 - '3. Check whether Apple Watch Background App Refresh is enabled (Settings > General > Background App Refresh, and make sure DoubleFeel is enabled).'; 636 + String get todayFaqWatchNoNotificationCheckWatchBackgroundRefresh => '3. Check whether Apple Watch Background App Refresh is enabled (Settings > General > Background App Refresh, and make sure DoubleFeel is enabled).';
739 637
740 @override 638 @override
741 - String get todayFaqWatchNoNotificationCheckModes =>  
742 - '4. Make sure Low Power, Focus, Do Not Disturb, Theater, Sleep, and similar modes are off.'; 639 + String get todayFaqWatchNoNotificationCheckModes => '4. Make sure Low Power, Focus, Do Not Disturb, Theater, Sleep, and similar modes are off.';
743 640
744 @override 641 @override
745 - String get todayFaqWatchNoNotificationReinstall =>  
746 - '5. Reinstall DoubleFeel and restart Apple Watch and iPhone.'; 642 + String get todayFaqWatchNoNotificationReinstall => '5. Reinstall DoubleFeel and restart Apple Watch and iPhone.';
747 643
748 @override 644 @override
749 - String get todayFaqWatchFaceDelayTitle =>  
750 - 'Watch face data not updating or delayed?'; 645 + String get todayFaqWatchFaceDelayTitle => 'Watch face data not updating or delayed?';
751 646
752 @override 647 @override
753 - String get todayFaqWatchFaceDelayDescription1 =>  
754 - 'Due to Apple system limits, all watch faces, third-party or official, may have delays from a few minutes to half an hour. Developers cannot control the refresh frequency.'; 648 + String get todayFaqWatchFaceDelayDescription1 => 'Due to Apple system limits, all watch faces, third-party or official, may have delays from a few minutes to half an hour. Developers cannot control the refresh frequency.';
755 649
756 @override 650 @override
757 - String get todayFaqWatchFaceDelayIfOverOneHour =>  
758 - 'If the phone data refreshes but the watch face still has not updated after more than 1 hour:'; 651 + String get todayFaqWatchFaceDelayIfOverOneHour => 'If the phone data refreshes but the watch face still has not updated after more than 1 hour:';
759 652
760 @override 653 @override
761 - String get todayFaqWatchFaceDelayOpenWatchApp =>  
762 - 'Manually open DoubleFeel on Apple Watch and wait about 1 minute.'; 654 + String get todayFaqWatchFaceDelayOpenWatchApp => 'Manually open DoubleFeel on Apple Watch and wait about 1 minute.';
763 655
764 @override 656 @override
765 String get todayFaqWatchFaceDelayIfStill => 'If it still does not update:'; 657 String get todayFaqWatchFaceDelayIfStill => 'If it still does not update:';
766 658
767 @override 659 @override
768 - String get todayFaqWatchFaceDelayRestartApp =>  
769 - 'Close the DoubleFeel background process and restart it.'; 660 + String get todayFaqWatchFaceDelayRestartApp => 'Close the DoubleFeel background process and restart it.';
770 661
771 @override 662 @override
772 - String get todayFaqWatchFaceDelayCheckIntro =>  
773 - 'If it still does not work, check:'; 663 + String get todayFaqWatchFaceDelayCheckIntro => 'If it still does not work, check:';
774 664
775 @override 665 @override
776 - String get todayFaqWatchFaceDelayCheckData =>  
777 - '· Whether both phone and watch apps can show HRV data normally.'; 666 + String get todayFaqWatchFaceDelayCheckData => '· Whether both phone and watch apps can show HRV data normally.';
778 667
779 @override 668 @override
780 - String get todayFaqWatchFaceDelayCheckPhoneHealth =>  
781 - '· Make sure all permissions are enabled on iPhone: iOS Settings > Privacy & Security > Health > DoubleFeel.'; 669 + String get todayFaqWatchFaceDelayCheckPhoneHealth => '· Make sure all permissions are enabled on iPhone: iOS Settings > Privacy & Security > Health > DoubleFeel.';
782 670
783 @override 671 @override
784 - String get todayFaqWatchFaceDelayCheckWatchHealth =>  
785 - '· Make sure all permissions are enabled on Apple Watch: Settings > Health > Data Sources & Access > DoubleFeel.'; 672 + String get todayFaqWatchFaceDelayCheckWatchHealth => '· Make sure all permissions are enabled on Apple Watch: Settings > Health > Data Sources & Access > DoubleFeel.';
786 673
787 @override 674 @override
788 - String get todayFaqWatchFaceDelayCheckBackgroundRefresh =>  
789 - '· Confirm DoubleFeel is enabled in Apple Watch > Settings > General > Background App Refresh.'; 675 + String get todayFaqWatchFaceDelayCheckBackgroundRefresh => '· Confirm DoubleFeel is enabled in Apple Watch > Settings > General > Background App Refresh.';
790 676
791 @override 677 @override
792 - String get todayFaqWatchFaceDelayRestartWatch =>  
793 - '· If it still does not refresh automatically, restart Apple Watch. Long runtimes or high background usage may cause watch face updates to pause.'; 678 + String get todayFaqWatchFaceDelayRestartWatch => '· If it still does not refresh automatically, restart Apple Watch. Long runtimes or high background usage may cause watch face updates to pause.';
794 679
795 @override 680 @override
796 String get todayFaqWatchFaceBlackScreenTitle => 'Watch face turns black?'; 681 String get todayFaqWatchFaceBlackScreenTitle => 'Watch face turns black?';
797 682
798 @override 683 @override
799 - String get todayFaqWatchFaceBlackScreenDescription =>  
800 - 'If the custom interactive watch face turns black after being added and only shows time and date, long-press the watch face, tap Edit, swipe left to Complications, choose DoubleFeel, and add each component again as needed.'; 684 + String get todayFaqWatchFaceBlackScreenDescription => 'If the custom interactive watch face turns black after being added and only shows time and date, long-press the watch face, tap Edit, swipe left to Complications, choose DoubleFeel, and add each component again as needed.';
801 685
802 @override 686 @override
803 String get today => 'Today'; 687 String get today => 'Today';
@@ -815,19 +699,16 @@ class AppLocalizationsEn extends AppLocalizations { @@ -815,19 +699,16 @@ class AppLocalizationsEn extends AppLocalizations {
815 String get allPlans => 'All Plans'; 699 String get allPlans => 'All Plans';
816 700
817 @override 701 @override
818 - String get clickToAddTheHrvThemedWatchFace =>  
819 - 'Click to add the HRV-themed watch face'; 702 + String get clickToAddTheHrvThemedWatchFace => 'Click to add the HRV-themed watch face';
820 703
821 @override 704 @override
822 - String get stayOnTopOfYourHealthFluctuations =>  
823 - 'Stay on top of your health fluctuations'; 705 + String get stayOnTopOfYourHealthFluctuations => 'Stay on top of your health fluctuations';
824 706
825 @override 707 @override
826 String get addACloseContact => 'Add a close contact'; 708 String get addACloseContact => 'Add a close contact';
827 709
828 @override 710 @override
829 - String get oneMorePersonLookingOutForYourHealth =>  
830 - 'One more person looking out for your health'; 711 + String get oneMorePersonLookingOutForYourHealth => 'One more person looking out for your health';
831 712
832 @override 713 @override
833 String get addAFriend => 'Add a friend'; 714 String get addAFriend => 'Add a friend';
@@ -884,8 +765,7 @@ class AppLocalizationsEn extends AppLocalizations { @@ -884,8 +765,7 @@ class AppLocalizationsEn extends AppLocalizations {
884 String get questionsAndFeedback => 'Questions and Feedback'; 765 String get questionsAndFeedback => 'Questions and Feedback';
885 766
886 @override 767 @override
887 - String get ifYouWouldLikeUsToReplyPleaseProvideYourEmailAddress =>  
888 - 'If you would like us to reply, please provide your email address'; 768 + String get ifYouWouldLikeUsToReplyPleaseProvideYourEmailAddress => 'If you would like us to reply, please provide your email address';
889 769
890 @override 770 @override
891 String get uploadProof => 'Upload Proof'; 771 String get uploadProof => 'Upload Proof';
@@ -894,8 +774,7 @@ class AppLocalizationsEn extends AppLocalizations { @@ -894,8 +774,7 @@ class AppLocalizationsEn extends AppLocalizations {
894 String get frequentlyAskedQuestions => 'Frequently Asked Questions'; 774 String get frequentlyAskedQuestions => 'Frequently Asked Questions';
895 775
896 @override 776 @override
897 - String get areYouSureYouWantToDeleteYourAccount =>  
898 - 'Are you sure you want to delete your account?'; 777 + String get areYouSureYouWantToDeleteYourAccount => 'Are you sure you want to delete your account?';
899 778
900 @override 779 @override
901 String get accountSettings => 'Account Settings'; 780 String get accountSettings => 'Account Settings';
1 -// ignore: unused_import  
2 -import 'package:intl/intl.dart' as intl;  
3 import 'app_localizations.dart'; 1 import 'app_localizations.dart';
4 2
5 // ignore_for_file: type=lint 3 // ignore_for_file: type=lint
@@ -72,8 +70,7 @@ class AppLocalizationsZh extends AppLocalizations { @@ -72,8 +70,7 @@ class AppLocalizationsZh extends AppLocalizations {
72 String get onboardingIntroTitle => 'DoubleFeel 是专为 Apple Watch 打造的健康陪伴app'; 70 String get onboardingIntroTitle => 'DoubleFeel 是专为 Apple Watch 打造的健康陪伴app';
73 71
74 @override 72 @override
75 - String get onboardingIntroBody =>  
76 - '我们希望可以帮助你\n<em>关注自己的身心变化,也让爱你的人</em>及时发现你的<em>疲惫与需要</em>'; 73 + String get onboardingIntroBody => '我们希望可以帮助你\n<em>关注自己的身心变化,也让爱你的人</em>及时发现你的<em>疲惫与需要</em>';
77 74
78 @override 75 @override
79 String get onboardingStateQuestion => '请问以下哪些描述,经常发生在你身上?'; 76 String get onboardingStateQuestion => '请问以下哪些描述,经常发生在你身上?';
@@ -163,8 +160,7 @@ class AppLocalizationsZh extends AppLocalizations { @@ -163,8 +160,7 @@ class AppLocalizationsZh extends AppLocalizations {
163 String get onboardingHrvSubtitle => '它能帮助我们衡量整体的压力和健康状态'; 160 String get onboardingHrvSubtitle => '它能帮助我们衡量整体的压力和健康状态';
164 161
165 @override 162 @override
166 - String get onboardingHrvDescription =>  
167 - '心率变异性(HRV, Heart Rate Variability)即心跳之间间隔时间的微小变化,反映了自主神经系统活动和身体对压力的反应能力'; 163 + String get onboardingHrvDescription => '心率变异性(HRV, Heart Rate Variability)即心跳之间间隔时间的微小变化,反映了自主神经系统活动和身体对压力的反应能力';
168 164
169 @override 165 @override
170 String get onboardingTellMeMore => '展开说说'; 166 String get onboardingTellMeMore => '展开说说';
@@ -188,12 +184,10 @@ class AppLocalizationsZh extends AppLocalizations { @@ -188,12 +184,10 @@ class AppLocalizationsZh extends AppLocalizations {
188 String get onboardingHealthPermissionTitle => '开启健康授权提醒、统计你的压力'; 184 String get onboardingHealthPermissionTitle => '开启健康授权提醒、统计你的压力';
189 185
190 @override 186 @override
191 - String get onboardingHealthPermissionBody =>  
192 - 'DoubleFeel需要连接健康穿戴设备数据,以提醒、统计压力时刻、提供建议。'; 187 + String get onboardingHealthPermissionBody => 'DoubleFeel需要连接健康穿戴设备数据,以提醒、统计压力时刻、提供建议。';
193 188
194 @override 189 @override
195 - String get onboardingHealthPermissionPrivacy =>  
196 - '请放心,你的健康数据仅储存在本地,我们不上传任何相关数据。'; 190 + String get onboardingHealthPermissionPrivacy => '请放心,你的健康数据仅储存在本地,我们不上传任何相关数据。';
197 191
198 @override 192 @override
199 String get onboardingNotificationTitle => '开启通知'; 193 String get onboardingNotificationTitle => '开启通知';
@@ -202,8 +196,7 @@ class AppLocalizationsZh extends AppLocalizations { @@ -202,8 +196,7 @@ class AppLocalizationsZh extends AppLocalizations {
202 String get onboardingNotificationSubtitle => '及时了解身体每一次异动'; 196 String get onboardingNotificationSubtitle => '及时了解身体每一次异动';
203 197
204 @override 198 @override
205 - String get onboardingNotificationBody =>  
206 - 'AppleWatch数据更新后会及时提醒你,帮助你及时行动,改善压力状态'; 199 + String get onboardingNotificationBody => 'AppleWatch数据更新后会及时提醒你,帮助你及时行动,改善压力状态';
207 200
208 @override 201 @override
209 String get onboardingMemberTitle => '获得年度会员优惠'; 202 String get onboardingMemberTitle => '获得年度会员优惠';
@@ -227,9 +220,7 @@ class AppLocalizationsZh extends AppLocalizations { @@ -227,9 +220,7 @@ class AppLocalizationsZh extends AppLocalizations {
227 String get healthCompanionIsNowAvailable => '健康陪伴已开启'; 220 String get healthCompanionIsNowAvailable => '健康陪伴已开启';
228 221
229 @override 222 @override
230 - String  
231 - get youCanNowViewEachOtherSHrvStressLevelsAndSleepPatternsAndReachOutToCheckInWhenTheOtherPersonSeemsTired =>  
232 - '你们现在可以查看彼此的 HRV、压力与睡眠变化,并在对方疲惫时及时送上关心。'; 223 + String get youCanNowViewEachOtherSHrvStressLevelsAndSleepPatternsAndReachOutToCheckInWhenTheOtherPersonSeemsTired => '你们现在可以查看彼此的 HRV、压力与睡眠变化,并在对方疲惫时及时送上关心。';
233 224
234 @override 225 @override
235 String get bindPartnerTitle => '添加亲密联系人\n多一个人关注你的健康'; 226 String get bindPartnerTitle => '添加亲密联系人\n多一个人关注你的健康';
@@ -342,8 +333,7 @@ class AppLocalizationsZh extends AppLocalizations { @@ -342,8 +333,7 @@ class AppLocalizationsZh extends AppLocalizations {
342 String get todayHealthDataAuthTitle => '无法获取心率健康数据'; 333 String get todayHealthDataAuthTitle => '无法获取心率健康数据';
343 334
344 @override 335 @override
345 - String get todayHealthDataAuthDescription =>  
346 - 'DoubleFeel 需要授权访问你的健康数据,才能提供压力提醒、实时压力统计和健康建议;否则应用功能可能无法正常使用。请放心,你的健康数据仅存储在本地,不会上传到任何服务器。'; 336 + String get todayHealthDataAuthDescription => 'DoubleFeel 需要授权访问你的健康数据,才能提供压力提醒、实时压力统计和健康建议;否则应用功能可能无法正常使用。请放心,你的健康数据仅存储在本地,不会上传到任何服务器。';
347 337
348 @override 338 @override
349 String get todayHealthDataAuthAction => '授权访问健康数据'; 339 String get todayHealthDataAuthAction => '授权访问健康数据';
@@ -370,8 +360,7 @@ class AppLocalizationsZh extends AppLocalizations { @@ -370,8 +360,7 @@ class AppLocalizationsZh extends AppLocalizations {
370 String get todayFaqLinkWatchNoStatusNotification => '手表为什么无法收到状态通知?'; 360 String get todayFaqLinkWatchNoStatusNotification => '手表为什么无法收到状态通知?';
371 361
372 @override 362 @override
373 - String get todayFaqLinkWatchNoStatusAndInteractionNotification =>  
374 - '手表为什么无法收到状态和互动通知?'; 363 + String get todayFaqLinkWatchNoStatusAndInteractionNotification => '手表为什么无法收到状态和互动通知?';
375 364
376 @override 365 @override
377 String get todayFaqLinkWatchFaceDataDelay => '手表表盘数据不更新或者有延迟?'; 366 String get todayFaqLinkWatchFaceDataDelay => '手表表盘数据不更新或者有延迟?';
@@ -404,27 +393,22 @@ class AppLocalizationsZh extends AppLocalizations { @@ -404,27 +393,22 @@ class AppLocalizationsZh extends AppLocalizations {
404 String get todayStressStatusInsufficientData => '数据不足'; 393 String get todayStressStatusInsufficientData => '数据不足';
405 394
406 @override 395 @override
407 - String get todayStressStatusOverloadDescription =>  
408 - '当前 HRV 明显低于你的长期平均水平,可能意味着身体疲劳、压力过高或恢复不足。建议及时休息。'; 396 + String get todayStressStatusOverloadDescription => '当前 HRV 明显低于你的长期平均水平,可能意味着身体疲劳、压力过高或恢复不足。建议及时休息。';
409 397
410 @override 398 @override
411 - String get todayStressStatusCautionDescription =>  
412 - '当前 HRV 低于正常范围,身体可能正在积累压力,需要注意作息与恢复。'; 399 + String get todayStressStatusCautionDescription => '当前 HRV 低于正常范围,身体可能正在积累压力,需要注意作息与恢复。';
413 400
414 @override 401 @override
415 String get todayStressStatusNormalDescription => '当前身体状态处于你的正常波动范围内。'; 402 String get todayStressStatusNormalDescription => '当前身体状态处于你的正常波动范围内。';
416 403
417 @override 404 @override
418 - String get todayStressStatusExcellentDescription =>  
419 - '当前 HRV 高于近期平均水平,代表身体恢复与整体状态较好。'; 405 + String get todayStressStatusExcellentDescription => '当前 HRV 高于近期平均水平,代表身体恢复与整体状态较好。';
420 406
421 @override 407 @override
422 - String get todayStressStatusInsufficientDataDescription =>  
423 - '当前可用数据不足,暂时无法准确判断压力状态。'; 408 + String get todayStressStatusInsufficientDataDescription => '当前可用数据不足,暂时无法准确判断压力状态。';
424 409
425 @override 410 @override
426 - String get todayHrvMeasurementIntro =>  
427 - 'AppleWatch默认每2-5小时测量一次HRV,如果你希望立即手动进行测量,可以参考以下方法:'; 411 + String get todayHrvMeasurementIntro => 'AppleWatch默认每2-5小时测量一次HRV,如果你希望立即手动进行测量,可以参考以下方法:';
428 412
429 @override 413 @override
430 String get todayHrvMeasurementStep1 => '1、戴紧AppleWatch,坐下来,保持心境平和'; 414 String get todayHrvMeasurementStep1 => '1、戴紧AppleWatch,坐下来,保持心境平和';
@@ -442,8 +426,7 @@ class AppLocalizationsZh extends AppLocalizations { @@ -442,8 +426,7 @@ class AppLocalizationsZh extends AppLocalizations {
442 String get todayHrvMeasurementStep5 => '5、等待一分钟左右,StressWatch会收到你的数据并展示'; 426 String get todayHrvMeasurementStep5 => '5、等待一分钟左右,StressWatch会收到你的数据并展示';
443 427
444 @override 428 @override
445 - String get todayHrvMeasurementHint =>  
446 - '提示:数据源来自AppleWatch,在测量之后可能存在延迟或是数据未能同步的情况。如若出现上述情况,请重新测量并等待数据读取。'; 429 + String get todayHrvMeasurementHint => '提示:数据源来自AppleWatch,在测量之后可能存在延迟或是数据未能同步的情况。如若出现上述情况,请重新测量并等待数据读取。';
447 430
448 @override 431 @override
449 String get todayHrvMeasurementWarning => '注意:需打开健康里的权限,同时关闭省电模式。'; 432 String get todayHrvMeasurementWarning => '注意:需打开健康里的权限,同时关闭省电模式。';
@@ -452,12 +435,10 @@ class AppLocalizationsZh extends AppLocalizations { @@ -452,12 +435,10 @@ class AppLocalizationsZh extends AppLocalizations {
452 String get todayStressStatusWhatTitle => '什么是综合压力状态?'; 435 String get todayStressStatusWhatTitle => '什么是综合压力状态?';
453 436
454 @override 437 @override
455 - String get todayStressStatusWhatDescription1 =>  
456 - 'DoubleFeel 会结合你过去 30 天的 HRV(心率变异性)、静息心率以及当天的身体状态变化,综合评估你的整体压力水平。'; 438 + String get todayStressStatusWhatDescription1 => 'DoubleFeel 会结合你过去 30 天的 HRV(心率变异性)、静息心率以及当天的身体状态变化,综合评估你的整体压力水平。';
457 439
458 @override 440 @override
459 - String get todayStressStatusWhatDescription2 =>  
460 - '由于 HRV 会随着情绪、运动、睡眠和疲劳不断波动,单次数据参考意义有限,因此我们更建议关注一整天的综合压力状态,让结果更稳定、更有参考价值。综合压力不仅能帮助你了解自己的身体状态,也能让亲密联系人更及时地关注你的变化。'; 441 + String get todayStressStatusWhatDescription2 => '由于 HRV 会随着情绪、运动、睡眠和疲劳不断波动,单次数据参考意义有限,因此我们更建议关注一整天的综合压力状态,让结果更稳定、更有参考价值。综合压力不仅能帮助你了解自己的身体状态,也能让亲密联系人更及时地关注你的变化。';
461 442
462 @override 443 @override
463 String get todayStressStatusWhyHrvTitle => '为什么要参考 HRV(心率变异性)?'; 444 String get todayStressStatusWhyHrvTitle => '为什么要参考 HRV(心率变异性)?';
@@ -478,27 +459,22 @@ class AppLocalizationsZh extends AppLocalizations { @@ -478,27 +459,22 @@ class AppLocalizationsZh extends AppLocalizations {
478 String get todayStressStatusHrvChangesFast => '· HRV 变化较快,更适合观察短时间内的身体状态变化。'; 459 String get todayStressStatusHrvChangesFast => '· HRV 变化较快,更适合观察短时间内的身体状态变化。';
479 460
480 @override 461 @override
481 - String get todayStressStatusAppWatchDifferenceTitle =>  
482 - '手机 App 与 Apple Watch 显示的压力状态有什么区别?'; 462 + String get todayStressStatusAppWatchDifferenceTitle => '手机 App 与 Apple Watch 显示的压力状态有什么区别?';
483 463
484 @override 464 @override
485 - String get todayStressStatusAppWatchDifferenceApp =>  
486 - '手机 App 首页显示的是当天的综合压力状态,会综合分析 HRV、静息心率与整体趋势。'; 465 + String get todayStressStatusAppWatchDifferenceApp => '手机 App 首页显示的是当天的综合压力状态,会综合分析 HRV、静息心率与整体趋势。';
487 466
488 @override 467 @override
489 - String get todayStressStatusAppWatchDifferenceWatch =>  
490 - 'Apple Watch 显示的是最近一次的实时压力状态,更适合快速查看当前身体变化。'; 468 + String get todayStressStatusAppWatchDifferenceWatch => 'Apple Watch 显示的是最近一次的实时压力状态,更适合快速查看当前身体变化。';
491 469
492 @override 470 @override
493 String get todayStressStatusWaitingDataTitle => '为什么会出现“等待数据”?'; 471 String get todayStressStatusWaitingDataTitle => '为什么会出现“等待数据”?';
494 472
495 @override 473 @override
496 - String get todayStressStatusWaitingDataDescription1 =>  
497 - '“等待数据”代表当前采集到的数据量不足,暂时无法生成可靠的压力评估。'; 474 + String get todayStressStatusWaitingDataDescription1 => '“等待数据”代表当前采集到的数据量不足,暂时无法生成可靠的压力评估。';
498 475
499 @override 476 @override
500 - String get todayStressStatusWaitingDataDescription2 =>  
501 - '请继续佩戴 Apple Watch,等待系统自动采集数据。'; 477 + String get todayStressStatusWaitingDataDescription2 => '请继续佩戴 Apple Watch,等待系统自动采集数据。';
502 478
503 @override 479 @override
504 String get todayStressStatusWaitingDataReasonsIntro => '可能原因包括:'; 480 String get todayStressStatusWaitingDataReasonsIntro => '可能原因包括:';
@@ -519,35 +495,28 @@ class AppLocalizationsZh extends AppLocalizations { @@ -519,35 +495,28 @@ class AppLocalizationsZh extends AppLocalizations {
519 String get todayHrvPrincipleHowMeasureTitle => 'DoubleFeel 如何测量压力状态?'; 495 String get todayHrvPrincipleHowMeasureTitle => 'DoubleFeel 如何测量压力状态?';
520 496
521 @override 497 @override
522 - String get todayHrvPrincipleHowMeasureDescription1 =>  
523 - '当你正常佩戴 Apple Watch 时,系统会自动采集你的心率数据,并同步至 Apple Health。'; 498 + String get todayHrvPrincipleHowMeasureDescription1 => '当你正常佩戴 Apple Watch 时,系统会自动采集你的心率数据,并同步至 Apple Health。';
524 499
525 @override 500 @override
526 - String get todayHrvPrincipleHowMeasureDescription2 =>  
527 - 'DoubleFeel 会基于这些数据计算 HRV(心率变异性)相关指标,用于评估你的身体压力与恢复状态。'; 501 + String get todayHrvPrincipleHowMeasureDescription2 => 'DoubleFeel 会基于这些数据计算 HRV(心率变异性)相关指标,用于评估你的身体压力与恢复状态。';
528 502
529 @override 503 @override
530 - String get todayHrvPrincipleHowMeasureDescription3 =>  
531 - 'HRV 对压力、疲劳、睡眠、情绪与身体恢复都非常敏感,因此它能够帮助我们更早发现身体状态变化。'; 504 + String get todayHrvPrincipleHowMeasureDescription3 => 'HRV 对压力、疲劳、睡眠、情绪与身体恢复都非常敏感,因此它能够帮助我们更早发现身体状态变化。';
532 505
533 @override 506 @override
534 - String get todayHrvPrincipleHowMeasureDescription4 =>  
535 - '为了让结果更准确,DoubleFeel 会将你当前的 HRV 状态与过去 30 天的个人平均水平进行对比,而不是直接与其他人比较。'; 507 + String get todayHrvPrincipleHowMeasureDescription4 => '为了让结果更准确,DoubleFeel 会将你当前的 HRV 状态与过去 30 天的个人平均水平进行对比,而不是直接与其他人比较。';
536 508
537 @override 509 @override
538 String get todayRealtimeStressWhatTitle => '什么是实时压力?'; 510 String get todayRealtimeStressWhatTitle => '什么是实时压力?';
539 511
540 @override 512 @override
541 - String get todayRealtimeStressWhatDescription1 =>  
542 - '实时压力是 DoubleFeel 根据你当前的 HRV、心率状态与个人历史数据变化,动态生成的身体压力指标。'; 513 + String get todayRealtimeStressWhatDescription1 => '实时压力是 DoubleFeel 根据你当前的 HRV、心率状态与个人历史数据变化,动态生成的身体压力指标。';
543 514
544 @override 515 @override
545 - String get todayRealtimeStressWhatDescription2 =>  
546 - '压力值越高,代表你的身体状态相比平时偏离越明显,可能正处于疲劳、恢复不足或高压力状态。'; 516 + String get todayRealtimeStressWhatDescription2 => '压力值越高,代表你的身体状态相比平时偏离越明显,可能正处于疲劳、恢复不足或高压力状态。';
547 517
548 @override 518 @override
549 - String get todayRealtimeStressWhatDescription3 =>  
550 - '它能够帮助你更快发现身体变化,并及时调整休息、运动与生活节奏。'; 519 + String get todayRealtimeStressWhatDescription3 => '它能够帮助你更快发现身体变化,并及时调整休息、运动与生活节奏。';
551 520
552 @override 521 @override
553 String get todayRealtimeStressDivisionTitle => '实时压力如何划分?'; 522 String get todayRealtimeStressDivisionTitle => '实时压力如何划分?';
@@ -577,12 +546,10 @@ class AppLocalizationsZh extends AppLocalizations { @@ -577,12 +546,10 @@ class AppLocalizationsZh extends AppLocalizations {
577 String get todayRealtimeStressCautionDescription => '身体可能正在积累压力,需要适当休息与恢复。'; 546 String get todayRealtimeStressCautionDescription => '身体可能正在积累压力,需要适当休息与恢复。';
578 547
579 @override 548 @override
580 - String get todayRealtimeStressOverloadDescription =>  
581 - '身体压力明显偏高,建议减少负荷、注意睡眠与恢复。'; 549 + String get todayRealtimeStressOverloadDescription => '身体压力明显偏高,建议减少负荷、注意睡眠与恢复。';
582 550
583 @override 551 @override
584 - String get todayRealtimeStressDivisionBaseline =>  
585 - '以上区间会结合你的个人基线动态调整,不同用户之间并不直接比较。'; 552 + String get todayRealtimeStressDivisionBaseline => '以上区间会结合你的个人基线动态调整,不同用户之间并不直接比较。';
586 553
587 @override 554 @override
588 String get todayRealtimeStressDivisionAwake => '此外,实时压力主要反映清醒状态下的身体压力变化。'; 555 String get todayRealtimeStressDivisionAwake => '此外,实时压力主要反映清醒状态下的身体压力变化。';
@@ -597,31 +564,25 @@ class AppLocalizationsZh extends AppLocalizations { @@ -597,31 +564,25 @@ class AppLocalizationsZh extends AppLocalizations {
597 String get todayRealtimeStressLowBetterType => '身体压力分为“正常压力”与“异常压力”。'; 564 String get todayRealtimeStressLowBetterType => '身体压力分为“正常压力”与“异常压力”。';
598 565
599 @override 566 @override
600 - String get todayRealtimeStressLowBetterExample =>  
601 - '例如:运动期间或运动后,实时压力短时间升高属于正常恢复反应;工作专注、情绪兴奋时,压力也可能暂时升高,这些都属于正常的身体调节。'; 567 + String get todayRealtimeStressLowBetterExample => '例如:运动期间或运动后,实时压力短时间升高属于正常恢复反应;工作专注、情绪兴奋时,压力也可能暂时升高,这些都属于正常的身体调节。';
602 568
603 @override 569 @override
604 - String get todayRealtimeStressLowBetterHighStress =>  
605 - '但如果在静息、久坐或睡眠不足的情况下,压力长期偏高,则可能意味着身体疲劳、心理压力较大、睡眠恢复不足、运动恢复不充分、摄入过多咖啡因、酒精或刺激物、身体可能处于不适状态。'; 570 + String get todayRealtimeStressLowBetterHighStress => '但如果在静息、久坐或睡眠不足的情况下,压力长期偏高,则可能意味着身体疲劳、心理压力较大、睡眠恢复不足、运动恢复不充分、摄入过多咖啡因、酒精或刺激物、身体可能处于不适状态。';
606 571
607 @override 572 @override
608 - String get todayRealtimeStressLowBetterTrend =>  
609 - 'DoubleFeel 更关注的是你的长期变化趋势,而不是单次波动。'; 573 + String get todayRealtimeStressLowBetterTrend => 'DoubleFeel 更关注的是你的长期变化趋势,而不是单次波动。';
610 574
611 @override 575 @override
612 String get todayRealtimeStressScenarioTitle => 'HRV 与实时压力适用场景?'; 576 String get todayRealtimeStressScenarioTitle => 'HRV 与实时压力适用场景?';
613 577
614 @override 578 @override
615 - String get todayRealtimeStressScenarioHrvDefault =>  
616 - '在 Apple Watch 的默认设置下,HRV 每 2~5 小时更新一次。'; 579 + String get todayRealtimeStressScenarioHrvDefault => '在 Apple Watch 的默认设置下,HRV 每 2~5 小时更新一次。';
617 580
618 @override 581 @override
619 - String get todayRealtimeStressScenarioRegionLimit =>  
620 - '在部分地区,由于 Apple Watch 的呼吸功能受限,HRV 的更新频率可能会受到影响,并且开启呼吸功能后也会消耗更多电量。'; 582 + String get todayRealtimeStressScenarioRegionLimit => '在部分地区,由于 Apple Watch 的呼吸功能受限,HRV 的更新频率可能会受到影响,并且开启呼吸功能后也会消耗更多电量。';
621 583
622 @override 584 @override
623 - String get todayRealtimeStressScenarioIntro =>  
624 - '为了解决 HRV 更新间隔较长的问题,DoubleFeel 设计了实时压力功能:'; 585 + String get todayRealtimeStressScenarioIntro => '为了解决 HRV 更新间隔较长的问题,DoubleFeel 设计了实时压力功能:';
625 586
626 @override 587 @override
627 String get todayRealtimeStressScenarioUpdateEvery6Min => '· 实时压力每 6 分钟更新一次'; 588 String get todayRealtimeStressScenarioUpdateEvery6Min => '· 实时压力每 6 分钟更新一次';
@@ -630,27 +591,22 @@ class AppLocalizationsZh extends AppLocalizations { @@ -630,27 +591,22 @@ class AppLocalizationsZh extends AppLocalizations {
630 String get todayRealtimeStressScenarioTimely => '· 可以更及时地反映身体状态变化'; 591 String get todayRealtimeStressScenarioTimely => '· 可以更及时地反映身体状态变化';
631 592
632 @override 593 @override
633 - String get todayRealtimeStressScenarioConsistentTrend =>  
634 - '· 在大多数情况下,实时压力趋势与 HRV 趋势是一致的'; 594 + String get todayRealtimeStressScenarioConsistentTrend => '· 在大多数情况下,实时压力趋势与 HRV 趋势是一致的';
635 595
636 @override 596 @override
637 - String get todayRealtimeStressScenarioSummary =>  
638 - '这样用户既能获得 HRV 的长期趋势,也能通过实时压力获得短时身体状态的参考。'; 597 + String get todayRealtimeStressScenarioSummary => '这样用户既能获得 HRV 的长期趋势,也能通过实时压力获得短时身体状态的参考。';
639 598
640 @override 599 @override
641 String get todayFaqNoDataTitle => 'APP或表盘有没有数据怎么办?'; 600 String get todayFaqNoDataTitle => 'APP或表盘有没有数据怎么办?';
642 601
643 @override 602 @override
644 - String get todayFaqNoDataDescription1 =>  
645 - '1. 确认苹果手表系统在10.0以上,手机系统在14以上,系统版本可在「关于本机」内查看。'; 603 + String get todayFaqNoDataDescription1 => '1. 确认苹果手表系统在10.0以上,手机系统在14以上,系统版本可在「关于本机」内查看。';
646 604
647 @override 605 @override
648 - String get todayFaqNoDataDescription2 =>  
649 - '2. 确认是否开启所有权限:手机「健康」-「共享」-「app」-「DoubleFeel」-「打开所有权限」。'; 606 + String get todayFaqNoDataDescription2 => '2. 确认是否开启所有权限:手机「健康」-「共享」-「app」-「DoubleFeel」-「打开所有权限」。';
650 607
651 @override 608 @override
652 - String get todayFaqNoDataDescription3 =>  
653 - '3. 确认设备是否处于省电模式、低电量状态或手表佩戴未贴紧,以上情况会影响手表数据采集。'; 609 + String get todayFaqNoDataDescription3 => '3. 确认设备是否处于省电模式、低电量状态或手表佩戴未贴紧,以上情况会影响手表数据采集。';
654 610
655 @override 611 @override
656 String get todayFaqContactPrefix => '如以上均检查无问题,可以'; 612 String get todayFaqContactPrefix => '如以上均检查无问题,可以';
@@ -665,46 +621,37 @@ class AppLocalizationsZh extends AppLocalizations { @@ -665,46 +621,37 @@ class AppLocalizationsZh extends AppLocalizations {
665 String get todayFaqWatchNoNotificationTitle => '手表无法收到状态通知?'; 621 String get todayFaqWatchNoNotificationTitle => '手表无法收到状态通知?';
666 622
667 @override 623 @override
668 - String get todayFaqWatchNoNotificationDescription1 =>  
669 - '苹果手表和手机的通知展示有优先级:当手机已解锁并亮屏时,通知只会在手机端展示,不会在手表上出现。'; 624 + String get todayFaqWatchNoNotificationDescription1 => '苹果手表和手机的通知展示有优先级:当手机已解锁并亮屏时,通知只会在手机端展示,不会在手表上出现。';
670 625
671 @override 626 @override
672 - String get todayFaqWatchNoNotificationDescription2 =>  
673 - '若压力数据可正常显示和自动更新,但手表未收到通知,可尝试以下操作:'; 627 + String get todayFaqWatchNoNotificationDescription2 => '若压力数据可正常显示和自动更新,但手表未收到通知,可尝试以下操作:';
674 628
675 @override 629 @override
676 - String get todayFaqWatchNoNotificationCheckPhoneNotification =>  
677 - '1. 检查手机是否打开通知(设置-DoubleFeel-通知)。'; 630 + String get todayFaqWatchNoNotificationCheckPhoneNotification => '1. 检查手机是否打开通知(设置-DoubleFeel-通知)。';
678 631
679 @override 632 @override
680 - String get todayFaqWatchNoNotificationCheckPhoneBackgroundRefresh =>  
681 - '2. 检查手机是否打开后台App刷新(设置-DoubleFeel-后台App刷新)。'; 633 + String get todayFaqWatchNoNotificationCheckPhoneBackgroundRefresh => '2. 检查手机是否打开后台App刷新(设置-DoubleFeel-后台App刷新)。';
682 634
683 @override 635 @override
684 - String get todayFaqWatchNoNotificationCheckWatchBackgroundRefresh =>  
685 - '3. 检查手表是否打开后台App刷新(设置-通用-后台App刷新,并确保DoubleFeel开启)。'; 636 + String get todayFaqWatchNoNotificationCheckWatchBackgroundRefresh => '3. 检查手表是否打开后台App刷新(设置-通用-后台App刷新,并确保DoubleFeel开启)。';
686 637
687 @override 638 @override
688 - String get todayFaqWatchNoNotificationCheckModes =>  
689 - '4. 确保未处于低电量/专注/勿扰/剧院/睡眠等模式。'; 639 + String get todayFaqWatchNoNotificationCheckModes => '4. 确保未处于低电量/专注/勿扰/剧院/睡眠等模式。';
690 640
691 @override 641 @override
692 - String get todayFaqWatchNoNotificationReinstall =>  
693 - '5. 重装DoubleFeel 并重启AppleWatch与iPhone。'; 642 + String get todayFaqWatchNoNotificationReinstall => '5. 重装DoubleFeel 并重启AppleWatch与iPhone。';
694 643
695 @override 644 @override
696 String get todayFaqWatchFaceDelayTitle => '手表表盘数据不更新或有延迟?'; 645 String get todayFaqWatchFaceDelayTitle => '手表表盘数据不更新或有延迟?';
697 646
698 @override 647 @override
699 - String get todayFaqWatchFaceDelayDescription1 =>  
700 - '由于苹果系统限制,所有手表表盘(第三方或官方)都会存在几分钟至半小时的延迟,开发者无法控制刷新频率。'; 648 + String get todayFaqWatchFaceDelayDescription1 => '由于苹果系统限制,所有手表表盘(第三方或官方)都会存在几分钟至半小时的延迟,开发者无法控制刷新频率。';
701 649
702 @override 650 @override
703 String get todayFaqWatchFaceDelayIfOverOneHour => '若手机数据刷新后超过1小时表盘仍未更新:'; 651 String get todayFaqWatchFaceDelayIfOverOneHour => '若手机数据刷新后超过1小时表盘仍未更新:';
704 652
705 @override 653 @override
706 - String get todayFaqWatchFaceDelayOpenWatchApp =>  
707 - '请在手表上手动打开DoubleFeel,等待约1分钟。'; 654 + String get todayFaqWatchFaceDelayOpenWatchApp => '请在手表上手动打开DoubleFeel,等待约1分钟。';
708 655
709 @override 656 @override
710 String get todayFaqWatchFaceDelayIfStill => '若仍未更新:'; 657 String get todayFaqWatchFaceDelayIfStill => '若仍未更新:';
@@ -719,27 +666,22 @@ class AppLocalizationsZh extends AppLocalizations { @@ -719,27 +666,22 @@ class AppLocalizationsZh extends AppLocalizations {
719 String get todayFaqWatchFaceDelayCheckData => '· 手机和手表app是否可正常看到HRV数据。'; 666 String get todayFaqWatchFaceDelayCheckData => '· 手机和手表app是否可正常看到HRV数据。';
720 667
721 @override 668 @override
722 - String get todayFaqWatchFaceDelayCheckPhoneHealth =>  
723 - '· 确保手机端「iOS设置-隐私与安全性-健康-DoubleFeel」全部授权。'; 669 + String get todayFaqWatchFaceDelayCheckPhoneHealth => '· 确保手机端「iOS设置-隐私与安全性-健康-DoubleFeel」全部授权。';
724 670
725 @override 671 @override
726 - String get todayFaqWatchFaceDelayCheckWatchHealth =>  
727 - '· 确保手表端「设置-健康-数据来源、App和服务-DoubleFeel」全部授权。'; 672 + String get todayFaqWatchFaceDelayCheckWatchHealth => '· 确保手表端「设置-健康-数据来源、App和服务-DoubleFeel」全部授权。';
728 673
729 @override 674 @override
730 - String get todayFaqWatchFaceDelayCheckBackgroundRefresh =>  
731 - '· 确认AppleWatch-设置-通用-后台App刷新中DoubleFeel已开启。'; 675 + String get todayFaqWatchFaceDelayCheckBackgroundRefresh => '· 确认AppleWatch-设置-通用-后台App刷新中DoubleFeel已开启。';
732 676
733 @override 677 @override
734 - String get todayFaqWatchFaceDelayRestartWatch =>  
735 - '· 若仍未自动刷新,请重启手表。长时间运行或后台占用过高可能导致表盘暂停更新。'; 678 + String get todayFaqWatchFaceDelayRestartWatch => '· 若仍未自动刷新,请重启手表。长时间运行或后台占用过高可能导致表盘暂停更新。';
736 679
737 @override 680 @override
738 String get todayFaqWatchFaceBlackScreenTitle => '手表表盘出现黑屏?'; 681 String get todayFaqWatchFaceBlackScreenTitle => '手表表盘出现黑屏?';
739 682
740 @override 683 @override
741 - String get todayFaqWatchFaceBlackScreenDescription =>  
742 - '若添加专属互动表盘后出现黑屏(仅显示时间和日期),可长按表盘,点击「编辑」,左滑至「复杂功能」,选择 DoubleFeel,然后按需选择各组件重新添加。'; 684 + String get todayFaqWatchFaceBlackScreenDescription => '若添加专属互动表盘后出现黑屏(仅显示时间和日期),可长按表盘,点击「编辑」,左滑至「复杂功能」,选择 DoubleFeel,然后按需选择各组件重新添加。';
743 685
744 @override 686 @override
745 String get today => '今天'; 687 String get today => '今天';
@@ -823,8 +765,7 @@ class AppLocalizationsZh extends AppLocalizations { @@ -823,8 +765,7 @@ class AppLocalizationsZh extends AppLocalizations {
823 String get questionsAndFeedback => '问题和反馈'; 765 String get questionsAndFeedback => '问题和反馈';
824 766
825 @override 767 @override
826 - String get ifYouWouldLikeUsToReplyPleaseProvideYourEmailAddress =>  
827 - '如果需要我们回复,请填写联系邮箱'; 768 + String get ifYouWouldLikeUsToReplyPleaseProvideYourEmailAddress => '如果需要我们回复,请填写联系邮箱';
828 769
829 @override 770 @override
830 String get uploadProof => '上传凭证'; 771 String get uploadProof => '上传凭证';
@@ -133,10 +133,10 @@ packages: @@ -133,10 +133,10 @@ packages:
133 dependency: transitive 133 dependency: transitive
134 description: 134 description:
135 name: characters 135 name: characters
136 - sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803 136 + sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
137 url: "https://pub.dev" 137 url: "https://pub.dev"
138 source: hosted 138 source: hosted
139 - version: "1.4.0" 139 + version: "1.3.0"
140 checked_yaml: 140 checked_yaml:
141 dependency: transitive 141 dependency: transitive
142 description: 142 description:
@@ -149,10 +149,10 @@ packages: @@ -149,10 +149,10 @@ packages:
149 dependency: transitive 149 dependency: transitive
150 description: 150 description:
151 name: clock 151 name: clock
152 - sha256: fddb70d9b5277016c77a80201021d40a2247104d9f4aa7bab7157b7e3f05b84b 152 + sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
153 url: "https://pub.dev" 153 url: "https://pub.dev"
154 source: hosted 154 source: hosted
155 - version: "1.1.2" 155 + version: "1.1.1"
156 code_builder: 156 code_builder:
157 dependency: transitive 157 dependency: transitive
158 description: 158 description:
@@ -165,10 +165,10 @@ packages: @@ -165,10 +165,10 @@ packages:
165 dependency: transitive 165 dependency: transitive
166 description: 166 description:
167 name: collection 167 name: collection
168 - sha256: "2f5709ae4d3d59dd8f7cd309b4e023046b57d8a6c82130785d2b0e5868084e76" 168 + sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf
169 url: "https://pub.dev" 169 url: "https://pub.dev"
170 source: hosted 170 source: hosted
171 - version: "1.19.1" 171 + version: "1.19.0"
172 convert: 172 convert:
173 dependency: transitive 173 dependency: transitive
174 description: 174 description:
@@ -237,10 +237,10 @@ packages: @@ -237,10 +237,10 @@ packages:
237 dependency: transitive 237 dependency: transitive
238 description: 238 description:
239 name: fake_async 239 name: fake_async
240 - sha256: "5368f224a74523e8d2e7399ea1638b37aecfca824a3cc4dfdf77bf1fa905ac44" 240 + sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
241 url: "https://pub.dev" 241 url: "https://pub.dev"
242 source: hosted 242 source: hosted
243 - version: "1.3.3" 243 + version: "1.3.1"
244 ffi: 244 ffi:
245 dependency: transitive 245 dependency: transitive
246 description: 246 description:
@@ -426,7 +426,7 @@ packages: @@ -426,7 +426,7 @@ packages:
426 dependency: transitive 426 dependency: transitive
427 description: 427 description:
428 path: image_cropper_for_web 428 path: image_cropper_for_web
429 - ref: "65c2c99891882ea59732959a672f3d5993a837bb" 429 + ref: "br_v9.1.0_ohos"
430 resolved-ref: "65c2c99891882ea59732959a672f3d5993a837bb" 430 resolved-ref: "65c2c99891882ea59732959a672f3d5993a837bb"
431 url: "https://gitcode.com/openharmony-sig/fluttertpc_image_cropper.git" 431 url: "https://gitcode.com/openharmony-sig/fluttertpc_image_cropper.git"
432 source: git 432 source: git
@@ -435,7 +435,7 @@ packages: @@ -435,7 +435,7 @@ packages:
435 dependency: transitive 435 dependency: transitive
436 description: 436 description:
437 path: image_cropper_platform_interface 437 path: image_cropper_platform_interface
438 - ref: "65c2c99891882ea59732959a672f3d5993a837bb" 438 + ref: "br_v9.1.0_ohos"
439 resolved-ref: "65c2c99891882ea59732959a672f3d5993a837bb" 439 resolved-ref: "65c2c99891882ea59732959a672f3d5993a837bb"
440 url: "https://gitcode.com/openharmony-sig/fluttertpc_image_cropper.git" 440 url: "https://gitcode.com/openharmony-sig/fluttertpc_image_cropper.git"
441 source: git 441 source: git
@@ -517,10 +517,10 @@ packages: @@ -517,10 +517,10 @@ packages:
517 dependency: "direct main" 517 dependency: "direct main"
518 description: 518 description:
519 name: intl 519 name: intl
520 - sha256: "3df61194eb431efc39c4ceba583b95633a403f46c9fd341e550ce0bfa50e9aa5" 520 + sha256: d6f56758b7d3014a48af9701c085700aac781a92a87a62b1333b46d8879661cf
521 url: "https://pub.dev" 521 url: "https://pub.dev"
522 source: hosted 522 source: hosted
523 - version: "0.20.2" 523 + version: "0.19.0"
524 io: 524 io:
525 dependency: transitive 525 dependency: transitive
526 description: 526 description:
@@ -549,26 +549,26 @@ packages: @@ -549,26 +549,26 @@ packages:
549 dependency: transitive 549 dependency: transitive
550 description: 550 description:
551 name: leak_tracker 551 name: leak_tracker
552 - sha256: "33e2e26bdd85a0112ec15400c8cbffea70d0f9c3407491f672a2fad47915e2de" 552 + sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06"
553 url: "https://pub.dev" 553 url: "https://pub.dev"
554 source: hosted 554 source: hosted
555 - version: "11.0.2" 555 + version: "10.0.7"
556 leak_tracker_flutter_testing: 556 leak_tracker_flutter_testing:
557 dependency: transitive 557 dependency: transitive
558 description: 558 description:
559 name: leak_tracker_flutter_testing 559 name: leak_tracker_flutter_testing
560 - sha256: "1dbc140bb5a23c75ea9c4811222756104fbcd1a27173f0c34ca01e16bea473c1" 560 + sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379"
561 url: "https://pub.dev" 561 url: "https://pub.dev"
562 source: hosted 562 source: hosted
563 - version: "3.0.10" 563 + version: "3.0.8"
564 leak_tracker_testing: 564 leak_tracker_testing:
565 dependency: transitive 565 dependency: transitive
566 description: 566 description:
567 name: leak_tracker_testing 567 name: leak_tracker_testing
568 - sha256: "8d5a2d49f4a66b49744b23b018848400d23e54caf9463f4eb20df3eb8acb2eb1" 568 + sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
569 url: "https://pub.dev" 569 url: "https://pub.dev"
570 source: hosted 570 source: hosted
571 - version: "3.0.2" 571 + version: "3.0.1"
572 lints: 572 lints:
573 dependency: transitive 573 dependency: transitive
574 description: 574 description:
@@ -597,10 +597,10 @@ packages: @@ -597,10 +597,10 @@ packages:
597 dependency: transitive 597 dependency: transitive
598 description: 598 description:
599 name: matcher 599 name: matcher
600 - sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2 600 + sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
601 url: "https://pub.dev" 601 url: "https://pub.dev"
602 source: hosted 602 source: hosted
603 - version: "0.12.17" 603 + version: "0.12.16+1"
604 material_color_utilities: 604 material_color_utilities:
605 dependency: transitive 605 dependency: transitive
606 description: 606 description:
@@ -613,10 +613,10 @@ packages: @@ -613,10 +613,10 @@ packages:
613 dependency: transitive 613 dependency: transitive
614 description: 614 description:
615 name: meta 615 name: meta
616 - sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394" 616 + sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7
617 url: "https://pub.dev" 617 url: "https://pub.dev"
618 source: hosted 618 source: hosted
619 - version: "1.17.0" 619 + version: "1.15.0"
620 mime: 620 mime:
621 dependency: transitive 621 dependency: transitive
622 description: 622 description:
@@ -645,10 +645,10 @@ packages: @@ -645,10 +645,10 @@ packages:
645 dependency: transitive 645 dependency: transitive
646 description: 646 description:
647 name: path 647 name: path
648 - sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5" 648 + sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
649 url: "https://pub.dev" 649 url: "https://pub.dev"
650 source: hosted 650 source: hosted
651 - version: "1.9.1" 651 + version: "1.9.0"
652 path_provider: 652 path_provider:
653 dependency: transitive 653 dependency: transitive
654 description: 654 description:
@@ -966,18 +966,18 @@ packages: @@ -966,18 +966,18 @@ packages:
966 dependency: transitive 966 dependency: transitive
967 description: 967 description:
968 name: stack_trace 968 name: stack_trace
969 - sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1" 969 + sha256: "9f47fd3630d76be3ab26f0ee06d213679aa425996925ff3feffdec504931c377"
970 url: "https://pub.dev" 970 url: "https://pub.dev"
971 source: hosted 971 source: hosted
972 - version: "1.12.1" 972 + version: "1.12.0"
973 stream_channel: 973 stream_channel:
974 dependency: transitive 974 dependency: transitive
975 description: 975 description:
976 name: stream_channel 976 name: stream_channel
977 - sha256: "969e04c80b8bcdf826f8f16579c7b14d780458bd97f56d107d3950fdbeef059d" 977 + sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
978 url: "https://pub.dev" 978 url: "https://pub.dev"
979 source: hosted 979 source: hosted
980 - version: "2.1.4" 980 + version: "2.1.2"
981 stream_transform: 981 stream_transform:
982 dependency: transitive 982 dependency: transitive
983 description: 983 description:
@@ -1006,10 +1006,10 @@ packages: @@ -1006,10 +1006,10 @@ packages:
1006 dependency: "direct main" 1006 dependency: "direct main"
1007 description: 1007 description:
1008 name: table_calendar 1008 name: table_calendar
1009 - sha256: "0c0c6219878b363a2d5f40c7afb159d845f253d061dc3c822aa0d5fe0f721982" 1009 + sha256: b2896b7c86adf3a4d9c911d860120fe3dbe03c85db43b22fd61f14ee78cdbb63
1010 url: "https://pub.dev" 1010 url: "https://pub.dev"
1011 source: hosted 1011 source: hosted
1012 - version: "3.2.0" 1012 + version: "3.1.3"
1013 term_glyph: 1013 term_glyph:
1014 dependency: transitive 1014 dependency: transitive
1015 description: 1015 description:
@@ -1022,10 +1022,10 @@ packages: @@ -1022,10 +1022,10 @@ packages:
1022 dependency: transitive 1022 dependency: transitive
1023 description: 1023 description:
1024 name: test_api 1024 name: test_api
1025 - sha256: ab2726c1a94d3176a45960b6234466ec367179b87dd74f1611adb1f3b5fb9d55 1025 + sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c"
1026 url: "https://pub.dev" 1026 url: "https://pub.dev"
1027 source: hosted 1027 source: hosted
1028 - version: "0.7.7" 1028 + version: "0.7.3"
1029 timing: 1029 timing:
1030 dependency: transitive 1030 dependency: transitive
1031 description: 1031 description:
@@ -1054,10 +1054,10 @@ packages: @@ -1054,10 +1054,10 @@ packages:
1054 dependency: transitive 1054 dependency: transitive
1055 description: 1055 description:
1056 name: vector_math 1056 name: vector_math
1057 - sha256: d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b 1057 + sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
1058 url: "https://pub.dev" 1058 url: "https://pub.dev"
1059 source: hosted 1059 source: hosted
1060 - version: "2.2.0" 1060 + version: "2.1.4"
1061 vm_service: 1061 vm_service:
1062 dependency: transitive 1062 dependency: transitive
1063 description: 1063 description:
@@ -1111,8 +1111,8 @@ packages: @@ -1111,8 +1111,8 @@ packages:
1111 dependency: transitive 1111 dependency: transitive
1112 description: 1112 description:
1113 path: "packages/webview_flutter/webview_flutter_android" 1113 path: "packages/webview_flutter/webview_flutter_android"
1114 - ref: de942e79c9057b32ad31106508bd87c0d60aef83  
1115 - resolved-ref: de942e79c9057b32ad31106508bd87c0d60aef83 1114 + ref: "br_webview_flutter-v4.13.0_ohos"
  1115 + resolved-ref: ecd3d0b6195945ee0660c324d45f1acbc6198cc3
1116 url: "https://gitcode.com/openharmony-tpc/flutter_packages.git" 1116 url: "https://gitcode.com/openharmony-tpc/flutter_packages.git"
1117 source: git 1117 source: git
1118 version: "4.7.0" 1118 version: "4.7.0"
@@ -1120,8 +1120,8 @@ packages: @@ -1120,8 +1120,8 @@ packages:
1120 dependency: transitive 1120 dependency: transitive
1121 description: 1121 description:
1122 path: "packages/webview_flutter/webview_flutter_ohos" 1122 path: "packages/webview_flutter/webview_flutter_ohos"
1123 - ref: de942e79c9057b32ad31106508bd87c0d60aef83  
1124 - resolved-ref: de942e79c9057b32ad31106508bd87c0d60aef83 1123 + ref: "br_webview_flutter-v4.13.0_ohos"
  1124 + resolved-ref: ecd3d0b6195945ee0660c324d45f1acbc6198cc3
1125 url: "https://gitcode.com/openharmony-tpc/flutter_packages.git" 1125 url: "https://gitcode.com/openharmony-tpc/flutter_packages.git"
1126 source: git 1126 source: git
1127 version: "4.7.0" 1127 version: "4.7.0"
@@ -1129,8 +1129,8 @@ packages: @@ -1129,8 +1129,8 @@ packages:
1129 dependency: transitive 1129 dependency: transitive
1130 description: 1130 description:
1131 path: "packages/webview_flutter/webview_flutter_platform_interface" 1131 path: "packages/webview_flutter/webview_flutter_platform_interface"
1132 - ref: de942e79c9057b32ad31106508bd87c0d60aef83  
1133 - resolved-ref: de942e79c9057b32ad31106508bd87c0d60aef83 1132 + ref: "br_webview_flutter-v4.13.0_ohos"
  1133 + resolved-ref: ecd3d0b6195945ee0660c324d45f1acbc6198cc3
1134 url: "https://gitcode.com/openharmony-tpc/flutter_packages.git" 1134 url: "https://gitcode.com/openharmony-tpc/flutter_packages.git"
1135 source: git 1135 source: git
1136 version: "2.13.1" 1136 version: "2.13.1"
@@ -1138,8 +1138,8 @@ packages: @@ -1138,8 +1138,8 @@ packages:
1138 dependency: transitive 1138 dependency: transitive
1139 description: 1139 description:
1140 path: "packages/webview_flutter/webview_flutter_wkwebview" 1140 path: "packages/webview_flutter/webview_flutter_wkwebview"
1141 - ref: de942e79c9057b32ad31106508bd87c0d60aef83  
1142 - resolved-ref: de942e79c9057b32ad31106508bd87c0d60aef83 1141 + ref: "br_webview_flutter-v4.13.0_ohos"
  1142 + resolved-ref: ecd3d0b6195945ee0660c324d45f1acbc6198cc3
1143 url: "https://gitcode.com/openharmony-tpc/flutter_packages.git" 1143 url: "https://gitcode.com/openharmony-tpc/flutter_packages.git"
1144 source: git 1144 source: git
1145 version: "3.22.0" 1145 version: "3.22.0"
@@ -1160,5 +1160,5 @@ packages: @@ -1160,5 +1160,5 @@ packages:
1160 source: hosted 1160 source: hosted
1161 version: "3.1.3" 1161 version: "3.1.3"
1162 sdks: 1162 sdks:
1163 - dart: ">=3.8.0-0 <4.0.0" 1163 + dart: ">=3.6.2 <4.0.0"
1164 flutter: ">=3.27.0" 1164 flutter: ">=3.27.0"