Commit 490cf3cd30ce1e1e243b79c1b212fe3b12eb3d68

Authored by 权海
1 parent 8dddb915

feat(ui):增加bridge 接口;完善手表主题页面

... ... @@ -357,6 +357,8 @@ interface PlatformHostApi {
fun refreshWatchAppAndWidgets()
/** 请求评分弹窗 */
fun requestAppReview(callback: (Result<Boolean>) -> Unit)
/** 跳app应用设置:通知、定位等权限 */
fun jumpAppSetting(): Boolean
/** 请求苹果登录 */
fun requestAppleSignIn(callback: (Result<AppleSignInModel?>) -> Unit)
/**
... ... @@ -500,6 +502,21 @@ interface PlatformHostApi {
}
}
run {
val channel = BasicMessageChannel<Any?>(binaryMessenger, "dev.flutter.pigeon.doublefeel_flutter.PlatformHostApi.jumpAppSetting$separatedMessageChannelSuffix", codec)
if (api != null) {
channel.setMessageHandler { _, reply ->
val wrapped: List<Any?> = try {
listOf(api.jumpAppSetting())
} catch (exception: Throwable) {
PlatformApiPigeonUtils.wrapError(exception)
}
reply.reply(wrapped)
}
} else {
channel.setMessageHandler(null)
}
}
run {
val channel = BasicMessageChannel<Any?>(binaryMessenger, "dev.flutter.pigeon.doublefeel_flutter.PlatformHostApi.requestAppleSignIn$separatedMessageChannelSuffix", codec)
if (api != null) {
channel.setMessageHandler { _, reply ->
... ...

6.42 KB | W: | H:

958 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin

6.42 KB | W: | H:

1.27 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin

6.26 KB | W: | H:

927 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin

6.39 KB | W: | H:

1022 Bytes | W: | H:

  • 2-up
  • Swipe
  • Onion skin
... ... @@ -14,6 +14,7 @@ import AdSupport
typealias FlutterBridgeMethod = ((_ params: Any?, _ result: FlutterResult) -> Void)
let kAppId = "6747254434"
@Observable
class AppDelegate: NSObject, UIApplicationDelegate {
... ...
... ... @@ -383,6 +383,8 @@ protocol PlatformHostApi {
func refreshWatchAppAndWidgets() throws
/// 请求评分弹窗
func requestAppReview(completion: @escaping (Result<Bool, Error>) -> Void)
/// 跳app应用设置:通知、定位等权限
func jumpAppSetting() throws -> Bool
/// 请求苹果登录
func requestAppleSignIn(completion: @escaping (Result<AppleSignInModel?, Error>) -> Void)
/// 查询指定id的苹果商品
... ... @@ -511,6 +513,20 @@ class PlatformHostApiSetup {
} else {
requestAppReviewChannel.setMessageHandler(nil)
}
/// 跳app应用设置:通知、定位等权限
let jumpAppSettingChannel = FlutterBasicMessageChannel(name: "dev.flutter.pigeon.doublefeel_flutter.PlatformHostApi.jumpAppSetting\(channelSuffix)", binaryMessenger: binaryMessenger, codec: codec)
if let api = api {
jumpAppSettingChannel.setMessageHandler { _, reply in
do {
let result = try api.jumpAppSetting()
reply(wrapResult(result))
} catch {
reply(wrapError(error))
}
}
} else {
jumpAppSettingChannel.setMessageHandler(nil)
}
/// 请求苹果登录
let requestAppleSignInChannel = FlutterBasicMessageChannel(name: "dev.flutter.pigeon.doublefeel_flutter.PlatformHostApi.requestAppleSignIn\(channelSuffix)", binaryMessenger: binaryMessenger, codec: codec)
if let api = api {
... ...
... ... @@ -37,12 +37,26 @@ class PriceFormatter{
* `{systemWebViewUA} doublefeel/{versionCode}({versionName})(Apple##Apple##{model}; iOS{osVersion}; {height}x{width})(huawei)`
*/
final class PlatformHostApiImpl: PlatformHostApi {
func jumpAppSetting() throws -> Bool {
if let url = URL(string: UIApplication.openSettingsURLString){
UIApplication.shared.open(url)
return true
}
return false
}
func isDebugEnvoriment() throws -> Bool {
return true
}
func requestAppReview(completion: @escaping (Result<Bool, any Error>) -> Void) {
let urlString = "itms-apps://itunes.apple.com/app/id\(kAppId)?action=write-review"
guard let url = URL(string: urlString) else{
return
}
if UIApplication.shared.canOpenURL(url){
UIApplication.shared.open(url)
}
}
func uploadFile(filePath: String, resourceType: HResourceType, completion: @escaping (Result<String?, any Error>) -> Void) {
... ...
... ... @@ -62,16 +62,21 @@ class LoginController extends GetxController {
AppToast.show(AppLocalizations.of(Get.context!)!.loginAgreeToTermsToast);
return;
}
final result = await PlatformHostApi().requestAppleSignIn();
// result 为 null 或 identityToken 为空,说明用户取消或苹果授权失败
if (result == null ||
result.identityToken?.isNotEmpty != true ||
result.userId.isNotEmpty != true) {
try {
final result = await PlatformHostApi().requestAppleSignIn();
// result 为 null 或 identityToken 为空,说明用户取消或苹果授权失败
if (result == null ||
result.identityToken?.isNotEmpty != true ||
result.userId.isNotEmpty != true) {
appleSignInModel = null;
return;
}
appleSignInModel = result;
await _loginWithApple(result);
} catch (e) {
appleSignInModel = null;
return;
AppToast.show(e.toString());
}
appleSignInModel = result;
await _loginWithApple(result);
}
void onDebugPressed() {
... ...
import 'package:doublefeel_flutter/core/network/api/vip_api.dart';
import 'package:get/get.dart';
import '../../../../core/network/api/theme_api.dart';
... ... @@ -10,7 +11,7 @@ class WatchThemeBinding extends Bindings {
@override
void dependencies() {
Get.lazyPut<WatchThemeController>(
() => WatchThemeController(Get.find<ThemeApi>()),
() => WatchThemeController(Get.find<ThemeApi>(), Get.find<VipApi>()),
);
}
}
... ...
import 'dart:async';
import 'dart:convert';
import 'package:doublefeel_flutter/core/network/api/theme_api.dart';
import 'package:doublefeel_flutter/core/result/app_result.dart';
import 'package:doublefeel_flutter/core/util/app_toast.dart';
import 'package:doublefeel_flutter/pigeon/wear_engine_api.g.dart';
import 'package:doublefeel_flutter/r.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
... ... @@ -21,11 +21,48 @@ class CustomWatchThemePreviewController extends GetxController {
late final WatchThemeItem themeItem;
final isApplying = false.obs;
final isDeleting = false.obs;
final friendThemeItem = Rx<WatchThemeItem?>(null);
final selectedThemeItem = Rx<WatchThemeItem?>(null);
bool get hasFriend {
return (friendThemeItem.value?.userId ?? 0) > 0;
}
bool get isInUsage {
return themeItem.id == selectedThemeItem.value?.id;
}
@override
void onInit() {
super.onInit();
themeItem = _readThemeArgument() ?? WatchThemeItem.empty();
unawaited(loadFriendTheme());
unawaited(_loadMyTheme());
}
Future<void> loadFriendTheme() async {
final result = await _themeApi.getCurrentTheme(
isOther: true,
errorHandlingPolicy: null,
);
if (result case AppSuccess<WatchThemeItem>(data: final theme)) {
friendThemeItem.value = theme;
} else {
friendThemeItem.value = null;
}
}
Future<void> _loadMyTheme() async {
final result = await _themeApi.getCurrentTheme(
errorHandlingPolicy: null,
);
if (result case AppSuccess<WatchThemeItem>(data: final theme)) {
selectedThemeItem.value = theme;
} else {
selectedThemeItem.value = null;
}
}
WatchThemeItem? _readThemeArgument() {
... ... @@ -71,7 +108,7 @@ class CustomWatchThemePreviewController extends GetxController {
}
}
_changeFriend() {
void changeFriend() {
//TODO: - bottomSheet 的方式展示出 SelectFriendView
}
... ... @@ -94,14 +131,14 @@ class CustomWatchThemePreviewController extends GetxController {
await Get.dialog<void>(
WatchThemeSyncDialog(
themeImageUrl: themeItem.energeticImage,
onSync: _applyAndSyncWatchFace,
onSync: applyAndSyncWatchFace,
),
barrierDismissible: false,
barrierColor: const Color(0xB3000000),
);
}
Future<bool> _applyAndSyncWatchFace() async {
Future<bool> applyAndSyncWatchFace() async {
final themeId = themeItem.id;
if (themeId == null) {
AppToast.show('主题信息不完整');
... ...
import 'dart:async';
import 'package:doublefeel_flutter/app/routes/app_pages.dart';
import 'package:doublefeel_flutter/core/network/api/theme_api.dart';
import 'package:doublefeel_flutter/core/network/api/vip_api.dart';
import 'package:doublefeel_flutter/core/result/app_result.dart';
import 'package:doublefeel_flutter/data/local/user_preferences_storage.dart';
import 'package:doublefeel_flutter/data/models/local/user_preferences.dart';
import 'package:get/get.dart';
import '../models/watch_theme_models.dart';
class WatchThemeController extends GetxController {
WatchThemeController(this._themeApi);
WatchThemeController(this._themeApi, this._vipApi);
final ThemeApi _themeApi;
final VipApi _vipApi;
final activeThemeId = RxnInt();
final hasCustomThemes = false.obs;
final isPremium = false.obs;
final isLoadingThemes = false.obs;
final officialThemeItems = <WatchThemeItem>[].obs;
final customThemeItems = <WatchThemeItem>[].obs;
final selectedThemeItem = Rx<WatchThemeItem?>(null);
@override
void onInit() {
super.onInit();
final args = Get.arguments;
if (args is Map) {
hasCustomThemes.value = args['hasCustomThemes'] == true;
isPremium.value = args['isPremium'] == true || hasCustomThemes.value;
}
loadThemeList();
unawaited(loadThemeList());
unawaited(_refreshVip());
}
Future<void> loadThemeList() async {
... ... @@ -38,9 +40,9 @@ class WatchThemeController extends GetxController {
isLoadingThemes.value = false;
if (activeResult case AppSuccess<WatchThemeItem>(data: final theme)) {
activeThemeId.value = theme.id;
selectedThemeItem.value = theme;
} else {
activeThemeId.value = null;
selectedThemeItem.value = null;
}
if (result is! AppSuccess<WatchThemeResponse>) {
... ... @@ -52,8 +54,7 @@ class WatchThemeController extends GetxController {
final custom = themes.where((theme) => theme.isCustomTheme).toList();
officialThemeItems.assignAll(official);
customThemeItems.assignAll(custom);
hasCustomThemes.value = custom.isNotEmpty;
isPremium.value = isPremium.value || hasCustomThemes.value;
isPremium.value = isPremium.value;
}
void executeBackLogic() {
... ... @@ -68,8 +69,29 @@ class WatchThemeController extends GetxController {
}
Future<void> createCustomTheme() async {
await Get.toNamed(Routes.WATCH_THEME_CREATE);
await loadThemeList();
if (isPremium.value) {
await Get.toNamed(Routes.WATCH_THEME_CREATE);
await loadThemeList();
} else {
// 进入会员页
_toPremiumPage();
}
}
_refreshVip() async {
final vipResult = await _vipApi.getVipInfo();
if (vipResult case AppSuccess(data: final vip)) {
try {
final vipPrefs = UserPreferencesVipInfo.fromVipInfo(vip);
await Get.find<UserPreferencesStorage>().updateVipInfo(vipPrefs);
isPremium.value = vipPrefs.isVip;
} on Exception catch (e) {}
}
}
Future<void> _toPremiumPage() async {
await Get.toNamed(Routes.PURCHASE);
await _refreshVip();
}
Future<void> previewCustomTheme(WatchThemeItem theme) async {
... ...
import 'dart:async';
import 'dart:convert';
import 'package:doublefeel_flutter/core/network/api/theme_api.dart';
import 'package:doublefeel_flutter/core/result/app_result.dart';
import 'package:doublefeel_flutter/core/util/app_toast.dart';
import 'package:doublefeel_flutter/pigeon/wear_engine_api.g.dart';
import 'package:doublefeel_flutter/r.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
... ... @@ -19,11 +19,48 @@ class WatchThemePreviewController extends GetxController {
late final WatchThemeItem themeItem;
final isApplying = false.obs;
final friendThemeItem = Rx<WatchThemeItem?>(null);
final selectedThemeItem = Rx<WatchThemeItem?>(null);
bool get hasFriend {
return (friendThemeItem.value?.userId ?? 0) > 0;
}
bool get isInUsage {
return themeItem.id == selectedThemeItem.value?.id;
}
@override
void onInit() {
super.onInit();
themeItem = _readThemeArgument() ?? WatchThemeItem.empty();
unawaited(loadFriendTheme());
unawaited(_loadMyTheme());
}
Future<void> loadFriendTheme() async {
final result = await _themeApi.getCurrentTheme(
isOther: true,
errorHandlingPolicy: null,
);
if (result case AppSuccess<WatchThemeItem>(data: final theme)) {
friendThemeItem.value = theme;
} else {
friendThemeItem.value = null;
}
}
Future<void> _loadMyTheme() async {
final result = await _themeApi.getCurrentTheme(
errorHandlingPolicy: null,
);
if (result case AppSuccess<WatchThemeItem>(data: final theme)) {
selectedThemeItem.value = theme;
} else {
selectedThemeItem.value = null;
}
}
WatchThemeItem? _readThemeArgument() {
... ... @@ -60,18 +97,18 @@ class WatchThemePreviewController extends GetxController {
await Get.dialog<void>(
WatchThemeSyncDialog(
themeImageUrl: themeItem.energeticImage,
onSync: _applyAndSyncWatchFace,
onSync: applyAndSyncWatchFace,
),
barrierDismissible: false,
barrierColor: const Color(0xB3000000),
);
}
_changeFriend() {
void changeFriend() {
//TODO: - bottomSheet 的方式展示出 SelectFriendView
}
Future<bool> _applyAndSyncWatchFace() async {
Future<bool> applyAndSyncWatchFace() async {
final themeId = themeItem.id;
if (themeId == null) {
AppToast.show('主题信息不完整');
... ...
... ... @@ -81,10 +81,15 @@ class CustomWatchThemePreviewView
const SizedBox(height: 26),
StatusPreviewCard(themeItem: controller.themeItem),
const SizedBox(height: 12),
DialPreviewCard(
showFriend: true,
themeImageUrl: controller.themeItem.energeticImage,
)
Obx(() {
return DialPreviewCard(
showFriend: controller.hasFriend,
themeImageUrl:
controller.themeItem.energeticImage,
themeImageUrl2:
controller.friendThemeItem.value?.normalImage,
);
}),
],
),
),
... ... @@ -94,12 +99,13 @@ class CustomWatchThemePreviewView
),
],
),
bottomNavigationBar: WatchThemeBottomActions(
onAddTap: controller.addWatchFace,
secondaryLabel: '立即使用',
onSecondaryTap: controller.addWatchFace,
secondaryDisabled: false,
),
bottomNavigationBar: Obx(() {
return WatchThemeBottomActions(
onAddTap: controller.addWatchFace,
isInUsage: controller.isInUsage,
onSecondaryTap: controller.applyAndSyncWatchFace,
);
}),
),
);
}
... ...
... ... @@ -59,12 +59,22 @@ class WatchThemePreviewView extends GetView<WatchThemePreviewController> {
padding: const EdgeInsets.only(bottom: 96),
child: Column(
children: [
const WatchThemeHeader(),
WatchThemeHeader(
themeImageUrl: controller.themeItem.energeticImage,
),
const SizedBox(height: 26),
StatusPreviewCard(themeItem: controller.themeItem),
const SizedBox(height: 12),
DialPreviewCard(
showFriend: true,
Obx(
() {
return DialPreviewCard(
showFriend: controller.hasFriend,
themeImageUrl:
controller.themeItem.energeticImage,
themeImageUrl2: controller
.friendThemeItem.value?.normalImage,
);
},
),
],
),
... ... @@ -75,9 +85,13 @@ class WatchThemePreviewView extends GetView<WatchThemePreviewController> {
),
],
),
bottomNavigationBar: WatchThemeBottomActions(
onAddTap: controller.addWatchFace,
),
bottomNavigationBar: Obx(() {
return WatchThemeBottomActions(
onAddTap: controller.addWatchFace,
isInUsage: controller.isInUsage,
onSecondaryTap: controller.applyAndSyncWatchFace,
);
}),
),
);
}
... ...
... ... @@ -59,19 +59,23 @@ class WatchThemeView extends GetView<WatchThemeController> {
padding: const EdgeInsets.only(bottom: 24),
child: Column(
children: [
const WatchThemeHeader(),
WatchThemeHeader(
themeImageUrl: controller
.selectedThemeItem.value?.energeticImage,
),
const SizedBox(height: 26),
OfficialThemeGrid(
themes: controller.officialThemeItems,
activeThemeId: controller.activeThemeId.value,
activeThemeId:
controller.selectedThemeItem.value?.id ?? 0,
onThemeTap: controller.selectOfficialTheme,
),
const SizedBox(height: 12),
CustomThemeCard(
isPremium: controller.isPremium.value,
hasCustomThemes: controller.hasCustomThemes.value,
customThemes: controller.customThemeItems,
activeThemeId: controller.activeThemeId.value,
activeThemeId:
controller.selectedThemeItem.value?.id ?? 0,
onCreateTap: controller.createCustomTheme,
onThemeTap: controller.previewCustomTheme,
),
... ...
... ... @@ -11,7 +11,6 @@ class CustomThemeCard extends StatelessWidget {
const CustomThemeCard({
super.key,
required this.isPremium,
required this.hasCustomThemes,
required this.customThemes,
required this.activeThemeId,
required this.onCreateTap,
... ... @@ -19,7 +18,6 @@ class CustomThemeCard extends StatelessWidget {
});
final bool isPremium;
final bool hasCustomThemes;
final List<WatchThemeItem> customThemes;
final int? activeThemeId;
final VoidCallback onCreateTap;
... ... @@ -49,7 +47,7 @@ class CustomThemeCard extends StatelessWidget {
),
SizedBox(height: 14),
_CreateThemeButton(onTap: onCreateTap),
if (hasCustomThemes) ...[
if (customThemes.isEmpty) ...[
SizedBox(height: 12),
Row(
children: [
... ...
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'watch_face_preview.dart';
import 'watch_theme_section_card.dart';
... ... @@ -17,16 +18,16 @@ class DialPreviewCard extends StatelessWidget {
@override
Widget build(BuildContext context) {
return WatchThemeSectionCard(
padding: EdgeInsets.fromLTRB(20, 20, 0, 27),
padding: EdgeInsets.fromLTRB(0, 20, 0, 27),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
const WatchThemeSectionTitle('表盘预览'),
const WatchThemeSectionTitle('表盘预览').paddingOnly(left: 20),
SizedBox(height: 16),
SizedBox(
height: 136,
height: showFriend ? 172 : 136,
child: ListView.separated(
padding: EdgeInsets.zero,
padding: EdgeInsets.fromLTRB(20, 0, 20, 0),
scrollDirection: Axis.horizontal,
physics: const AlwaysScrollableScrollPhysics(),
itemBuilder: (context, index) {
... ...
... ... @@ -26,6 +26,11 @@ class OfficialThemeGrid extends StatelessWidget {
children: [
const WatchThemeSectionTitle('官方主题'),
SizedBox(height: 22),
themes.isEmpty
? SizedBox(
height: 114,
)
:
GridView.builder(
shrinkWrap: true,
padding: EdgeInsets.zero,
... ...
... ... @@ -17,11 +17,13 @@ class WatchFacePreview extends StatelessWidget {
this.type = WatchFacePreviewType.singleMedium,
this.themeImageUrl,
this.themeImageUrl2,
this.switchFriend,
});
final String? themeImageUrl;
final String? themeImageUrl2;
final WatchFacePreviewType type;
final Function()? switchFriend;
String get _backgroundAsset {
if (type == WatchFacePreviewType.surface) {
... ... @@ -42,15 +44,15 @@ class WatchFacePreview extends StatelessWidget {
Size get _themeSize {
if (type == WatchFacePreviewType.singleMedium) {
return Size(78, 78);
return Size(64, 64);
}
if (type == WatchFacePreviewType.singleSmall) {
return Size(55, 55);
return Size(54, 54);
}
if (type == WatchFacePreviewType.surface) {
return Size(44, 44);
return Size(32, 32);
}
return Size(55, 55);
return Size(32, 32);
}
@override
... ... @@ -58,7 +60,10 @@ class WatchFacePreview extends StatelessWidget {
final size = _previewSize;
return SizedBox(
child: Stack(
child: Column(
children: [
Stack(
alignment: Alignment.topCenter,
clipBehavior: Clip.none,
children: [
Image(
... ... @@ -70,6 +75,28 @@ class WatchFacePreview extends StatelessWidget {
_buildThemeImages(),
],
),
type == WatchFacePreviewType.coupleSmall
? GestureDetector(
onTap: switchFriend,
child: Container(
alignment: Alignment.center,
height: 24,
padding: EdgeInsets.fromLTRB(12, 0, 12, 0),
decoration: BoxDecoration(
border: Border.all(width: 1, color: Color(0xFFC3ADFF)),
borderRadius: BorderRadius.all(Radius.circular(12))),
child: Text(
'切换好友',
style: TextStyle(
fontSize: 12,
fontWeight: FontWeight.w600,
color: Color(0xFF845EEE)),
),
),
).marginOnly(top: 8)
: SizedBox(),
],
),
);
}
... ... @@ -78,26 +105,28 @@ class WatchFacePreview extends StatelessWidget {
if (type == WatchFacePreviewType.singleMedium) {
return Positioned(
top: 40,
top: 30,
width: themeSize.width,
height: themeSize.height,
child: _buildFaceImage(themeImageUrl,
'assets/images/watch_theme/official_default_green.png'),
'assets/images/watch_theme/official_default_green.png')
.paddingOnly(right: 10),
);
}
if (type == WatchFacePreviewType.singleSmall) {
return Positioned(
top: 36,
top: 26,
width: themeSize.width,
height: themeSize.height,
child: _buildFaceImage(themeImageUrl,
'assets/images/watch_theme/official_default_green.png'),
'assets/images/watch_theme/official_default_green.png')
.paddingOnly(right: 8),
);
}
if (type == WatchFacePreviewType.surface) {
return Positioned(
top: 90,
left: 24,
top: 60,
left: 10,
width: themeSize.width,
height: themeSize.height,
child: _buildFaceImage(themeImageUrl,
... ... @@ -106,7 +135,7 @@ class WatchFacePreview extends StatelessWidget {
}
return Positioned(
top: 30,
top: 36,
child: Row(
children: [
SizedBox(
... ... @@ -116,7 +145,7 @@ class WatchFacePreview extends StatelessWidget {
'assets/images/watch_theme/official_default_green.png'),
),
SizedBox(
width: 8,
width: 12,
),
SizedBox(
width: themeSize.width,
... ... @@ -125,20 +154,23 @@ class WatchFacePreview extends StatelessWidget {
'assets/images/watch_theme/official_default_blue.png'),
),
],
),
).paddingOnly(right: 8),
);
}
Widget _buildFaceImage(String? themeUrl, String placeholder) {
if (themeUrl != null && themeUrl.isNotEmpty) {
if (themeUrl.isURL) {
return CachedNetworkImage(imageUrl: themeUrl);
return CachedNetworkImage(
imageUrl: themeUrl,
fit: BoxFit.fitWidth,
);
}
return Image.file(File(themeUrl), fit: BoxFit.cover);
return Image.file(File(themeUrl), fit: BoxFit.fitWidth);
}
return Image.asset(
placeholder,
fit: BoxFit.cover,
fit: BoxFit.fitWidth,
);
}
}
... ...
import 'package:doublefeel_flutter/core/util/size_extensions.dart';
import 'package:flutter/material.dart';
import 'watch_theme_colors.dart';
... ... @@ -7,22 +7,20 @@ class WatchThemeBottomActions extends StatelessWidget {
const WatchThemeBottomActions({
super.key,
required this.onAddTap,
this.secondaryLabel = '正在使用',
this.isInUsage = false,
this.onSecondaryTap,
this.secondaryDisabled = true,
});
final VoidCallback onAddTap;
final String secondaryLabel;
final bool isInUsage;
final VoidCallback? onSecondaryTap;
final bool secondaryDisabled;
@override
Widget build(BuildContext context) {
return SafeArea(
top: false,
child: Container(
padding: EdgeInsets.fromLTRB(21.dp, 8.dp, 21.dp, 7.dp),
padding: EdgeInsets.fromLTRB(21, 8, 21, 7),
color: WatchThemeColors.background,
child: Row(
children: [
... ... @@ -34,16 +32,20 @@ class WatchThemeBottomActions extends StatelessWidget {
onTap: onAddTap,
),
),
SizedBox(width: 12.dp),
SizedBox(width: 12),
Expanded(
child: _ActionButton(
label: secondaryLabel,
color: secondaryDisabled
label: isInUsage ? '正在使用' : '立即使用',
color: isInUsage
? WatchThemeColors.brand.withValues(alpha: 0.4)
: WatchThemeColors.brand,
textColor:
secondaryDisabled ? WatchThemeColors.brand : Colors.white,
onTap: onSecondaryTap,
textColor: isInUsage ? WatchThemeColors.brand : Colors.white,
onTap: () {
if (isInUsage) {
return;
}
onSecondaryTap?.call();
},
),
),
],
... ... @@ -72,17 +74,17 @@ class _ActionButton extends StatelessWidget {
behavior: HitTestBehavior.opaque,
onTap: onTap,
child: Container(
height: 48.dp,
height: 48,
alignment: Alignment.center,
decoration: BoxDecoration(
color: color,
borderRadius: BorderRadius.circular(24.dp),
borderRadius: BorderRadius.circular(24),
),
child: Text(
label,
style: TextStyle(
color: textColor,
fontSize: 16.dp,
fontSize: 16,
fontWeight: FontWeight.w600,
height: 1.25,
),
... ...
... ... @@ -62,8 +62,7 @@ import 'app_localizations_zh.dart';
/// be consistent with the languages listed in the AppLocalizations.supportedLocales
/// property.
abstract class AppLocalizations {
AppLocalizations(String locale)
: localeName = intl.Intl.canonicalizedLocale(locale.toString());
AppLocalizations(String locale) : localeName = intl.Intl.canonicalizedLocale(locale.toString());
final String localeName;
... ... @@ -71,8 +70,7 @@ abstract class AppLocalizations {
return Localizations.of<AppLocalizations>(context, AppLocalizations);
}
static const LocalizationsDelegate<AppLocalizations> delegate =
_AppLocalizationsDelegate();
static const LocalizationsDelegate<AppLocalizations> delegate = _AppLocalizationsDelegate();
/// A list of this localizations delegate along with the default localizations
/// delegates.
... ... @@ -84,8 +82,7 @@ abstract class AppLocalizations {
/// Additional delegates can be added by appending to this list in
/// MaterialApp. This list does not have to be used at all if a custom list
/// of delegates is preferred or required.
static const List<LocalizationsDelegate<dynamic>> localizationsDelegates =
<LocalizationsDelegate<dynamic>>[
static const List<LocalizationsDelegate<dynamic>> localizationsDelegates = <LocalizationsDelegate<dynamic>>[
delegate,
GlobalMaterialLocalizations.delegate,
GlobalCupertinoLocalizations.delegate,
... ... @@ -528,8 +525,7 @@ abstract class AppLocalizations {
///
/// In zh, this message translates to:
/// **'你们现在可以查看彼此的 HRV、压力与睡眠变化,并在对方疲惫时及时送上关心。'**
String
get youCanNowViewEachOtherSHrvStressLevelsAndSleepPatternsAndReachOutToCheckInWhenTheOtherPersonSeemsTired;
String get youCanNowViewEachOtherSHrvStressLevelsAndSleepPatternsAndReachOutToCheckInWhenTheOtherPersonSeemsTired;
/// No description provided for @bindPartnerTitle.
///
... ... @@ -3088,8 +3084,7 @@ abstract class AppLocalizations {
String get appReviewIllustrationPlaceholder;
}
class _AppLocalizationsDelegate
extends LocalizationsDelegate<AppLocalizations> {
class _AppLocalizationsDelegate extends LocalizationsDelegate<AppLocalizations> {
const _AppLocalizationsDelegate();
@override
... ... @@ -3098,25 +3093,25 @@ class _AppLocalizationsDelegate
}
@override
bool isSupported(Locale locale) =>
<String>['en', 'zh'].contains(locale.languageCode);
bool isSupported(Locale locale) => <String>['en', 'zh'].contains(locale.languageCode);
@override
bool shouldReload(_AppLocalizationsDelegate old) => false;
}
AppLocalizations lookupAppLocalizations(Locale locale) {
// Lookup logic when only language code is specified.
switch (locale.languageCode) {
case 'en':
return AppLocalizationsEn();
case 'zh':
return AppLocalizationsZh();
case 'en': return AppLocalizationsEn();
case 'zh': return AppLocalizationsZh();
}
throw FlutterError(
'AppLocalizations.delegate failed to load unsupported locale "$locale". This is likely '
'an issue with the localizations generation tool. Please file an issue '
'on GitHub with a reproducible sample app and the gen-l10n configuration '
'that was used.');
'AppLocalizations.delegate failed to load unsupported locale "$locale". This is likely '
'an issue with the localizations generation tool. Please file an issue '
'on GitHub with a reproducible sample app and the gen-l10n configuration '
'that was used.'
);
}
... ...
// ignore: unused_import
import 'package:intl/intl.dart' as intl;
import 'app_localizations.dart';
// ignore_for_file: type=lint
... ... @@ -69,12 +67,10 @@ class AppLocalizationsEn extends AppLocalizations {
String get settings => 'Settings';
@override
String get onboardingIntroTitle =>
'DoubleFeel is a health companion app built for Apple Watch';
String get onboardingIntroTitle => 'DoubleFeel is a health companion app built for Apple Watch';
@override
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>';
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>';
@override
String get onboardingStateQuestion => 'Which of these often happens to you?';
... ... @@ -86,19 +82,16 @@ class AppLocalizationsEn extends AppLocalizations {
String get onboardingStateTired => 'I get tired easily';
@override
String get onboardingStatePoorRest =>
'I wake up but still do not feel rested';
String get onboardingStatePoorRest => 'I wake up but still do not feel rested';
@override
String get onboardingStateNeedStimulants =>
'I rely on cigarettes, alcohol, coffee, or other stimulants to stay alert';
String get onboardingStateNeedStimulants => 'I rely on cigarettes, alcohol, coffee, or other stimulants to stay alert';
@override
String get onboardingStateNone => 'None of the above';
@override
String get onboardingStressGoalQuestion =>
'What do you want to learn by understanding stress?';
String get onboardingStressGoalQuestion => 'What do you want to learn by understanding stress?';
@override
String get onboardingStressGoalSource => 'Understand where stress comes from';
... ... @@ -107,8 +100,7 @@ class AppLocalizationsEn extends AppLocalizations {
String get onboardingStressGoalReminder => 'Get reminded when stress appears';
@override
String get onboardingStressGoalLovedOnes =>
'Let people who care about me know my stress state';
String get onboardingStressGoalLovedOnes => 'Let people who care about me know my stress state';
@override
String get onboardingStressGoalRelax => 'Understand stress and feel lighter';
... ... @@ -117,8 +109,7 @@ class AppLocalizationsEn extends AppLocalizations {
String get onboardingStressGoalBodyTalk => 'Communicate better with my body';
@override
String get onboardingReliefQuestion =>
'Which methods do you think can ease stress?';
String get onboardingReliefQuestion => 'Which methods do you think can ease stress?';
@override
String get onboardingReliefSleep => 'Regular sleep';
... ... @@ -142,8 +133,7 @@ class AppLocalizationsEn extends AppLocalizations {
String get onboardingKeyDataTitle => 'Did you know?';
@override
String get onboardingKeyDataSubtitle =>
'Everyone has a magical and important body metric that can help us:';
String get onboardingKeyDataSubtitle => 'Everyone has a magical and important body metric that can help us:';
@override
String get onboardingKeyDataStress => 'Monitor stress';
... ... @@ -158,8 +148,7 @@ class AppLocalizationsEn extends AppLocalizations {
String get onboardingKeyDataHabits => 'Build healthy habits';
@override
String get onboardingKeyDataLovedOnes =>
'Help important people care about your state in time';
String get onboardingKeyDataLovedOnes => 'Help important people care about your state in time';
@override
String get onboardingTellMeWhatItIs => 'Tell me what it is!';
... ... @@ -168,19 +157,16 @@ class AppLocalizationsEn extends AppLocalizations {
String get onboardingHrvTitle => 'It is HRV, heart rate variability';
@override
String get onboardingHrvSubtitle =>
'It helps us measure overall stress and health';
String get onboardingHrvSubtitle => 'It helps us measure overall stress and health';
@override
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.';
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.';
@override
String get onboardingTellMeMore => 'Tell me more';
@override
String get onboardingResearchTitle =>
'Many studies show that HRV changes are closely related to how our body and mind feel';
String get onboardingResearchTitle => 'Many studies show that HRV changes are closely related to how our body and mind feel';
@override
String get onboardingResearchFatigue => 'Physical fatigue';
... ... @@ -198,30 +184,25 @@ class AppLocalizationsEn extends AppLocalizations {
String get onboardingHealthPermissionTitle => 'Allow health data access';
@override
String get onboardingHealthPermissionBody =>
'DoubleFeel needs connected wearable health data to send reminders, count stress moments, and provide suggestions.';
String get onboardingHealthPermissionBody => 'DoubleFeel needs connected wearable health data to send reminders, count stress moments, and provide suggestions.';
@override
String get onboardingHealthPermissionPrivacy =>
'Your health data is stored locally. We do not upload any related data.';
String get onboardingHealthPermissionPrivacy => 'Your health data is stored locally. We do not upload any related data.';
@override
String get onboardingNotificationTitle => 'Turn on notifications';
@override
String get onboardingNotificationSubtitle =>
'Learn about every body change in time';
String get onboardingNotificationSubtitle => 'Learn about every body change in time';
@override
String get onboardingNotificationBody =>
'After Apple Watch data updates, we can remind you in time and help you act to improve your stress state.';
String get onboardingNotificationBody => 'After Apple Watch data updates, we can remind you in time and help you act to improve your stress state.';
@override
String get onboardingMemberTitle => 'Get an annual membership offer';
@override
String get onboardingMemberBody =>
'Start your pressure alert and health companion journey, so love and care are always present.';
String get onboardingMemberBody => 'Start your pressure alert and health companion journey, so love and care are always present.';
@override
String get onboardingMemberOriginalPrice => 'Original ¥72.00/year';
... ... @@ -236,16 +217,13 @@ class AppLocalizationsEn extends AppLocalizations {
String get onboardingMemberAllOptions => 'View all purchase options';
@override
String get healthCompanionIsNowAvailable =>
'Health Companion is now available';
String get healthCompanionIsNowAvailable => 'Health Companion is now available';
@override
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.';
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.';
@override
String get bindPartnerTitle =>
'Add a Close Contact\nOne more person to care about your health';
String get bindPartnerTitle => 'Add a Close Contact\nOne more person to care about your health';
@override
String get bindPartnerMyId => 'My ID';
... ... @@ -284,8 +262,7 @@ class AppLocalizationsEn extends AppLocalizations {
String get onboardingResearchGoodSleep => 'Good Sleep';
@override
String get loginSlogan =>
'Start your pressure alert and health companion journey\nso love and care are always present';
String get loginSlogan => 'Start your pressure alert and health companion journey\nso love and care are always present';
@override
String get loginWithPhone => 'Sign in with Phone';
... ... @@ -335,15 +312,13 @@ class AppLocalizationsEn extends AppLocalizations {
String get phoneLoginCodeHint => 'Enter verification code';
@override
String get phoneLoginAutoRegisterHint =>
'Unregistered numbers will be registered automatically';
String get phoneLoginAutoRegisterHint => 'Unregistered numbers will be registered automatically';
@override
String get phoneLoginLoggingIn => 'Signing in...';
@override
String get loginAgreeToTermsToast =>
'Please read and agree to the Terms of Service and Privacy Policy first';
String get loginAgreeToTermsToast => 'Please read and agree to the Terms of Service and Privacy Policy first';
@override
String get phoneLoginInvalidPhone => 'Invalid phone number';
... ... @@ -355,12 +330,10 @@ class AppLocalizationsEn extends AppLocalizations {
String get phoneLoginInvalidCode => 'Invalid verification code';
@override
String get todayHealthDataAuthTitle =>
'Unable to access heart rate health data';
String get todayHealthDataAuthTitle => 'Unable to access heart rate health data';
@override
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.';
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.';
@override
String get todayHealthDataAuthAction => 'Authorize health data access';
... ... @@ -381,24 +354,19 @@ class AppLocalizationsEn extends AppLocalizations {
String get todayFaqLinkNoData => 'What if the app or watch face has no data?';
@override
String get todayFaqLinkHrvRealtimeUpdate =>
'How can HRV data update in real time?';
String get todayFaqLinkHrvRealtimeUpdate => 'How can HRV data update in real time?';
@override
String get todayFaqLinkWatchNoStatusNotification =>
'Why can\'t my watch receive status notifications?';
String get todayFaqLinkWatchNoStatusNotification => 'Why can\'t my watch receive status notifications?';
@override
String get todayFaqLinkWatchNoStatusAndInteractionNotification =>
'Why can\'t my watch receive status and interaction notifications?';
String get todayFaqLinkWatchNoStatusAndInteractionNotification => 'Why can\'t my watch receive status and interaction notifications?';
@override
String get todayFaqLinkWatchFaceDataDelay =>
'Why is watch face data delayed or not updating?';
String get todayFaqLinkWatchFaceDataDelay => 'Why is watch face data delayed or not updating?';
@override
String get todayFaqLinkWatchFaceBlackScreen =>
'Why does the watch face turn black?';
String get todayFaqLinkWatchFaceBlackScreen => 'Why does the watch face turn black?';
@override
String get todayStressStatusTitle => 'Overall stress status';
... ... @@ -425,176 +393,136 @@ class AppLocalizationsEn extends AppLocalizations {
String get todayStressStatusInsufficientData => 'Insufficient data';
@override
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.';
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.';
@override
String get todayStressStatusCautionDescription =>
'Your current HRV is below the normal range, and your body may be accumulating stress. Pay attention to rest and recovery.';
String get todayStressStatusCautionDescription => 'Your current HRV is below the normal range, and your body may be accumulating stress. Pay attention to rest and recovery.';
@override
String get todayStressStatusNormalDescription =>
'Your current body state is within your normal fluctuation range.';
String get todayStressStatusNormalDescription => 'Your current body state is within your normal fluctuation range.';
@override
String get todayStressStatusExcellentDescription =>
'Your current HRV is higher than your recent average, indicating better recovery and overall state.';
String get todayStressStatusExcellentDescription => 'Your current HRV is higher than your recent average, indicating better recovery and overall state.';
@override
String get todayStressStatusInsufficientDataDescription =>
'There is not enough available data to accurately assess your stress state yet.';
String get todayStressStatusInsufficientDataDescription => 'There is not enough available data to accurately assess your stress state yet.';
@override
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:';
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:';
@override
String get todayHrvMeasurementStep1 =>
'1. Wear your Apple Watch snugly, sit down, and stay calm';
String get todayHrvMeasurementStep1 => '1. Wear your Apple Watch snugly, sit down, and stay calm';
@override
String get todayHrvMeasurementStep2 =>
'2. Open Mindfulness on Apple Watch and start Breathe';
String get todayHrvMeasurementStep2 => '2. Open Mindfulness on Apple Watch and start Breathe';
@override
String get todayHrvMeasurementStep3 =>
'3. Keep breathing steadily and wait 1-3 minutes';
String get todayHrvMeasurementStep3 => '3. Keep breathing steadily and wait 1-3 minutes';
@override
String get todayHrvMeasurementStep4 =>
'4. After breathing is complete, lock and unlock your iPhone once';
String get todayHrvMeasurementStep4 => '4. After breathing is complete, lock and unlock your iPhone once';
@override
String get todayHrvMeasurementStep5 =>
'5. Wait about one minute. StressWatch will receive and display your data';
String get todayHrvMeasurementStep5 => '5. Wait about one minute. StressWatch will receive and display your data';
@override
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.';
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.';
@override
String get todayHrvMeasurementWarning =>
'Note: Health permissions must be enabled, and Low Power Mode must be turned off.';
String get todayHrvMeasurementWarning => 'Note: Health permissions must be enabled, and Low Power Mode must be turned off.';
@override
String get todayStressStatusWhatTitle => 'What is overall stress status?';
@override
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.';
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.';
@override
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.';
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.';
@override
String get todayStressStatusWhyHrvTitle =>
'Why use HRV (heart rate variability)?';
String get todayStressStatusWhyHrvTitle => 'Why use HRV (heart rate variability)?';
@override
String get todayStressStatusWhyHrvDescription =>
'HRV is an important metric for measuring body stress and recovery capacity.';
String get todayStressStatusWhyHrvDescription => 'HRV is an important metric for measuring body stress and recovery capacity.';
@override
String get todayStressStatusUsually => 'In general:';
@override
String get todayStressStatusHrvHigher =>
'· Higher HRV usually means better recovery';
String get todayStressStatusHrvHigher => '· Higher HRV usually means better recovery';
@override
String get todayStressStatusHrvLower =>
'· Lower HRV may indicate fatigue, stress, or insufficient sleep';
String get todayStressStatusHrvLower => '· Lower HRV may indicate fatigue, stress, or insufficient sleep';
@override
String get todayStressStatusHrvChangesFast =>
'· HRV changes quickly, making it useful for short-term body-state changes.';
String get todayStressStatusHrvChangesFast => '· HRV changes quickly, making it useful for short-term body-state changes.';
@override
String get todayStressStatusAppWatchDifferenceTitle =>
'How are stress statuses on the phone app and Apple Watch different?';
String get todayStressStatusAppWatchDifferenceTitle => 'How are stress statuses on the phone app and Apple Watch different?';
@override
String get todayStressStatusAppWatchDifferenceApp =>
'The phone app home page shows the day\'s overall stress status, combining HRV, resting heart rate, and overall trends.';
String get todayStressStatusAppWatchDifferenceApp => 'The phone app home page shows the day\'s overall stress status, combining HRV, resting heart rate, and overall trends.';
@override
String get todayStressStatusAppWatchDifferenceWatch =>
'Apple Watch shows the most recent real-time stress status, which is better for quickly checking your current body changes.';
String get todayStressStatusAppWatchDifferenceWatch => 'Apple Watch shows the most recent real-time stress status, which is better for quickly checking your current body changes.';
@override
String get todayStressStatusWaitingDataTitle =>
'Why does Waiting for data appear?';
String get todayStressStatusWaitingDataTitle => 'Why does Waiting for data appear?';
@override
String get todayStressStatusWaitingDataDescription1 =>
'Waiting for data means the current amount of collected data is not enough to generate a reliable stress assessment.';
String get todayStressStatusWaitingDataDescription1 => 'Waiting for data means the current amount of collected data is not enough to generate a reliable stress assessment.';
@override
String get todayStressStatusWaitingDataDescription2 =>
'Please keep wearing your Apple Watch and wait for the system to collect data automatically.';
String get todayStressStatusWaitingDataDescription2 => 'Please keep wearing your Apple Watch and wait for the system to collect data automatically.';
@override
String get todayStressStatusWaitingDataReasonsIntro =>
'Possible reasons include:';
String get todayStressStatusWaitingDataReasonsIntro => 'Possible reasons include:';
@override
String get todayStressStatusWaitingDataReason1 => '1. Not enough HRV samples';
@override
String get todayStressStatusWaitingDataReason2 =>
'2. Missing resting heart rate data';
String get todayStressStatusWaitingDataReason2 => '2. Missing resting heart rate data';
@override
String get todayStressStatusWaitingDataReason3 =>
'3. Apple Watch has not been worn long enough';
String get todayStressStatusWaitingDataReason3 => '3. Apple Watch has not been worn long enough';
@override
String get todayStressStatusWaitingDataReason4 =>
'4. Apple Health permissions are not enabled';
String get todayStressStatusWaitingDataReason4 => '4. Apple Health permissions are not enabled';
@override
String get todayHrvPrincipleHowMeasureTitle =>
'How does DoubleFeel measure stress status?';
String get todayHrvPrincipleHowMeasureTitle => 'How does DoubleFeel measure stress status?';
@override
String get todayHrvPrincipleHowMeasureDescription1 =>
'When you wear Apple Watch normally, the system automatically collects your heart rate data and syncs it to Apple Health.';
String get todayHrvPrincipleHowMeasureDescription1 => 'When you wear Apple Watch normally, the system automatically collects your heart rate data and syncs it to Apple Health.';
@override
String get todayHrvPrincipleHowMeasureDescription2 =>
'DoubleFeel calculates HRV (heart rate variability) indicators based on this data to assess your body stress and recovery state.';
String get todayHrvPrincipleHowMeasureDescription2 => 'DoubleFeel calculates HRV (heart rate variability) indicators based on this data to assess your body stress and recovery state.';
@override
String get todayHrvPrincipleHowMeasureDescription3 =>
'HRV is sensitive to stress, fatigue, sleep, emotions, and recovery, so it helps us notice body-state changes earlier.';
String get todayHrvPrincipleHowMeasureDescription3 => 'HRV is sensitive to stress, fatigue, sleep, emotions, and recovery, so it helps us notice body-state changes earlier.';
@override
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.';
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.';
@override
String get todayRealtimeStressWhatTitle => 'What is real-time stress?';
@override
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.';
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.';
@override
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.';
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.';
@override
String get todayRealtimeStressWhatDescription3 =>
'It helps you notice body changes faster and adjust rest, exercise, and daily rhythm in time.';
String get todayRealtimeStressWhatDescription3 => 'It helps you notice body changes faster and adjust rest, exercise, and daily rhythm in time.';
@override
String get todayRealtimeStressDivisionTitle =>
'How is real-time stress divided?';
String get todayRealtimeStressDivisionTitle => 'How is real-time stress divided?';
@override
String get todayRealtimeStressDivisionIntro =>
'Real-time stress is shown as a percentage:';
String get todayRealtimeStressDivisionIntro => 'Real-time stress is shown as a percentage:';
@override
String get todayRealtimeStressExcellentRange => 'Excellent: 1%-20%';
... ... @@ -609,103 +537,79 @@ class AppLocalizationsEn extends AppLocalizations {
String get todayRealtimeStressOverloadRange => 'Stress overload: 81%-100%';
@override
String get todayRealtimeStressExcellentDescription =>
'Your recovery state is good and you are generally relaxed.';
String get todayRealtimeStressExcellentDescription => 'Your recovery state is good and you are generally relaxed.';
@override
String get todayRealtimeStressNormalDescription =>
'Your body is within the normal fluctuation range.';
String get todayRealtimeStressNormalDescription => 'Your body is within the normal fluctuation range.';
@override
String get todayRealtimeStressCautionDescription =>
'Your body may be accumulating stress and needs proper rest and recovery.';
String get todayRealtimeStressCautionDescription => 'Your body may be accumulating stress and needs proper rest and recovery.';
@override
String get todayRealtimeStressOverloadDescription =>
'Your body stress is clearly high. Reduce load and pay attention to sleep and recovery.';
String get todayRealtimeStressOverloadDescription => 'Your body stress is clearly high. Reduce load and pay attention to sleep and recovery.';
@override
String get todayRealtimeStressDivisionBaseline =>
'These ranges are adjusted dynamically based on your personal baseline and should not be directly compared between users.';
String get todayRealtimeStressDivisionBaseline => 'These ranges are adjusted dynamically based on your personal baseline and should not be directly compared between users.';
@override
String get todayRealtimeStressDivisionAwake =>
'Real-time stress mainly reflects body stress changes while awake.';
String get todayRealtimeStressDivisionAwake => 'Real-time stress mainly reflects body stress changes while awake.';
@override
String get todayRealtimeStressLowBetterTitle =>
'Is lower real-time stress always better?';
String get todayRealtimeStressLowBetterTitle => 'Is lower real-time stress always better?';
@override
String get todayRealtimeStressLowBetterNo => 'Not necessarily.';
@override
String get todayRealtimeStressLowBetterType =>
'Body stress can be normal or abnormal.';
String get todayRealtimeStressLowBetterType => 'Body stress can be normal or abnormal.';
@override
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.';
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.';
@override
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.';
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.';
@override
String get todayRealtimeStressLowBetterTrend =>
'DoubleFeel focuses more on your long-term trend than on a single fluctuation.';
String get todayRealtimeStressLowBetterTrend => 'DoubleFeel focuses more on your long-term trend than on a single fluctuation.';
@override
String get todayRealtimeStressScenarioTitle =>
'When should HRV and real-time stress be used?';
String get todayRealtimeStressScenarioTitle => 'When should HRV and real-time stress be used?';
@override
String get todayRealtimeStressScenarioHrvDefault =>
'With Apple Watch default settings, HRV updates every 2-5 hours.';
String get todayRealtimeStressScenarioHrvDefault => 'With Apple Watch default settings, HRV updates every 2-5 hours.';
@override
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.';
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.';
@override
String get todayRealtimeStressScenarioIntro =>
'To address the long interval between HRV updates, DoubleFeel designed real-time stress:';
String get todayRealtimeStressScenarioIntro => 'To address the long interval between HRV updates, DoubleFeel designed real-time stress:';
@override
String get todayRealtimeStressScenarioUpdateEvery6Min =>
'· Real-time stress updates every 6 minutes';
String get todayRealtimeStressScenarioUpdateEvery6Min => '· Real-time stress updates every 6 minutes';
@override
String get todayRealtimeStressScenarioTimely =>
'· It can reflect body-state changes more promptly';
String get todayRealtimeStressScenarioTimely => '· It can reflect body-state changes more promptly';
@override
String get todayRealtimeStressScenarioConsistentTrend =>
'· In most cases, the real-time stress trend is consistent with the HRV trend';
String get todayRealtimeStressScenarioConsistentTrend => '· In most cases, the real-time stress trend is consistent with the HRV trend';
@override
String get todayRealtimeStressScenarioSummary =>
'This lets users see long-term HRV trends while also using real-time stress as a short-term body-state reference.';
String get todayRealtimeStressScenarioSummary => 'This lets users see long-term HRV trends while also using real-time stress as a short-term body-state reference.';
@override
String get todayFaqNoDataTitle =>
'What if the app or watch face has no data?';
String get todayFaqNoDataTitle => 'What if the app or watch face has no data?';
@override
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.';
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.';
@override
String get todayFaqNoDataDescription2 =>
'2. Confirm all permissions are enabled: iPhone Health > Sharing > Apps > DoubleFeel > Turn On All Permissions.';
String get todayFaqNoDataDescription2 => '2. Confirm all permissions are enabled: iPhone Health > Sharing > Apps > DoubleFeel > Turn On All Permissions.';
@override
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.';
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.';
@override
String get todayFaqContactPrefix =>
'If everything above is correct, you can ';
String get todayFaqContactPrefix => 'If everything above is correct, you can ';
@override
String get todayFaqContactAction => 'contact us';
... ... @@ -714,90 +618,70 @@ class AppLocalizationsEn extends AppLocalizations {
String get todayFaqContactSuffix => '.';
@override
String get todayFaqWatchNoNotificationTitle =>
'Watch cannot receive status notifications?';
String get todayFaqWatchNoNotificationTitle => 'Watch cannot receive status notifications?';
@override
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.';
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.';
@override
String get todayFaqWatchNoNotificationDescription2 =>
'If stress data displays and updates normally but your watch does not receive notifications, try the following:';
String get todayFaqWatchNoNotificationDescription2 => 'If stress data displays and updates normally but your watch does not receive notifications, try the following:';
@override
String get todayFaqWatchNoNotificationCheckPhoneNotification =>
'1. Check whether iPhone notifications are enabled (Settings > DoubleFeel > Notifications).';
String get todayFaqWatchNoNotificationCheckPhoneNotification => '1. Check whether iPhone notifications are enabled (Settings > DoubleFeel > Notifications).';
@override
String get todayFaqWatchNoNotificationCheckPhoneBackgroundRefresh =>
'2. Check whether iPhone Background App Refresh is enabled (Settings > DoubleFeel > Background App Refresh).';
String get todayFaqWatchNoNotificationCheckPhoneBackgroundRefresh => '2. Check whether iPhone Background App Refresh is enabled (Settings > DoubleFeel > Background App Refresh).';
@override
String get todayFaqWatchNoNotificationCheckWatchBackgroundRefresh =>
'3. Check whether Apple Watch Background App Refresh is enabled (Settings > General > Background App Refresh, and make sure DoubleFeel is enabled).';
String get todayFaqWatchNoNotificationCheckWatchBackgroundRefresh => '3. Check whether Apple Watch Background App Refresh is enabled (Settings > General > Background App Refresh, and make sure DoubleFeel is enabled).';
@override
String get todayFaqWatchNoNotificationCheckModes =>
'4. Make sure Low Power, Focus, Do Not Disturb, Theater, Sleep, and similar modes are off.';
String get todayFaqWatchNoNotificationCheckModes => '4. Make sure Low Power, Focus, Do Not Disturb, Theater, Sleep, and similar modes are off.';
@override
String get todayFaqWatchNoNotificationReinstall =>
'5. Reinstall DoubleFeel and restart Apple Watch and iPhone.';
String get todayFaqWatchNoNotificationReinstall => '5. Reinstall DoubleFeel and restart Apple Watch and iPhone.';
@override
String get todayFaqWatchFaceDelayTitle =>
'Watch face data not updating or delayed?';
String get todayFaqWatchFaceDelayTitle => 'Watch face data not updating or delayed?';
@override
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.';
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.';
@override
String get todayFaqWatchFaceDelayIfOverOneHour =>
'If the phone data refreshes but the watch face still has not updated after more than 1 hour:';
String get todayFaqWatchFaceDelayIfOverOneHour => 'If the phone data refreshes but the watch face still has not updated after more than 1 hour:';
@override
String get todayFaqWatchFaceDelayOpenWatchApp =>
'Manually open DoubleFeel on Apple Watch and wait about 1 minute.';
String get todayFaqWatchFaceDelayOpenWatchApp => 'Manually open DoubleFeel on Apple Watch and wait about 1 minute.';
@override
String get todayFaqWatchFaceDelayIfStill => 'If it still does not update:';
@override
String get todayFaqWatchFaceDelayRestartApp =>
'Close the DoubleFeel background process and restart it.';
String get todayFaqWatchFaceDelayRestartApp => 'Close the DoubleFeel background process and restart it.';
@override
String get todayFaqWatchFaceDelayCheckIntro =>
'If it still does not work, check:';
String get todayFaqWatchFaceDelayCheckIntro => 'If it still does not work, check:';
@override
String get todayFaqWatchFaceDelayCheckData =>
'· Whether both phone and watch apps can show HRV data normally.';
String get todayFaqWatchFaceDelayCheckData => '· Whether both phone and watch apps can show HRV data normally.';
@override
String get todayFaqWatchFaceDelayCheckPhoneHealth =>
'· Make sure all permissions are enabled on iPhone: iOS Settings > Privacy & Security > Health > DoubleFeel.';
String get todayFaqWatchFaceDelayCheckPhoneHealth => '· Make sure all permissions are enabled on iPhone: iOS Settings > Privacy & Security > Health > DoubleFeel.';
@override
String get todayFaqWatchFaceDelayCheckWatchHealth =>
'· Make sure all permissions are enabled on Apple Watch: Settings > Health > Data Sources & Access > DoubleFeel.';
String get todayFaqWatchFaceDelayCheckWatchHealth => '· Make sure all permissions are enabled on Apple Watch: Settings > Health > Data Sources & Access > DoubleFeel.';
@override
String get todayFaqWatchFaceDelayCheckBackgroundRefresh =>
'· Confirm DoubleFeel is enabled in Apple Watch > Settings > General > Background App Refresh.';
String get todayFaqWatchFaceDelayCheckBackgroundRefresh => '· Confirm DoubleFeel is enabled in Apple Watch > Settings > General > Background App Refresh.';
@override
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.';
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.';
@override
String get todayFaqWatchFaceBlackScreenTitle => 'Watch face turns black?';
@override
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.';
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.';
@override
String get today => 'Today';
... ... @@ -815,19 +699,16 @@ class AppLocalizationsEn extends AppLocalizations {
String get allPlans => 'All Plans';
@override
String get clickToAddTheHrvThemedWatchFace =>
'Click to add the HRV-themed watch face';
String get clickToAddTheHrvThemedWatchFace => 'Click to add the HRV-themed watch face';
@override
String get stayOnTopOfYourHealthFluctuations =>
'Stay on top of your health fluctuations';
String get stayOnTopOfYourHealthFluctuations => 'Stay on top of your health fluctuations';
@override
String get addACloseContact => 'Add a close contact';
@override
String get oneMorePersonLookingOutForYourHealth =>
'One more person looking out for your health';
String get oneMorePersonLookingOutForYourHealth => 'One more person looking out for your health';
@override
String get addAFriend => 'Add a friend';
... ... @@ -884,8 +765,7 @@ class AppLocalizationsEn extends AppLocalizations {
String get questionsAndFeedback => 'Questions and Feedback';
@override
String get ifYouWouldLikeUsToReplyPleaseProvideYourEmailAddress =>
'If you would like us to reply, please provide your email address';
String get ifYouWouldLikeUsToReplyPleaseProvideYourEmailAddress => 'If you would like us to reply, please provide your email address';
@override
String get uploadProof => 'Upload Proof';
... ... @@ -894,8 +774,7 @@ class AppLocalizationsEn extends AppLocalizations {
String get frequentlyAskedQuestions => 'Frequently Asked Questions';
@override
String get areYouSureYouWantToDeleteYourAccount =>
'Are you sure you want to delete your account?';
String get areYouSureYouWantToDeleteYourAccount => 'Are you sure you want to delete your account?';
@override
String get accountSettings => 'Account Settings';
... ... @@ -1286,8 +1165,7 @@ class AppLocalizationsEn extends AppLocalizations {
String get sleepLowest => 'Lowest';
@override
String get sleepQualityDescription =>
'DoubleFeel calculates your daily sleep quality score from sleep duration, sleep stages, deep sleep and recovery, nighttime heart rate, and HRV changes.\nThis score helps you understand your recovery and sleep performance more clearly.';
String get sleepQualityDescription => 'DoubleFeel calculates your daily sleep quality score from sleep duration, sleep stages, deep sleep and recovery, nighttime heart rate, and HRV changes.\nThis score helps you understand your recovery and sleep performance more clearly.';
@override
String get sleepQualityAttentionRange => '<60 pts';
... ... @@ -1299,8 +1177,7 @@ class AppLocalizationsEn extends AppLocalizations {
String get sleepQualityExcellentRange => '>85 pts';
@override
String get friendsAddCloseContactDescription =>
'Add a close contact so someone else can look out for your health';
String get friendsAddCloseContactDescription => 'Add a close contact so someone else can look out for your health';
@override
String get friendsLimitReached => 'Friend limit reached';
... ... @@ -1405,12 +1282,10 @@ class AppLocalizationsEn extends AppLocalizations {
String get friendsPromptSelfIdTitle => 'You can\'t add yourself';
@override
String get friendsPromptIdNotFoundMessage =>
'This ID doesn\'t exist. Check it and try again.';
String get friendsPromptIdNotFoundMessage => 'This ID doesn\'t exist. Check it and try again.';
@override
String get friendsPromptAlreadyFriendMessage =>
'You\'re already close contacts.';
String get friendsPromptAlreadyFriendMessage => 'You\'re already close contacts.';
@override
String get friendsPromptSelfIdMessage => 'Enter your close contact\'s ID.';
... ... @@ -1430,8 +1305,7 @@ class AppLocalizationsEn extends AppLocalizations {
}
@override
String get friendsDeleteConfirmMessage =>
'You will no longer be able to view their mood or health status.';
String get friendsDeleteConfirmMessage => 'You will no longer be able to view their mood or health status.';
@override
String get friendsDeleteConfirmAction => 'Remove';
... ... @@ -1440,15 +1314,13 @@ class AppLocalizationsEn extends AppLocalizations {
String get privacySettingsTitle => 'Privacy Settings';
@override
String get privacySettingsDisableAddById =>
'Don\'t allow others to add me by ID';
String get privacySettingsDisableAddById => 'Don\'t allow others to add me by ID';
@override
String get premiumActivatedTitle => 'DoubleFeel Pro is now active';
@override
String get premiumActivatedDescription =>
'You can now monitor stress, sleep, and HRV in real time, build healthier habits, and share health updates with close contacts so the people who matter can stay informed.';
String get premiumActivatedDescription => 'You can now monitor stress, sleep, and HRV in real time, build healthier habits, and share health updates with close contacts so the people who matter can stay informed.';
@override
String get premiumActivatedContinue => 'Continue';
... ... @@ -1493,12 +1365,10 @@ class AppLocalizationsEn extends AppLocalizations {
String get purchaseCurrencySymbol => '¥';
@override
String get purchaseProductInfoUnavailable =>
'Product information is unavailable. Please try again later.';
String get purchaseProductInfoUnavailable => 'Product information is unavailable. Please try again later.';
@override
String get purchaseOrderInfoUnavailable =>
'Order information is unavailable. Please try again later.';
String get purchaseOrderInfoUnavailable => 'Order information is unavailable. Please try again later.';
@override
String purchaseMonthlyUnitPrice(String unitPrice) {
... ... @@ -1509,15 +1379,13 @@ class AppLocalizationsEn extends AppLocalizations {
String get purchaseApplePaymentInvalidOrder => 'Invalid UUID format.';
@override
String get purchaseApplePaymentProductNotFound =>
'Failed to find product by product ID.';
String get purchaseApplePaymentProductNotFound => 'Failed to find product by product ID.';
@override
String get purchaseApplePaymentCancelled => 'The user cancelled the payment.';
@override
String get purchaseApplePaymentVerificationFailed =>
'Payment verification failed.';
String get purchaseApplePaymentVerificationFailed => 'Payment verification failed.';
@override
String get purchaseApplePaymentFailed => 'Unknown error.';
... ... @@ -1526,23 +1394,19 @@ class AppLocalizationsEn extends AppLocalizations {
String get purchaseBenefitRealtimeStress => 'Real-time stress monitoring';
@override
String get purchaseBenefitStressTrends =>
'Weekly, monthly, and yearly stress trends';
String get purchaseBenefitStressTrends => 'Weekly, monthly, and yearly stress trends';
@override
String get purchaseBenefitActivityTrends =>
'Weekly, monthly, and yearly activity trends';
String get purchaseBenefitActivityTrends => 'Weekly, monthly, and yearly activity trends';
@override
String get purchaseBenefitSleepReports =>
'Weekly, monthly, and yearly sleep reports';
String get purchaseBenefitSleepReports => 'Weekly, monthly, and yearly sleep reports';
@override
String get purchaseBenefitHealthSync => 'Real-time health data sync';
@override
String get purchaseBenefitContactNotifications =>
'Real-time health updates for close contacts';
String get purchaseBenefitContactNotifications => 'Real-time health updates for close contacts';
@override
String get purchaseBenefitCustomWatchFace => 'Exclusive custom watch faces';
... ... @@ -1551,23 +1415,19 @@ class AppLocalizationsEn extends AppLocalizations {
String get purchaseBenefitSleepAnalysis => 'Sleep analysis';
@override
String get purchaseBenefitFutureFeatures =>
'Free access to future premium features';
String get purchaseBenefitFutureFeatures => 'Free access to future premium features';
@override
String get purchaseNotesTitle => 'Notes';
@override
String get purchaseNoteSubscription =>
'After you confirm and pay, the subscription will renew automatically through your iTunes account. Your Apple account will be charged within 24 hours before the current period ends, and the subscription will renew for another period. To cancel, turn off auto-renewal in your iTunes/Apple ID subscription settings at least 24 hours before the current period ends.\n\nDoubleFeel Pro is a virtual product. Purchases are non-refundable except through the App Store refund process. Tap Learn More for additional information.';
String get purchaseNoteSubscription => 'After you confirm and pay, the subscription will renew automatically through your iTunes account. Your Apple account will be charged within 24 hours before the current period ends, and the subscription will renew for another period. To cancel, turn off auto-renewal in your iTunes/Apple ID subscription settings at least 24 hours before the current period ends.\n\nDoubleFeel Pro is a virtual product. Purchases are non-refundable except through the App Store refund process. Tap Learn More for additional information.';
@override
String get purchaseNoteRestore =>
'If your purchase does not take effect, tap Restore Purchases.';
String get purchaseNoteRestore => 'If your purchase does not take effect, tap Restore Purchases.';
@override
String get purchaseNoteContact =>
'Contact us if you have any other questions.';
String get purchaseNoteContact => 'Contact us if you have any other questions.';
@override
String get reportBottomSlogan => 'FEEL MORE, STRESS LESS';
... ... @@ -1576,114 +1436,91 @@ class AppLocalizationsEn extends AppLocalizations {
String get refundExplanationTitle => 'Refund Information';
@override
String get refundAppStoreReviewTitle =>
'Refunds are reviewed by the App Store';
String get refundAppStoreReviewTitle => 'Refunds are reviewed by the App Store';
@override
String get refundAppStoreReviewDescription =>
'All subscriptions and virtual products are purchased through the official App Store payment system. DoubleFeel cannot directly process payments or refunds.';
String get refundAppStoreReviewDescription => 'All subscriptions and virtual products are purchased through the official App Store payment system. DoubleFeel cannot directly process payments or refunds.';
@override
String get refundAppleRulesIntroduction => 'Under Apple\'s platform rules:';
@override
String get refundAppleCollectsPayments =>
' · All payments are collected by the App Store';
String get refundAppleCollectsPayments => ' · All payments are collected by the App Store';
@override
String get refundAppleReviewsRequests =>
' · All refund requests are reviewed by Apple';
String get refundAppleReviewsRequests => ' · All refund requests are reviewed by Apple';
@override
String get refundDeveloperCannotSubmit =>
' · Developers cannot submit requests for users';
String get refundDeveloperCannotSubmit => ' · Developers cannot submit requests for users';
@override
String get refundDeveloperCannotIntervene =>
' · Developers cannot influence Apple\'s decision';
String get refundDeveloperCannotIntervene => ' · Developers cannot influence Apple\'s decision';
@override
String get refundAppStoreFinalDecision =>
'Your refund request will therefore be decided by the App Store.';
String get refundAppStoreFinalDecision => 'Your refund request will therefore be decided by the App Store.';
@override
String get refundMayBeRejectedTitle => 'The App Store may reject a refund';
@override
String get refundNoUnconditionalRefunds =>
'Apple\'s refund policy does not provide unconditional refunds in every situation.';
String get refundNoUnconditionalRefunds => 'Apple\'s refund policy does not provide unconditional refunds in every situation.';
@override
String get refundAppleTermsDescription =>
'By using the App Store, you agree to Apple\'s terms of service and refund rules. https://www.apple.com/legal/internet-services/itunes/';
String get refundAppleTermsDescription => 'By using the App Store, you agree to Apple\'s terms of service and refund rules. https://www.apple.com/legal/internet-services/itunes/';
@override
String get refundAppleReviewsCircumstances =>
'Apple reviews the order, account history, and actual usage when deciding whether to approve a refund.';
String get refundAppleReviewsCircumstances => 'Apple reviews the order, account history, and actual usage when deciding whether to approve a refund.';
@override
String get refundRejectionReasonsTitle => 'Why might a refund be rejected?';
@override
String get refundRejectionReasonsIntroduction =>
'The App Store may reject a request for reasons including, but not limited to:';
String get refundRejectionReasonsIntroduction => 'The App Store may reject a request for reasons including, but not limited to:';
@override
String get refundReasonPurchaseTooOld =>
' · Too much time has passed since purchase';
String get refundReasonPurchaseTooOld => ' · Too much time has passed since purchase';
@override
String get refundReasonFrequentRequests =>
' · Frequent requests from the same account';
String get refundReasonFrequentRequests => ' · Frequent requests from the same account';
@override
String get refundReasonAbnormalHistory =>
' · A history of unusual refund activity';
String get refundReasonAbnormalHistory => ' · A history of unusual refund activity';
@override
String get refundReasonInsufficient => ' · An insufficient refund reason';
@override
String get refundReasonLongTermUse =>
' · Extended normal use of membership features';
String get refundReasonLongTermUse => ' · Extended normal use of membership features';
@override
String get refundReasonPriceChange =>
' · Promotions, discounts, or price changes';
String get refundReasonPriceChange => ' · Promotions, discounts, or price changes';
@override
String get refundReasonNoReceipt =>
' · No valid order receipt can be provided';
String get refundReasonNoReceipt => ' · No valid order receipt can be provided';
@override
String get refundOfficialDecision =>
'The App Store\'s final decision applies.';
String get refundOfficialDecision => 'The App Store\'s final decision applies.';
@override
String get refundRejectedNextStepsTitle => 'What if my request is rejected?';
@override
String get refundTryAgain =>
'If your refund request is rejected, you can try submitting it to the App Store again.';
String get refundTryAgain => 'If your refund request is rejected, you can try submitting it to the App Store again.';
@override
String get refundFinalReview =>
'If it is rejected again, the App Store has completed its final review. Neither DoubleFeel nor Apple Support can change the result.';
String get refundFinalReview => 'If it is rejected again, the App Store has completed its final review. Neither DoubleFeel nor Apple Support can change the result.';
@override
String get refundNoAlternativeChannel =>
'DoubleFeel cannot process refund requests outside the App Store system.';
String get refundNoAlternativeChannel => 'DoubleFeel cannot process refund requests outside the App Store system.';
@override
String get refundMembershipCancellation =>
'After a successful refund, your DoubleFeel Pro benefits will also be canceled.';
String get refundMembershipCancellation => 'After a successful refund, your DoubleFeel Pro benefits will also be canceled.';
@override
String get refundHelpTitle => 'Need help?';
@override
String get refundHelpDescription =>
'If you have questions about refunds or experience payment errors, duplicate charges, or a missing order, contact DoubleFeel Support and we will do our best to assist.';
String get refundHelpDescription => 'If you have questions about refunds or experience payment errors, duplicate charges, or a missing order, contact DoubleFeel Support and we will do our best to assist.';
@override
String get refundFaqTitle => 'DoubleFeel FAQs';
... ... @@ -1692,8 +1529,7 @@ class AppLocalizationsEn extends AppLocalizations {
String get appReviewPromptTitle => 'Enjoying DoubleFeel?';
@override
String get appReviewPromptMessage =>
'Hi! Is DoubleFeel helping you better understand\nyour stress and sleep? 💜';
String get appReviewPromptMessage => 'Hi! Is DoubleFeel helping you better understand\nyour stress and sleep? 💜';
@override
String get appReviewPromptLikeAction => '😍 Love it';
... ... @@ -1702,12 +1538,10 @@ class AppLocalizationsEn extends AppLocalizations {
String get appReviewPromptFeedbackAction => 'I have feedback';
@override
String get appReviewFeedbackTitle =>
'We\'re sorry DoubleFeel didn\'t give you\na good experience';
String get appReviewFeedbackTitle => 'We\'re sorry DoubleFeel didn\'t give you\na good experience';
@override
String get appReviewFeedbackMessage =>
'Would you tell us what went wrong?\nYour feedback helps us improve the stress and health experience. 💜';
String get appReviewFeedbackMessage => 'Would you tell us what went wrong?\nYour feedback helps us improve the stress and health experience. 💜';
@override
String get appReviewFeedbackSendAction => 'Send Feedback';
... ...
// ignore: unused_import
import 'package:intl/intl.dart' as intl;
import 'app_localizations.dart';
// ignore_for_file: type=lint
... ... @@ -72,8 +70,7 @@ class AppLocalizationsZh extends AppLocalizations {
String get onboardingIntroTitle => 'DoubleFeel 是专为 Apple Watch 打造的健康陪伴app';
@override
String get onboardingIntroBody =>
'我们希望可以帮助你\n<em>关注自己的身心变化,也让爱你的人</em>及时发现你的<em>疲惫与需要</em>';
String get onboardingIntroBody => '我们希望可以帮助你\n<em>关注自己的身心变化,也让爱你的人</em>及时发现你的<em>疲惫与需要</em>';
@override
String get onboardingStateQuestion => '请问以下哪些描述,经常发生在你身上?';
... ... @@ -163,8 +160,7 @@ class AppLocalizationsZh extends AppLocalizations {
String get onboardingHrvSubtitle => '它能帮助我们衡量整体的压力和健康状态';
@override
String get onboardingHrvDescription =>
'心率变异性(HRV, Heart Rate Variability)即心跳之间间隔时间的微小变化,反映了自主神经系统活动和身体对压力的反应能力';
String get onboardingHrvDescription => '心率变异性(HRV, Heart Rate Variability)即心跳之间间隔时间的微小变化,反映了自主神经系统活动和身体对压力的反应能力';
@override
String get onboardingTellMeMore => '展开说说';
... ... @@ -188,12 +184,10 @@ class AppLocalizationsZh extends AppLocalizations {
String get onboardingHealthPermissionTitle => '开启健康授权提醒、统计你的压力';
@override
String get onboardingHealthPermissionBody =>
'DoubleFeel需要连接健康穿戴设备数据,以提醒、统计压力时刻、提供建议。';
String get onboardingHealthPermissionBody => 'DoubleFeel需要连接健康穿戴设备数据,以提醒、统计压力时刻、提供建议。';
@override
String get onboardingHealthPermissionPrivacy =>
'请放心,你的健康数据仅储存在本地,我们不上传任何相关数据。';
String get onboardingHealthPermissionPrivacy => '请放心,你的健康数据仅储存在本地,我们不上传任何相关数据。';
@override
String get onboardingNotificationTitle => '开启通知';
... ... @@ -202,8 +196,7 @@ class AppLocalizationsZh extends AppLocalizations {
String get onboardingNotificationSubtitle => '及时了解身体每一次异动';
@override
String get onboardingNotificationBody =>
'AppleWatch数据更新后会及时提醒你,帮助你及时行动,改善压力状态';
String get onboardingNotificationBody => 'AppleWatch数据更新后会及时提醒你,帮助你及时行动,改善压力状态';
@override
String get onboardingMemberTitle => '获得年度会员优惠';
... ... @@ -227,9 +220,7 @@ class AppLocalizationsZh extends AppLocalizations {
String get healthCompanionIsNowAvailable => '健康陪伴已开启';
@override
String
get youCanNowViewEachOtherSHrvStressLevelsAndSleepPatternsAndReachOutToCheckInWhenTheOtherPersonSeemsTired =>
'你们现在可以查看彼此的 HRV、压力与睡眠变化,并在对方疲惫时及时送上关心。';
String get youCanNowViewEachOtherSHrvStressLevelsAndSleepPatternsAndReachOutToCheckInWhenTheOtherPersonSeemsTired => '你们现在可以查看彼此的 HRV、压力与睡眠变化,并在对方疲惫时及时送上关心。';
@override
String get bindPartnerTitle => '添加亲密联系人\n多一个人关注你的健康';
... ... @@ -342,8 +333,7 @@ class AppLocalizationsZh extends AppLocalizations {
String get todayHealthDataAuthTitle => '无法获取心率健康数据';
@override
String get todayHealthDataAuthDescription =>
'DoubleFeel 需要授权访问你的健康数据,才能提供压力提醒、实时压力统计和健康建议;否则应用功能可能无法正常使用。请放心,你的健康数据仅存储在本地,不会上传到任何服务器。';
String get todayHealthDataAuthDescription => 'DoubleFeel 需要授权访问你的健康数据,才能提供压力提醒、实时压力统计和健康建议;否则应用功能可能无法正常使用。请放心,你的健康数据仅存储在本地,不会上传到任何服务器。';
@override
String get todayHealthDataAuthAction => '授权访问健康数据';
... ... @@ -370,8 +360,7 @@ class AppLocalizationsZh extends AppLocalizations {
String get todayFaqLinkWatchNoStatusNotification => '手表为什么无法收到状态通知?';
@override
String get todayFaqLinkWatchNoStatusAndInteractionNotification =>
'手表为什么无法收到状态和互动通知?';
String get todayFaqLinkWatchNoStatusAndInteractionNotification => '手表为什么无法收到状态和互动通知?';
@override
String get todayFaqLinkWatchFaceDataDelay => '手表表盘数据不更新或者有延迟?';
... ... @@ -404,27 +393,22 @@ class AppLocalizationsZh extends AppLocalizations {
String get todayStressStatusInsufficientData => '数据不足';
@override
String get todayStressStatusOverloadDescription =>
'当前 HRV 明显低于你的长期平均水平,可能意味着身体疲劳、压力过高或恢复不足。建议及时休息。';
String get todayStressStatusOverloadDescription => '当前 HRV 明显低于你的长期平均水平,可能意味着身体疲劳、压力过高或恢复不足。建议及时休息。';
@override
String get todayStressStatusCautionDescription =>
'当前 HRV 低于正常范围,身体可能正在积累压力,需要注意作息与恢复。';
String get todayStressStatusCautionDescription => '当前 HRV 低于正常范围,身体可能正在积累压力,需要注意作息与恢复。';
@override
String get todayStressStatusNormalDescription => '当前身体状态处于你的正常波动范围内。';
@override
String get todayStressStatusExcellentDescription =>
'当前 HRV 高于近期平均水平,代表身体恢复与整体状态较好。';
String get todayStressStatusExcellentDescription => '当前 HRV 高于近期平均水平,代表身体恢复与整体状态较好。';
@override
String get todayStressStatusInsufficientDataDescription =>
'当前可用数据不足,暂时无法准确判断压力状态。';
String get todayStressStatusInsufficientDataDescription => '当前可用数据不足,暂时无法准确判断压力状态。';
@override
String get todayHrvMeasurementIntro =>
'AppleWatch默认每2-5小时测量一次HRV,如果你希望立即手动进行测量,可以参考以下方法:';
String get todayHrvMeasurementIntro => 'AppleWatch默认每2-5小时测量一次HRV,如果你希望立即手动进行测量,可以参考以下方法:';
@override
String get todayHrvMeasurementStep1 => '1、戴紧AppleWatch,坐下来,保持心境平和';
... ... @@ -442,8 +426,7 @@ class AppLocalizationsZh extends AppLocalizations {
String get todayHrvMeasurementStep5 => '5、等待一分钟左右,StressWatch会收到你的数据并展示';
@override
String get todayHrvMeasurementHint =>
'提示:数据源来自AppleWatch,在测量之后可能存在延迟或是数据未能同步的情况。如若出现上述情况,请重新测量并等待数据读取。';
String get todayHrvMeasurementHint => '提示:数据源来自AppleWatch,在测量之后可能存在延迟或是数据未能同步的情况。如若出现上述情况,请重新测量并等待数据读取。';
@override
String get todayHrvMeasurementWarning => '注意:需打开健康里的权限,同时关闭省电模式。';
... ... @@ -452,12 +435,10 @@ class AppLocalizationsZh extends AppLocalizations {
String get todayStressStatusWhatTitle => '什么是综合压力状态?';
@override
String get todayStressStatusWhatDescription1 =>
'DoubleFeel 会结合你过去 30 天的 HRV(心率变异性)、静息心率以及当天的身体状态变化,综合评估你的整体压力水平。';
String get todayStressStatusWhatDescription1 => 'DoubleFeel 会结合你过去 30 天的 HRV(心率变异性)、静息心率以及当天的身体状态变化,综合评估你的整体压力水平。';
@override
String get todayStressStatusWhatDescription2 =>
'由于 HRV 会随着情绪、运动、睡眠和疲劳不断波动,单次数据参考意义有限,因此我们更建议关注一整天的综合压力状态,让结果更稳定、更有参考价值。综合压力不仅能帮助你了解自己的身体状态,也能让亲密联系人更及时地关注你的变化。';
String get todayStressStatusWhatDescription2 => '由于 HRV 会随着情绪、运动、睡眠和疲劳不断波动,单次数据参考意义有限,因此我们更建议关注一整天的综合压力状态,让结果更稳定、更有参考价值。综合压力不仅能帮助你了解自己的身体状态,也能让亲密联系人更及时地关注你的变化。';
@override
String get todayStressStatusWhyHrvTitle => '为什么要参考 HRV(心率变异性)?';
... ... @@ -478,27 +459,22 @@ class AppLocalizationsZh extends AppLocalizations {
String get todayStressStatusHrvChangesFast => '· HRV 变化较快,更适合观察短时间内的身体状态变化。';
@override
String get todayStressStatusAppWatchDifferenceTitle =>
'手机 App 与 Apple Watch 显示的压力状态有什么区别?';
String get todayStressStatusAppWatchDifferenceTitle => '手机 App 与 Apple Watch 显示的压力状态有什么区别?';
@override
String get todayStressStatusAppWatchDifferenceApp =>
'手机 App 首页显示的是当天的综合压力状态,会综合分析 HRV、静息心率与整体趋势。';
String get todayStressStatusAppWatchDifferenceApp => '手机 App 首页显示的是当天的综合压力状态,会综合分析 HRV、静息心率与整体趋势。';
@override
String get todayStressStatusAppWatchDifferenceWatch =>
'Apple Watch 显示的是最近一次的实时压力状态,更适合快速查看当前身体变化。';
String get todayStressStatusAppWatchDifferenceWatch => 'Apple Watch 显示的是最近一次的实时压力状态,更适合快速查看当前身体变化。';
@override
String get todayStressStatusWaitingDataTitle => '为什么会出现“等待数据”?';
@override
String get todayStressStatusWaitingDataDescription1 =>
'“等待数据”代表当前采集到的数据量不足,暂时无法生成可靠的压力评估。';
String get todayStressStatusWaitingDataDescription1 => '“等待数据”代表当前采集到的数据量不足,暂时无法生成可靠的压力评估。';
@override
String get todayStressStatusWaitingDataDescription2 =>
'请继续佩戴 Apple Watch,等待系统自动采集数据。';
String get todayStressStatusWaitingDataDescription2 => '请继续佩戴 Apple Watch,等待系统自动采集数据。';
@override
String get todayStressStatusWaitingDataReasonsIntro => '可能原因包括:';
... ... @@ -519,35 +495,28 @@ class AppLocalizationsZh extends AppLocalizations {
String get todayHrvPrincipleHowMeasureTitle => 'DoubleFeel 如何测量压力状态?';
@override
String get todayHrvPrincipleHowMeasureDescription1 =>
'当你正常佩戴 Apple Watch 时,系统会自动采集你的心率数据,并同步至 Apple Health。';
String get todayHrvPrincipleHowMeasureDescription1 => '当你正常佩戴 Apple Watch 时,系统会自动采集你的心率数据,并同步至 Apple Health。';
@override
String get todayHrvPrincipleHowMeasureDescription2 =>
'DoubleFeel 会基于这些数据计算 HRV(心率变异性)相关指标,用于评估你的身体压力与恢复状态。';
String get todayHrvPrincipleHowMeasureDescription2 => 'DoubleFeel 会基于这些数据计算 HRV(心率变异性)相关指标,用于评估你的身体压力与恢复状态。';
@override
String get todayHrvPrincipleHowMeasureDescription3 =>
'HRV 对压力、疲劳、睡眠、情绪与身体恢复都非常敏感,因此它能够帮助我们更早发现身体状态变化。';
String get todayHrvPrincipleHowMeasureDescription3 => 'HRV 对压力、疲劳、睡眠、情绪与身体恢复都非常敏感,因此它能够帮助我们更早发现身体状态变化。';
@override
String get todayHrvPrincipleHowMeasureDescription4 =>
'为了让结果更准确,DoubleFeel 会将你当前的 HRV 状态与过去 30 天的个人平均水平进行对比,而不是直接与其他人比较。';
String get todayHrvPrincipleHowMeasureDescription4 => '为了让结果更准确,DoubleFeel 会将你当前的 HRV 状态与过去 30 天的个人平均水平进行对比,而不是直接与其他人比较。';
@override
String get todayRealtimeStressWhatTitle => '什么是实时压力?';
@override
String get todayRealtimeStressWhatDescription1 =>
'实时压力是 DoubleFeel 根据你当前的 HRV、心率状态与个人历史数据变化,动态生成的身体压力指标。';
String get todayRealtimeStressWhatDescription1 => '实时压力是 DoubleFeel 根据你当前的 HRV、心率状态与个人历史数据变化,动态生成的身体压力指标。';
@override
String get todayRealtimeStressWhatDescription2 =>
'压力值越高,代表你的身体状态相比平时偏离越明显,可能正处于疲劳、恢复不足或高压力状态。';
String get todayRealtimeStressWhatDescription2 => '压力值越高,代表你的身体状态相比平时偏离越明显,可能正处于疲劳、恢复不足或高压力状态。';
@override
String get todayRealtimeStressWhatDescription3 =>
'它能够帮助你更快发现身体变化,并及时调整休息、运动与生活节奏。';
String get todayRealtimeStressWhatDescription3 => '它能够帮助你更快发现身体变化,并及时调整休息、运动与生活节奏。';
@override
String get todayRealtimeStressDivisionTitle => '实时压力如何划分?';
... ... @@ -577,12 +546,10 @@ class AppLocalizationsZh extends AppLocalizations {
String get todayRealtimeStressCautionDescription => '身体可能正在积累压力,需要适当休息与恢复。';
@override
String get todayRealtimeStressOverloadDescription =>
'身体压力明显偏高,建议减少负荷、注意睡眠与恢复。';
String get todayRealtimeStressOverloadDescription => '身体压力明显偏高,建议减少负荷、注意睡眠与恢复。';
@override
String get todayRealtimeStressDivisionBaseline =>
'以上区间会结合你的个人基线动态调整,不同用户之间并不直接比较。';
String get todayRealtimeStressDivisionBaseline => '以上区间会结合你的个人基线动态调整,不同用户之间并不直接比较。';
@override
String get todayRealtimeStressDivisionAwake => '此外,实时压力主要反映清醒状态下的身体压力变化。';
... ... @@ -597,31 +564,25 @@ class AppLocalizationsZh extends AppLocalizations {
String get todayRealtimeStressLowBetterType => '身体压力分为“正常压力”与“异常压力”。';
@override
String get todayRealtimeStressLowBetterExample =>
'例如:运动期间或运动后,实时压力短时间升高属于正常恢复反应;工作专注、情绪兴奋时,压力也可能暂时升高,这些都属于正常的身体调节。';
String get todayRealtimeStressLowBetterExample => '例如:运动期间或运动后,实时压力短时间升高属于正常恢复反应;工作专注、情绪兴奋时,压力也可能暂时升高,这些都属于正常的身体调节。';
@override
String get todayRealtimeStressLowBetterHighStress =>
'但如果在静息、久坐或睡眠不足的情况下,压力长期偏高,则可能意味着身体疲劳、心理压力较大、睡眠恢复不足、运动恢复不充分、摄入过多咖啡因、酒精或刺激物、身体可能处于不适状态。';
String get todayRealtimeStressLowBetterHighStress => '但如果在静息、久坐或睡眠不足的情况下,压力长期偏高,则可能意味着身体疲劳、心理压力较大、睡眠恢复不足、运动恢复不充分、摄入过多咖啡因、酒精或刺激物、身体可能处于不适状态。';
@override
String get todayRealtimeStressLowBetterTrend =>
'DoubleFeel 更关注的是你的长期变化趋势,而不是单次波动。';
String get todayRealtimeStressLowBetterTrend => 'DoubleFeel 更关注的是你的长期变化趋势,而不是单次波动。';
@override
String get todayRealtimeStressScenarioTitle => 'HRV 与实时压力适用场景?';
@override
String get todayRealtimeStressScenarioHrvDefault =>
'在 Apple Watch 的默认设置下,HRV 每 2~5 小时更新一次。';
String get todayRealtimeStressScenarioHrvDefault => '在 Apple Watch 的默认设置下,HRV 每 2~5 小时更新一次。';
@override
String get todayRealtimeStressScenarioRegionLimit =>
'在部分地区,由于 Apple Watch 的呼吸功能受限,HRV 的更新频率可能会受到影响,并且开启呼吸功能后也会消耗更多电量。';
String get todayRealtimeStressScenarioRegionLimit => '在部分地区,由于 Apple Watch 的呼吸功能受限,HRV 的更新频率可能会受到影响,并且开启呼吸功能后也会消耗更多电量。';
@override
String get todayRealtimeStressScenarioIntro =>
'为了解决 HRV 更新间隔较长的问题,DoubleFeel 设计了实时压力功能:';
String get todayRealtimeStressScenarioIntro => '为了解决 HRV 更新间隔较长的问题,DoubleFeel 设计了实时压力功能:';
@override
String get todayRealtimeStressScenarioUpdateEvery6Min => '· 实时压力每 6 分钟更新一次';
... ... @@ -630,27 +591,22 @@ class AppLocalizationsZh extends AppLocalizations {
String get todayRealtimeStressScenarioTimely => '· 可以更及时地反映身体状态变化';
@override
String get todayRealtimeStressScenarioConsistentTrend =>
'· 在大多数情况下,实时压力趋势与 HRV 趋势是一致的';
String get todayRealtimeStressScenarioConsistentTrend => '· 在大多数情况下,实时压力趋势与 HRV 趋势是一致的';
@override
String get todayRealtimeStressScenarioSummary =>
'这样用户既能获得 HRV 的长期趋势,也能通过实时压力获得短时身体状态的参考。';
String get todayRealtimeStressScenarioSummary => '这样用户既能获得 HRV 的长期趋势,也能通过实时压力获得短时身体状态的参考。';
@override
String get todayFaqNoDataTitle => 'APP或表盘有没有数据怎么办?';
@override
String get todayFaqNoDataDescription1 =>
'1. 确认苹果手表系统在10.0以上,手机系统在14以上,系统版本可在「关于本机」内查看。';
String get todayFaqNoDataDescription1 => '1. 确认苹果手表系统在10.0以上,手机系统在14以上,系统版本可在「关于本机」内查看。';
@override
String get todayFaqNoDataDescription2 =>
'2. 确认是否开启所有权限:手机「健康」-「共享」-「app」-「DoubleFeel」-「打开所有权限」。';
String get todayFaqNoDataDescription2 => '2. 确认是否开启所有权限:手机「健康」-「共享」-「app」-「DoubleFeel」-「打开所有权限」。';
@override
String get todayFaqNoDataDescription3 =>
'3. 确认设备是否处于省电模式、低电量状态或手表佩戴未贴紧,以上情况会影响手表数据采集。';
String get todayFaqNoDataDescription3 => '3. 确认设备是否处于省电模式、低电量状态或手表佩戴未贴紧,以上情况会影响手表数据采集。';
@override
String get todayFaqContactPrefix => '如以上均检查无问题,可以';
... ... @@ -665,46 +621,37 @@ class AppLocalizationsZh extends AppLocalizations {
String get todayFaqWatchNoNotificationTitle => '手表无法收到状态通知?';
@override
String get todayFaqWatchNoNotificationDescription1 =>
'苹果手表和手机的通知展示有优先级:当手机已解锁并亮屏时,通知只会在手机端展示,不会在手表上出现。';
String get todayFaqWatchNoNotificationDescription1 => '苹果手表和手机的通知展示有优先级:当手机已解锁并亮屏时,通知只会在手机端展示,不会在手表上出现。';
@override
String get todayFaqWatchNoNotificationDescription2 =>
'若压力数据可正常显示和自动更新,但手表未收到通知,可尝试以下操作:';
String get todayFaqWatchNoNotificationDescription2 => '若压力数据可正常显示和自动更新,但手表未收到通知,可尝试以下操作:';
@override
String get todayFaqWatchNoNotificationCheckPhoneNotification =>
'1. 检查手机是否打开通知(设置-DoubleFeel-通知)。';
String get todayFaqWatchNoNotificationCheckPhoneNotification => '1. 检查手机是否打开通知(设置-DoubleFeel-通知)。';
@override
String get todayFaqWatchNoNotificationCheckPhoneBackgroundRefresh =>
'2. 检查手机是否打开后台App刷新(设置-DoubleFeel-后台App刷新)。';
String get todayFaqWatchNoNotificationCheckPhoneBackgroundRefresh => '2. 检查手机是否打开后台App刷新(设置-DoubleFeel-后台App刷新)。';
@override
String get todayFaqWatchNoNotificationCheckWatchBackgroundRefresh =>
'3. 检查手表是否打开后台App刷新(设置-通用-后台App刷新,并确保DoubleFeel开启)。';
String get todayFaqWatchNoNotificationCheckWatchBackgroundRefresh => '3. 检查手表是否打开后台App刷新(设置-通用-后台App刷新,并确保DoubleFeel开启)。';
@override
String get todayFaqWatchNoNotificationCheckModes =>
'4. 确保未处于低电量/专注/勿扰/剧院/睡眠等模式。';
String get todayFaqWatchNoNotificationCheckModes => '4. 确保未处于低电量/专注/勿扰/剧院/睡眠等模式。';
@override
String get todayFaqWatchNoNotificationReinstall =>
'5. 重装DoubleFeel 并重启AppleWatch与iPhone。';
String get todayFaqWatchNoNotificationReinstall => '5. 重装DoubleFeel 并重启AppleWatch与iPhone。';
@override
String get todayFaqWatchFaceDelayTitle => '手表表盘数据不更新或有延迟?';
@override
String get todayFaqWatchFaceDelayDescription1 =>
'由于苹果系统限制,所有手表表盘(第三方或官方)都会存在几分钟至半小时的延迟,开发者无法控制刷新频率。';
String get todayFaqWatchFaceDelayDescription1 => '由于苹果系统限制,所有手表表盘(第三方或官方)都会存在几分钟至半小时的延迟,开发者无法控制刷新频率。';
@override
String get todayFaqWatchFaceDelayIfOverOneHour => '若手机数据刷新后超过1小时表盘仍未更新:';
@override
String get todayFaqWatchFaceDelayOpenWatchApp =>
'请在手表上手动打开DoubleFeel,等待约1分钟。';
String get todayFaqWatchFaceDelayOpenWatchApp => '请在手表上手动打开DoubleFeel,等待约1分钟。';
@override
String get todayFaqWatchFaceDelayIfStill => '若仍未更新:';
... ... @@ -719,27 +666,22 @@ class AppLocalizationsZh extends AppLocalizations {
String get todayFaqWatchFaceDelayCheckData => '· 手机和手表app是否可正常看到HRV数据。';
@override
String get todayFaqWatchFaceDelayCheckPhoneHealth =>
'· 确保手机端「iOS设置-隐私与安全性-健康-DoubleFeel」全部授权。';
String get todayFaqWatchFaceDelayCheckPhoneHealth => '· 确保手机端「iOS设置-隐私与安全性-健康-DoubleFeel」全部授权。';
@override
String get todayFaqWatchFaceDelayCheckWatchHealth =>
'· 确保手表端「设置-健康-数据来源、App和服务-DoubleFeel」全部授权。';
String get todayFaqWatchFaceDelayCheckWatchHealth => '· 确保手表端「设置-健康-数据来源、App和服务-DoubleFeel」全部授权。';
@override
String get todayFaqWatchFaceDelayCheckBackgroundRefresh =>
'· 确认AppleWatch-设置-通用-后台App刷新中DoubleFeel已开启。';
String get todayFaqWatchFaceDelayCheckBackgroundRefresh => '· 确认AppleWatch-设置-通用-后台App刷新中DoubleFeel已开启。';
@override
String get todayFaqWatchFaceDelayRestartWatch =>
'· 若仍未自动刷新,请重启手表。长时间运行或后台占用过高可能导致表盘暂停更新。';
String get todayFaqWatchFaceDelayRestartWatch => '· 若仍未自动刷新,请重启手表。长时间运行或后台占用过高可能导致表盘暂停更新。';
@override
String get todayFaqWatchFaceBlackScreenTitle => '手表表盘出现黑屏?';
@override
String get todayFaqWatchFaceBlackScreenDescription =>
'若添加专属互动表盘后出现黑屏(仅显示时间和日期),可长按表盘,点击「编辑」,左滑至「复杂功能」,选择 DoubleFeel,然后按需选择各组件重新添加。';
String get todayFaqWatchFaceBlackScreenDescription => '若添加专属互动表盘后出现黑屏(仅显示时间和日期),可长按表盘,点击「编辑」,左滑至「复杂功能」,选择 DoubleFeel,然后按需选择各组件重新添加。';
@override
String get today => '今天';
... ... @@ -823,8 +765,7 @@ class AppLocalizationsZh extends AppLocalizations {
String get questionsAndFeedback => '问题和反馈';
@override
String get ifYouWouldLikeUsToReplyPleaseProvideYourEmailAddress =>
'如果需要我们回复,请填写联系邮箱';
String get ifYouWouldLikeUsToReplyPleaseProvideYourEmailAddress => '如果需要我们回复,请填写联系邮箱';
@override
String get uploadProof => '上传凭证';
... ... @@ -1224,8 +1165,7 @@ class AppLocalizationsZh extends AppLocalizations {
String get sleepLowest => '最低';
@override
String get sleepQualityDescription =>
'DoubleFeel 会根据你的睡眠时长、睡眠阶段、深度睡眠与恢复状态、夜间心率与 HRV 变化等综合生成当天的睡眠质量评分。\n该评分能够帮助你更直观地了解身体恢复状态与睡眠表现。';
String get sleepQualityDescription => 'DoubleFeel 会根据你的睡眠时长、睡眠阶段、深度睡眠与恢复状态、夜间心率与 HRV 变化等综合生成当天的睡眠质量评分。\n该评分能够帮助你更直观地了解身体恢复状态与睡眠表现。';
@override
String get sleepQualityAttentionRange => '<60分';
... ... @@ -1380,8 +1320,7 @@ class AppLocalizationsZh extends AppLocalizations {
String get premiumActivatedTitle => '恭喜你已开通 DoubleFeel Pro';
@override
String get premiumActivatedDescription =>
'你现在可以实时监测压力、睡眠与 HRV,养成健康生活习惯,同时把关心分享给亲密联系人,让重要的人及时了解你的状态。';
String get premiumActivatedDescription => '你现在可以实时监测压力、睡眠与 HRV,养成健康生活习惯,同时把关心分享给亲密联系人,让重要的人及时了解你的状态。';
@override
String get premiumActivatedContinue => '继续';
... ... @@ -1482,8 +1421,7 @@ class AppLocalizationsZh extends AppLocalizations {
String get purchaseNotesTitle => '说明';
@override
String get purchaseNoteSubscription =>
'确认购买并支付后,将通过您的 iTunes 账号自动续订。苹果 iTunes 账户会在到期前24小时内扣费,扣费成功后订阅周期顺延一个订阅周期。如需取消续订,请在当前订阅周期到期前24小时以前,手动在 iTunes/Apple ID 设置管理中关闭自动续费功能。本服务由您自主选择是否取消,若您选择不取消,将为您开通下个计费周期的续费服务。\n\nDoubleFeel Pro 会员属于虚拟物品,购买后,除 App Store 渠道退款外,不支持其他形式退款。如有需要,可以点击了解更多。';
String get purchaseNoteSubscription => '确认购买并支付后,将通过您的 iTunes 账号自动续订。苹果 iTunes 账户会在到期前24小时内扣费,扣费成功后订阅周期顺延一个订阅周期。如需取消续订,请在当前订阅周期到期前24小时以前,手动在 iTunes/Apple ID 设置管理中关闭自动续费功能。本服务由您自主选择是否取消,若您选择不取消,将为您开通下个计费周期的续费服务。\n\nDoubleFeel Pro 会员属于虚拟物品,购买后,除 App Store 渠道退款外,不支持其他形式退款。如有需要,可以点击了解更多。';
@override
String get purchaseNoteRestore => '如果购买后未生效,请点击恢复购买。';
... ... @@ -1501,8 +1439,7 @@ class AppLocalizationsZh extends AppLocalizations {
String get refundAppStoreReviewTitle => '退款由 App Store 审核处理';
@override
String get refundAppStoreReviewDescription =>
'所有订阅与虚拟商品均通过 App Store 官方支付系统完成,DoubleFeel 无法直接处理付款或退款。';
String get refundAppStoreReviewDescription => '所有订阅与虚拟商品均通过 App Store 官方支付系统完成,DoubleFeel 无法直接处理付款或退款。';
@override
String get refundAppleRulesIntroduction => '根据 Apple 的平台规则:';
... ... @@ -1526,23 +1463,19 @@ class AppLocalizationsZh extends AppLocalizations {
String get refundMayBeRejectedTitle => 'App Store 可能拒绝退款申请';
@override
String get refundNoUnconditionalRefunds =>
'根据 Apple 的退款政策,App Store 并不支持所有情况下的无条件退款。';
String get refundNoUnconditionalRefunds => '根据 Apple 的退款政策,App Store 并不支持所有情况下的无条件退款。';
@override
String get refundAppleTermsDescription =>
'你在使用 App Store 时,已经同意 Apple 的相关服务条款与退款规则。https://www.apple.com/cn/legal/internet-services/itunes/';
String get refundAppleTermsDescription => '你在使用 App Store 时,已经同意 Apple 的相关服务条款与退款规则。https://www.apple.com/cn/legal/internet-services/itunes/';
@override
String get refundAppleReviewsCircumstances =>
'退款是否通过,将由 Apple 根据订单情况、账号记录与实际使用情况综合审核。';
String get refundAppleReviewsCircumstances => '退款是否通过,将由 Apple 根据订单情况、账号记录与实际使用情况综合审核。';
@override
String get refundRejectionReasonsTitle => '哪些情况下可能被拒绝退款?';
@override
String get refundRejectionReasonsIntroduction =>
'App Store 可能会根据以下情况拒绝退款申请,包括但不限于:';
String get refundRejectionReasonsIntroduction => 'App Store 可能会根据以下情况拒绝退款申请,包括但不限于:';
@override
String get refundReasonPurchaseTooOld => ' · 订单距离购买时间过久';
... ... @@ -1575,23 +1508,19 @@ class AppLocalizationsZh extends AppLocalizations {
String get refundTryAgain => '如果你的退款申请被拒绝,可以尝试再次向 App Store 提交申请。';
@override
String get refundFinalReview =>
'若再次被拒绝,则代表 App Store 已完成最终审核,我们与 Apple 客服均无法修改该结果。';
String get refundFinalReview => '若再次被拒绝,则代表 App Store 已完成最终审核,我们与 Apple 客服均无法修改该结果。';
@override
String get refundNoAlternativeChannel =>
'DoubleFeel 也无法处理任何绕过 App Store 系统的退款请求。';
String get refundNoAlternativeChannel => 'DoubleFeel 也无法处理任何绕过 App Store 系统的退款请求。';
@override
String get refundMembershipCancellation =>
'退款成功后,你的 DoubleFeel Pro 会员权益也会同步取消。';
String get refundMembershipCancellation => '退款成功后,你的 DoubleFeel Pro 会员权益也会同步取消。';
@override
String get refundHelpTitle => '如需帮助';
@override
String get refundHelpDescription =>
'如果你对退款规则存在疑问,或遇到支付异常、重复扣费、订单未到账等问题,可以联系 DoubleFeel 支持团队,我们会尽力协助你处理。';
String get refundHelpDescription => '如果你对退款规则存在疑问,或遇到支付异常、重复扣费、订单未到账等问题,可以联系 DoubleFeel 支持团队,我们会尽力协助你处理。';
@override
String get refundFaqTitle => 'DoubleFeel 常见问题';
... ... @@ -1600,8 +1529,7 @@ class AppLocalizationsZh extends AppLocalizations {
String get appReviewPromptTitle => '喜欢 DoubleFeel 吗?';
@override
String get appReviewPromptMessage =>
'嗨~想知道 DoubleFeel 是否正在帮助你\n更了解自己的压力与睡眠状态 💜';
String get appReviewPromptMessage => '嗨~想知道 DoubleFeel 是否正在帮助你\n更了解自己的压力与睡眠状态 💜';
@override
String get appReviewPromptLikeAction => '😍 很喜欢';
... ... @@ -1613,8 +1541,7 @@ class AppLocalizationsZh extends AppLocalizations {
String get appReviewFeedbackTitle => '很抱歉 DoubleFeel 没有带\n给你好的体验';
@override
String get appReviewFeedbackMessage =>
'愿意告诉我们遇到了什么问题吗?\n你的反馈可以帮助我们持续改进压力与健康体验 💜';
String get appReviewFeedbackMessage => '愿意告诉我们遇到了什么问题吗?\n你的反馈可以帮助我们持续改进压力与健康体验 💜';
@override
String get appReviewFeedbackSendAction => '发送反馈';
... ...
... ... @@ -550,6 +550,35 @@ class PlatformHostApi {
}
}
/// 跳app应用设置:通知、定位等权限
Future<bool> jumpAppSetting() async {
final String pigeonVar_channelName = 'dev.flutter.pigeon.doublefeel_flutter.PlatformHostApi.jumpAppSetting$pigeonVar_messageChannelSuffix';
final BasicMessageChannel<Object?> pigeonVar_channel = BasicMessageChannel<Object?>(
pigeonVar_channelName,
pigeonChannelCodec,
binaryMessenger: pigeonVar_binaryMessenger,
);
final Future<Object?> pigeonVar_sendFuture = pigeonVar_channel.send(null);
final List<Object?>? pigeonVar_replyList =
await pigeonVar_sendFuture as List<Object?>?;
if (pigeonVar_replyList == null) {
throw _createConnectionError(pigeonVar_channelName);
} else if (pigeonVar_replyList.length > 1) {
throw PlatformException(
code: pigeonVar_replyList[0]! as String,
message: pigeonVar_replyList[1] as String?,
details: pigeonVar_replyList[2],
);
} else if (pigeonVar_replyList[0] == null) {
throw PlatformException(
code: 'null-error',
message: 'Host platform returned null value for non-null return value.',
);
} else {
return (pigeonVar_replyList[0] as bool?)!;
}
}
/// 请求苹果登录
Future<AppleSignInModel?> requestAppleSignIn() async {
final String pigeonVar_channelName = 'dev.flutter.pigeon.doublefeel_flutter.PlatformHostApi.requestAppleSignIn$pigeonVar_messageChannelSuffix';
... ...
... ... @@ -138,6 +138,9 @@ abstract class PlatformHostApi {
@async
bool requestAppReview();
/// 跳app应用设置:通知、定位等权限
bool jumpAppSetting();
/// 请求苹果登录
@async
AppleSignInModel? requestAppleSignIn();
... ...
... ... @@ -133,10 +133,10 @@ packages:
dependency: transitive
description:
name: characters
sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803
sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
url: "https://pub.dev"
source: hosted
version: "1.4.0"
version: "1.3.0"
checked_yaml:
dependency: transitive
description:
... ... @@ -149,10 +149,10 @@ packages:
dependency: transitive
description:
name: clock
sha256: fddb70d9b5277016c77a80201021d40a2247104d9f4aa7bab7157b7e3f05b84b
sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
url: "https://pub.dev"
source: hosted
version: "1.1.2"
version: "1.1.1"
code_builder:
dependency: transitive
description:
... ... @@ -165,10 +165,10 @@ packages:
dependency: transitive
description:
name: collection
sha256: "2f5709ae4d3d59dd8f7cd309b4e023046b57d8a6c82130785d2b0e5868084e76"
sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf
url: "https://pub.dev"
source: hosted
version: "1.19.1"
version: "1.19.0"
convert:
dependency: transitive
description:
... ... @@ -237,10 +237,10 @@ packages:
dependency: transitive
description:
name: fake_async
sha256: "5368f224a74523e8d2e7399ea1638b37aecfca824a3cc4dfdf77bf1fa905ac44"
sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
url: "https://pub.dev"
source: hosted
version: "1.3.3"
version: "1.3.1"
ffi:
dependency: transitive
description:
... ... @@ -514,10 +514,10 @@ packages:
dependency: "direct main"
description:
name: intl
sha256: "3df61194eb431efc39c4ceba583b95633a403f46c9fd341e550ce0bfa50e9aa5"
sha256: d6f56758b7d3014a48af9701c085700aac781a92a87a62b1333b46d8879661cf
url: "https://pub.dev"
source: hosted
version: "0.20.2"
version: "0.19.0"
io:
dependency: transitive
description:
... ... @@ -546,26 +546,26 @@ packages:
dependency: transitive
description:
name: leak_tracker
sha256: "33e2e26bdd85a0112ec15400c8cbffea70d0f9c3407491f672a2fad47915e2de"
sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06"
url: "https://pub.dev"
source: hosted
version: "11.0.2"
version: "10.0.7"
leak_tracker_flutter_testing:
dependency: transitive
description:
name: leak_tracker_flutter_testing
sha256: "1dbc140bb5a23c75ea9c4811222756104fbcd1a27173f0c34ca01e16bea473c1"
sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379"
url: "https://pub.dev"
source: hosted
version: "3.0.10"
version: "3.0.8"
leak_tracker_testing:
dependency: transitive
description:
name: leak_tracker_testing
sha256: "8d5a2d49f4a66b49744b23b018848400d23e54caf9463f4eb20df3eb8acb2eb1"
sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
url: "https://pub.dev"
source: hosted
version: "3.0.2"
version: "3.0.1"
lints:
dependency: transitive
description:
... ... @@ -594,10 +594,10 @@ packages:
dependency: transitive
description:
name: matcher
sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2
sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
url: "https://pub.dev"
source: hosted
version: "0.12.17"
version: "0.12.16+1"
material_color_utilities:
dependency: transitive
description:
... ... @@ -610,10 +610,10 @@ packages:
dependency: transitive
description:
name: meta
sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394"
sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7
url: "https://pub.dev"
source: hosted
version: "1.17.0"
version: "1.15.0"
mime:
dependency: transitive
description:
... ... @@ -642,10 +642,10 @@ packages:
dependency: transitive
description:
name: path
sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5"
sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
url: "https://pub.dev"
source: hosted
version: "1.9.1"
version: "1.9.0"
path_provider:
dependency: "direct main"
description:
... ... @@ -829,7 +829,7 @@ packages:
dependency: transitive
description:
path: "packages/share_plus/share_plus_platform_interface"
ref: "55de300a8627c55cd45ac86e6a26bcae8e0ca4cf"
ref: "br_share_plus-v10.1.1_ohos"
resolved-ref: "55de300a8627c55cd45ac86e6a26bcae8e0ca4cf"
url: "https://gitcode.com/CPF-Flutter/flutter_plus_plugins.git"
source: git
... ... @@ -981,18 +981,18 @@ packages:
dependency: transitive
description:
name: stack_trace
sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1"
sha256: "9f47fd3630d76be3ab26f0ee06d213679aa425996925ff3feffdec504931c377"
url: "https://pub.dev"
source: hosted
version: "1.12.1"
version: "1.12.0"
stream_channel:
dependency: transitive
description:
name: stream_channel
sha256: "969e04c80b8bcdf826f8f16579c7b14d780458bd97f56d107d3950fdbeef059d"
sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
url: "https://pub.dev"
source: hosted
version: "2.1.4"
version: "2.1.2"
stream_transform:
dependency: transitive
description:
... ... @@ -1021,10 +1021,10 @@ packages:
dependency: "direct main"
description:
name: table_calendar
sha256: "0c0c6219878b363a2d5f40c7afb159d845f253d061dc3c822aa0d5fe0f721982"
sha256: b2896b7c86adf3a4d9c911d860120fe3dbe03c85db43b22fd61f14ee78cdbb63
url: "https://pub.dev"
source: hosted
version: "3.2.0"
version: "3.1.3"
term_glyph:
dependency: transitive
description:
... ... @@ -1037,10 +1037,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: ab2726c1a94d3176a45960b6234466ec367179b87dd74f1611adb1f3b5fb9d55
sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c"
url: "https://pub.dev"
source: hosted
version: "0.7.7"
version: "0.7.3"
timing:
dependency: transitive
description:
... ... @@ -1101,10 +1101,10 @@ packages:
dependency: transitive
description:
name: vector_math
sha256: d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b
sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
url: "https://pub.dev"
source: hosted
version: "2.2.0"
version: "2.1.4"
video_thumbnail:
dependency: "direct main"
description:
... ... @@ -1166,8 +1166,8 @@ packages:
dependency: transitive
description:
path: "packages/webview_flutter/webview_flutter_android"
ref: de942e79c9057b32ad31106508bd87c0d60aef83
resolved-ref: de942e79c9057b32ad31106508bd87c0d60aef83
ref: "br_webview_flutter-v4.13.0_ohos"
resolved-ref: ecd3d0b6195945ee0660c324d45f1acbc6198cc3
url: "https://gitcode.com/openharmony-tpc/flutter_packages.git"
source: git
version: "4.7.0"
... ... @@ -1175,8 +1175,8 @@ packages:
dependency: transitive
description:
path: "packages/webview_flutter/webview_flutter_ohos"
ref: de942e79c9057b32ad31106508bd87c0d60aef83
resolved-ref: de942e79c9057b32ad31106508bd87c0d60aef83
ref: "br_webview_flutter-v4.13.0_ohos"
resolved-ref: ecd3d0b6195945ee0660c324d45f1acbc6198cc3
url: "https://gitcode.com/openharmony-tpc/flutter_packages.git"
source: git
version: "4.7.0"
... ... @@ -1184,8 +1184,8 @@ packages:
dependency: transitive
description:
path: "packages/webview_flutter/webview_flutter_platform_interface"
ref: de942e79c9057b32ad31106508bd87c0d60aef83
resolved-ref: de942e79c9057b32ad31106508bd87c0d60aef83
ref: "br_webview_flutter-v4.13.0_ohos"
resolved-ref: ecd3d0b6195945ee0660c324d45f1acbc6198cc3
url: "https://gitcode.com/openharmony-tpc/flutter_packages.git"
source: git
version: "2.13.1"
... ... @@ -1193,8 +1193,8 @@ packages:
dependency: transitive
description:
path: "packages/webview_flutter/webview_flutter_wkwebview"
ref: de942e79c9057b32ad31106508bd87c0d60aef83
resolved-ref: de942e79c9057b32ad31106508bd87c0d60aef83
ref: "br_webview_flutter-v4.13.0_ohos"
resolved-ref: ecd3d0b6195945ee0660c324d45f1acbc6198cc3
url: "https://gitcode.com/openharmony-tpc/flutter_packages.git"
source: git
version: "3.22.0"
... ... @@ -1223,5 +1223,5 @@ packages:
source: hosted
version: "3.1.3"
sdks:
dart: ">=3.8.0-0 <4.0.0"
dart: ">=3.6.2 <4.0.0"
flutter: ">=3.27.0"
... ...