From ccc59ccbd56cff467bcb4faaf50cf592a889428b Mon Sep 17 00:00:00 2001 From: diffwireauto <330573775+diffwireauto@users.noreply.github.com> Date: Sat, 31 Oct 2026 02:03:25 -0400 Subject: [PATCH] fix(#1048): hide the Google Play link in About on iOS App Store guideline 2.3.10 bars naming other marketplaces in an app. Other platforms keep the link. Epic #1014, Feature #200. Agent: ChartreuseBay (session 425e424d) Co-Authored-By: Claude Opus 5.5 --- lib/screens/settings/about_view.dart | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/lib/screens/settings/about_view.dart b/lib/screens/settings/about_view.dart index abef8267..be73c1be 100644 --- a/lib/screens/settings/about_view.dart +++ b/lib/screens/settings/about_view.dart @@ -4,6 +4,7 @@ import 'package:url_launcher/url_launcher.dart'; import '../../helpers/snack_bar_builder.dart'; import '../../l10n/l10n.dart'; +import '../../utils/platform_info.dart'; /// The About pane: app identity, version, outbound links and licenses. /// @@ -79,14 +80,16 @@ class _AboutViewState extends State { trailing: const Icon(Icons.open_in_new, size: 18), onTap: () => _openExternalUrl('https://offband.org'), ), - ListTile( - leading: const Icon(Icons.shop_outlined), - title: Text(l10n.settings_aboutPlayStore), - trailing: const Icon(Icons.open_in_new, size: 18), - onTap: () => _openExternalUrl( - 'https://play.google.com/store/apps/details?id=app.offband.meshcore', + // App Store guideline 2.3.10 bars naming other marketplaces (#1048). + if (!PlatformInfo.isIOS) + ListTile( + leading: const Icon(Icons.shop_outlined), + title: Text(l10n.settings_aboutPlayStore), + trailing: const Icon(Icons.open_in_new, size: 18), + onTap: () => _openExternalUrl( + 'https://play.google.com/store/apps/details?id=app.offband.meshcore', + ), ), - ), ListTile( leading: const Icon(Icons.favorite_outline), title: Text(l10n.settings_aboutDonate),