ealmeida
a4a65f4214
feat(android-ui): add WhatSmsServerSettingsFragment (merged Local+Cloud)
2026-04-22 23:00:41 +00:00
ealmeida
abaaedbf30
feat(android-ui): add whatsms_server_preferences.xml (simplified cloud panel)
2026-04-22 22:59:10 +00:00
ealmeida
ea44b0d15d
chore(version): bump 10 -> 11, 3.0.0-branding -> 3.1.0-hardcode
Publish Docs / build (release) Successful in 14s
Release / Build insecure (release) Failing after 1m23s
Release / Build release (release) Failing after 2m43s
Release / release (release) Has been skipped
2026-04-22 23:10:05 +01:00
ealmeida
ed0047778d
fix(icon): remove webp duplicates (conflict com ic_launcher.png)
2026-04-22 23:07:16 +01:00
ealmeida
f289bf210c
feat(hardcode): URL + private_token do WhatSMS hardcoded em GatewaySettings
...
Remove necessidade de o utilizador colar manualmente server URL e private
token nas definições. Após instalação + toggle Cloud Server ON, a app
auto-regista no smsgw.whatsms.pt silenciosamente.
- WHATSMS_SERVER_URL constante (https://smsgw.whatsms.pt/api/mobile/v1 )
- WHATSMS_PRIVATE_TOKEN constante (a6c877b0... do GATEWAY_TOKEN do server)
- Getters serverUrl e privateToken ignoram storage, devolvem constantes
- UI Cloud Server Settings fica visual; inputs serão ignorados
Próximo: remover campos da UI + adicionar QR scanner para pairing auto.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-22 23:05:55 +01:00
ealmeida
407dc2f819
feat(icon): substitui ícone por logo WhatSMS oficial (SVG rasterizado)
...
Rasteriza frontend/public/whatsms.svg (gradient verde 1024x1024) em
PNG para 5 densidades Android (48/72/96/144/192) via inkscape. Substitui
ícone adaptativo anterior que ficava pobre.
Remove:
- mipmap-anydpi-v26/ic_launcher*.xml (adaptive icon XMLs)
- drawable/ic_launcher_foreground.xml (vector foreground deprecado)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-22 23:03:08 +01:00
ealmeida
2417c6f576
fix(manifest,version): install-blockers para Android 14+ + bump version
...
Fixes aplicados após auditoria LLM externa:
- uses-feature android.hardware.telephony: required true -> false
(permite instalação em tablets/emuladores sem chip)
- remove uses-permission MANAGE_SUBSCRIPTION_USER_ASSOCIATION
(é permissão de sistema/fabricante; Android 14+ bloqueia apps comuns)
- adiciona FOREGROUND_SERVICE_DATA_SYNC + FOREGROUND_SERVICE_CONNECTED_DEVICE
(obrigatórias para foregroundServiceType em Android 14+)
- versionCode 1 -> 10, versionName 1.0.0 -> 3.0.0-branding
(permite upgrade over v2.1 custom app com versionCode 3)
Não-fix aplicados (auditoria enganou-se):
- APK está assinado (v1 + v2 verified via apksigner)
- applicationId pt.whatsms.gateway está correcto (não é me.capcom.smsgateway)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-22 22:34:41 +01:00
ealmeida
fff1fc2ab2
fix(colors): adiciona @color/primary referenciada pelo ic_launcher adaptativo
Publish Docs / build (release) Successful in 19s
Release / Build insecure (release) Failing after 3m7s
Release / Build release (release) Failing after 2m53s
Release / release (release) Has been skipped
2026-04-22 21:49:02 +01:00
ealmeida
a2f3eb9c96
feat(branding): rebranding WhatSMS + tradução PT-PT
...
- applicationId: me.capcom.smsgateway → pt.whatsms.gateway
(namespace Java interno mantido para minimizar risco de refactor)
- app_name: SMSGate → WhatSMS Gateway
- Ícone adaptativo: vector foreground + mipmap-anydpi-v26 copiados do
whatsms-gateway v2.1 (logo WhatSMS verde)
- ic_launcher_background: #AEADAB → #25D366 (verde WhatSMS)
- values-pt-rPT/strings.xml: tradução completa (~130 strings)
Base branding + PT-PT. Ainda falta:
- Hardcode server URL smsgw.whatsms.pt (Fase 3 do fork)
- SIM selector no UI (Fase 4 do fork)
- Build signed com whatsms-release.jks
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-04-22 21:39:55 +01:00
ealmeida
71078fda14
chore: vendor capcom6/android-sms-gateway upstream (Apache-2.0 baseline fork)
2026-04-22 21:35:59 +01:00