CW-1509: Add BTCMap.org to apps (#3715)
What changed, and why it matters
This commit adds a new promotional tile called "BTC Map" to the app's dashboard. Tapping it opens the website btcmap.org/apps in the phone's external browser. It also adds translated subtitle text for the new tile in many languages. There is no security vulnerability visible in the change.
No security action required. As a routine hardening check, verify that btcmap.org/apps is the intended destination and that the binary image asset does not contain embedded tracking or malicious content.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch inserts a new AppsWidget entry in CakeFeaturesPage that calls _launchUrl(“btcmap.org/apps”). The helper was changed from Uri.https(url) to Uri.parse(“https://$url”) to accommodate the /apps path. The remaining changes are localized string additions (btcmap_subtitle) across 31 ARB files and a new binary image asset. No input from untrusted sources is passed to the launcher, no new permissions are introduced, and no cryptographic or wallet-handling code is modified.
Changed components
lib/src/screens/dashboard/pages/cake_features_page.dartassets/images/btcmap.pnglocalization ARB filesInspect captured patch +40 / −2
### assets/images/btcmap.png
[binary or diff unavailable]
### lib/src/screens/dashboard/pages/cake_features_page.dart
@@ -66,7 +66,6 @@ class CakeFeaturesPage extends StatelessWidget {
);
}
-
Widget _buildNewUi(BuildContext context) {
return Column(
crossAxisAlignment: CrossAxisAlignment.start,
@@ -126,6 +125,14 @@ class CakeFeaturesPage extends StatelessWidget {
subTitle: S.of(context).nanogpt_subtitle,
image: 'assets/images/nanogpt.png',
),
+ AppsWidget(
+ isWide: true,
+ isLink: true,
+ onTap: () => _launchUrl("btcmap.org/apps"),
+ title: "BTC Map",
+ subTitle: S.of(context).btcmap_subtitle,
+ image: 'assets/images/btcmap.png',
+ ),
Observer(builder: (_) {
if (dashboardViewModel.type == WalletType.ethereum) {
return AppsWidget(
@@ -154,7 +161,7 @@ class CakeFeaturesPage extends StatelessWidget {
void _launchUrl(String url) {
try {
- launchUrl(Uri.https(url), mode: LaunchMode.externalApplication);
+ launchUrl(Uri.parse("https://$url"), mode: LaunchMode.externalApplication);
} catch (e) {
printV(e);
}
### res/values/strings_ar.arb
@@ -142,6 +142,7 @@
"bridging": "جسر العملات",
"bright_theme": "ساطع",
"bscscan_history": "سجل BSCScan",
+ "btcmap_subtitle": "ابحث عن أماكن لإنفاق الساتوشي أينما كنت",
"bump_fee": "زيادة الرسوم",
"business": "الأعمال",
"buy": "شراء",
### res/values/strings_bg.arb
@@ -142,6 +142,7 @@
"bridging": "Прехвърляне",
"bright_theme": "Светла",
"bscscan_history": "История в BSCScan",
+ "btcmap_subtitle": "Намерете места за харчене на сатошита, където и да сте",
"bump_fee": "Увеличи таксата",
"business": "Бизнес",
"buy": "Купи",
### res/values/strings_cs.arb
@@ -142,6 +142,7 @@
"bridging": "Přemostění",
"bright_theme": "Světlý",
"bscscan_history": "Historie BSCScan",
+ "btcmap_subtitle": "Najděte místa, kde můžete utratit sats, ať jste kdekoli",
"bump_fee": "Navýšit poplatek",
"business": "Podnikání",
"buy": "Koupit",
### res/values/strings_de.arb
@@ -170,6 +170,7 @@
"bridging": "Bridge-Vorgang",
"bright_theme": "Hell",
"bscscan_history": "BSCScan-Verlauf",
+ "btcmap_subtitle": "Finden Sie Orte, um Sats auszugeben, wo auch immer Sie sind",
"bump_fee": "Gebühr erhöhen",
"business": "Business",
"buy": "Kaufen",
### res/values/strings_en.arb
@@ -170,6 +170,7 @@
"bridging": "Bridging",
"bright_theme": "Bright",
"bscscan_history": "BSCScan History",
+ "btcmap_subtitle": "Find places to spend sats wherever you are",
"bump_fee": "Bump fee",
"business": "Business",
"buy": "Buy",
### res/values/strings_es.arb
@@ -142,6 +142,7 @@
"bridging": "Transfiriendo entre cadenas",
"bright_theme": "Brillante",
"bscscan_history": "Historial de BSCScan",
+ "btcmap_subtitle": "Encuentra lugares para gastar sats dondequiera que estés",
"bump_fee": "Aumentar comisión",
"business": "Empresa",
"buy": "Comprar",
### res/values/strings_fa.arb
@@ -142,6 +142,7 @@
"bridging": "در حال پلزدن",
"bright_theme": "روشن",
"bscscan_history": "تاریخچه BSCScan",
+ "btcmap_subtitle": "مکانهایی را برای خرج کردن ساتوشی در هر کجا که هستید پیدا کنید",
"bump_fee": "افزایش کارمزد",
"business": "کسبوکار",
"buy": "خرید",
### res/values/strings_fr.arb
@@ -142,6 +142,7 @@
"bridging": "Transfert inter-chaînes",
"bright_theme": "Clair",
"bscscan_history": "Historique BSCScan",
+ "btcmap_subtitle": "Trouvez des endroits où dépenser vos sats, où que vous soyez",
"bump_fee": "Augmenter les frais",
"business": "Entreprise",
"buy": "Acheter",
### res/values/strings_gn.arb
@@ -142,6 +142,7 @@
"bridging": "Bridging",
"bright_theme": "Tesakã",
"bscscan_history": "Historial de BSCScan",
+ "btcmap_subtitle": "Eheka tenda reipuru hag̃ua sats reimehápe",
"bump_fee": "Embohetave mba’erepy",
"business": "Mba'apohaguasu",
"buy": "Ejogua",
### res/values/strings_ha.arb
@@ -142,6 +142,7 @@
"bridging": "Ana gada",
"bright_theme": "Haske",
"bscscan_history": "Tarihin BSCScan",
+ "btcmap_subtitle": "Nemo wuraren kashe sats a duk inda kuke",
"bump_fee": "Ƙara kuɗin ma'amala",
"business": "Kasuwanci",
"buy": "Saya",
### res/values/strings_hi.arb
@@ -142,6 +142,7 @@
"bridging": "ब्रिजिंग",
"bright_theme": "उज्ज्वल",
"bscscan_history": "BSCScan इतिहास",
+ "btcmap_subtitle": "आप जहां भी हों, सातोशी खर्च करने के लिए स्थान ढूंढें",
"bump_fee": "फीस बढ़ाएँ",
"business": "व्यवसाय",
"buy": "खरीदें",
### res/values/strings_hr.arb
@@ -142,6 +142,7 @@
"bridging": "Premošćivanje",
"bright_theme": "Svijetla",
"bscscan_history": "Povijest BSCScan-a",
+ "btcmap_subtitle": "Pronađite mjesta za trošenje satoshija gdje god se nalazili",
"bump_fee": "Povećaj naknadu",
"business": "Poslovno",
"buy": "Kupi",
### res/values/strings_hy.arb
@@ -142,6 +142,7 @@
"bridging": "Կամրջում",
"bright_theme": "Պայծառ",
"bscscan_history": "BSCScan-ի պատմություն",
+ "btcmap_subtitle": "Գտեք սատոշի ծախսելու վայրեր, որտեղ էլ որ լինեք",
"bump_fee": "Բարձրացնել վճարը",
"business": "Բիզնես",
"buy": "Գնել",
### res/values/strings_id.arb
@@ -142,6 +142,7 @@
"bridging": "Menjembatani",
"bright_theme": "Terang",
"bscscan_history": "Riwayat BSCScan",
+ "btcmap_subtitle": "Temukan tempat untuk membelanjakan sats di mana pun Anda berada",
"bump_fee": "Naikkan biaya",
"business": "Bisnis",
"buy": "Beli",
### res/values/strings_it.arb
@@ -142,6 +142,7 @@
"bridging": "Bridging in corso",
"bright_theme": "Chiaro",
"bscscan_history": "Cronologia BSCScan",
+ "btcmap_subtitle": "Trova posti dove spendere sats ovunque tu sia",
"bump_fee": "Aumento commissione",
"business": "Business",
"buy": "Acquista",
### res/values/strings_ja.arb
@@ -142,6 +142,7 @@
"bridging": "ブリッジ中",
"bright_theme": "明るい",
"bscscan_history": "BSCScan履歴",
+ "btcmap_subtitle": "どこにいてもサトシを使える場所を見つける",
"bump_fee": "手数料を上げる",
"business": "ビジネス",
"buy": "購入",
### res/values/strings_ko.arb
@@ -142,6 +142,7 @@
"bridging": "브리징",
"bright_theme": "밝게",
"bscscan_history": "BSCScan 기록",
+ "btcmap_subtitle": "어디에 있든 사토시를 사용할 수 있는 장소를 찾아보세요",
"bump_fee": "수수료 올리기",
"business": "비즈니스",
"buy": "구매",
### res/values/strings_my.arb
@@ -142,6 +142,7 @@
"bridging": "Bridge လုပ်နေသည်",
"bright_theme": "တောက်ပ",
"bscscan_history": "BSCScan မှတ်တမ်း",
+ "btcmap_subtitle": "သင်ဘယ်နေရာမှာမဆို sats သုံးစွဲရန်နေရာများကိုရှာပါ။",
"bump_fee": "အခကြေးငွေ တိုးမြှင့်ရန်",
"business": "စီးပွားရေး",
"buy": "ဝယ်",
### res/values/strings_nl.arb
@@ -142,6 +142,7 @@
"bridging": "Bridgen",
"bright_theme": "Helder",
"bscscan_history": "BscScan-geschiedenis",
+ "btcmap_subtitle": "Vind locaties om met sats te betalen, waar je ook bent",
"bump_fee": "Vergoeding verhogen",
"business": "Bedrijf",
"buy": "Kopen",
### res/values/strings_pl.arb
@@ -142,6 +142,7 @@
"bridging": "Mostkowanie",
"bright_theme": "Jasny",
"bscscan_history": "Historia BSCScan",
+ "btcmap_subtitle": "Znajdź miejsca, w których możesz wydawać sats, gdziekolwiek jesteś",
"bump_fee": "Podbij opłatę",
"business": "Biznes",
"buy": "Kup",
### res/values/strings_pt.arb
@@ -142,6 +142,7 @@
"bridging": "A fazer bridge",
"bright_theme": "Claro",
"bscscan_history": "Histórico do BSCScan",
+ "btcmap_subtitle": "Encontre lugares para gastar sats onde quer que você esteja",
"bump_fee": "Aumentar taxa",
"business": "Negócios",
"buy": "Comprar",
### res/values/strings_pt_BR.arb
@@ -140,6 +140,7 @@
"bridging": "Realizando bridge",
"bright_theme": "Brilhante",
"bscscan_history": "Histórico do BSCScan",
+ "btcmap_subtitle": "Encontre lugares para gastar sats onde quer que você esteja",
"bump_fee": "Aumentar taxa",
"business": "Negócios",
"buy": "Comprar",
### res/values/strings_ru.arb
@@ -142,6 +142,7 @@
"bridging": "Перенос через мост",
"bright_theme": "Светлая",
"bscscan_history": "История BSCScan",
+ "btcmap_subtitle": "Найдите места, где можно потратить сатоши, где бы вы ни находились",
"bump_fee": "Увеличить комиссию",
"business": "Бизнес",
"buy": "Купить",
### res/values/strings_th.arb
@@ -142,6 +142,7 @@
"bridging": "กำลังบริดจ์",
"bright_theme": "สว่าง",
"bscscan_history": "ประวัติ BSCScan",
+ "btcmap_subtitle": "ค้นหาสถานที่ที่จะใช้ซาโตชิ ไม่ว่าคุณจะอยู่ที่ไหน",
"bump_fee": "เพิ่มค่าธรรมเนียม",
"business": "ธุรกิจ",
"buy": "ซื้อ",
### res/values/strings_tl.arb
@@ -142,6 +142,7 @@
"bridging": "Bina-bridge",
"bright_theme": "Maningning",
"bscscan_history": "Kasaysayan ng BSCScan",
+ "btcmap_subtitle": "Maghanap ng mga lugar para gumastos ng sats nasaan ka man",
"bump_fee": "Itaas ang bayarin",
"business": "Negosyo",
"buy": "Bumili",
### res/values/strings_tr.arb
@@ -142,6 +142,7 @@
"bridging": "Köprüleniyor",
"bright_theme": "Parlak",
"bscscan_history": "BSCScan Geçmişi",
+ "btcmap_subtitle": "Nerede olursanız olun satoshi harcayabileceğiniz yerleri bulun",
"bump_fee": "Ücreti artır",
"business": "İşletme",
"buy": "Satın al",
### res/values/strings_uk.arb
@@ -142,6 +142,7 @@
"bridging": "Перенесення між мережами",
"bright_theme": "Світла",
"bscscan_history": "Історія BSCScan",
+ "btcmap_subtitle": "Знаходьте місця, де можна витратити сатоші, де б ви не були",
"bump_fee": "Підвищити комісію",
"business": "Бізнес",
"buy": "Купити",
### res/values/strings_ur.arb
@@ -142,6 +142,7 @@
"bridging": "برجنگ",
"bright_theme": "روشن",
"bscscan_history": "BSCScan ہسٹری",
+ "btcmap_subtitle": "آپ جہاں کہیں بھی ہوں ساتوشی خرچ کرنے کے لیے جگہیں تلاش کریں۔",
"bump_fee": "فیس بڑھائیں",
"business": "کاروبار",
"buy": "خریدیں",
### res/values/strings_vi.arb
@@ -142,6 +142,7 @@
"bridging": "Đang bắc cầu",
"bright_theme": "Sáng",
"bscscan_history": "Lịch sử BSCScan",
+ "btcmap_subtitle": "Tìm nơi để tiêu sats dù bạn ở bất cứ đâu",
"bump_fee": "Tăng phí giao dịch",
"business": "Doanh nghiệp",
"buy": "Mua",
### res/values/strings_yo.arb
@@ -142,6 +142,7 @@
"bridging": "Ríré ìjápọ̀",
"bright_theme": "Imọlẹ",
"bscscan_history": "Ìtàn BSCScan",
+ "btcmap_subtitle": "Wa awọn aaye lati na sats nibikibi ti o ba wa",
"bump_fee": "Gbé ọya ga",
"business": "Iṣòwò",
"buy": "Ra",
### res/values/strings_zh.arb
@@ -142,6 +142,7 @@
"bridging": "跨链桥接中",
"bright_theme": "明亮",
"bscscan_history": "BSCScan 历史记录",
+ "btcmap_subtitle": "无论您身在何处,都可以找到可以使用聪的地方",
"bump_fee": "提高手续费(RBF)",
"business": "商务",
"buy": "购买",Why this scored 20/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.