ntfy Android app fork for CentralCloud oncall push notifications
Find a file
Mikael Hugo b59b0f16de sms: standalone settings screen for the relay (Phase 2.1)
Adds a SmsRelaySettingsActivity that edits the four config knobs
(enabled, base URL, device ID, sender whitelist) directly against the
`sms_relay_prefs` SharedPreferences file via a PreferenceFragmentCompat.
Also shows last-forward time and 24h failure count read-only.

Standalone (its own Activity), not folded into the existing
SettingsActivity, so this lands without touching the 1000-line monolith.
Launch with adb during bring-up:

    adb shell am start -n io.heckel.ntfy/.sms.SmsRelaySettingsActivity

A future pass can link it from main_preferences.xml with
    app:fragment="io.heckel.ntfy.sms.SmsRelaySettingsActivity$Fragment"

  SmsRelayPreferences.whitelist
    Storage format moved from StringSet to a single comma-separated
    string so an EditTextPreference can edit it directly. External API
    is unchanged — getter still returns Set<String>, whitespace and
    empty entries stripped on read.

  res/xml/sms_relay_preferences.xml
    SwitchPreferenceCompat (enabled) + three EditTextPreferences
    (base_url, device_id, whitelist) + two read-only summary entries
    (last forward, failure count).

  SmsRelaySettingsActivity / Fragment
    Activity hosts the fragment; fragment loads the XML, points the
    PreferenceManager at the `sms_relay_prefs` file, and refreshes the
    read-only status entries on resume.

Manifest <activity> declaration goes with the broader pending manifest
commit alongside the SmsRelayReceiver registration.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 18:44:57 +02:00
.github/ISSUE_TEMPLATE Block new issues 2025-09-24 20:10:35 -04:00
app sms: standalone settings screen for the relay (Phase 2.1) 2026-05-11 18:44:57 +02:00
fastlane/metadata/android Bump, review; update 5->3min 2026-04-10 21:45:01 -04:00
gradle/wrapper Bump Gradle wrapper 2025-12-18 01:00:21 +01:00
.envrc sms: relay inbound SMS to centralcloud-ops (Phase 2) 2026-05-11 18:34:31 +02:00
.gitignore .gitignore update 2025-09-21 19:35:17 -04:00
build.gradle Update gradle 2026-01-16 13:45:55 -05:00
flake.nix sms: relay inbound SMS to centralcloud-ops (Phase 2) 2026-05-11 18:34:31 +02:00
gradle.properties Gradle props update 2026-01-16 14:44:48 -05:00
gradlew Bump Gradle wrapper 2025-12-18 01:00:21 +01:00
gradlew.bat Bump Gradle wrapper 2025-12-18 01:00:21 +01:00
LICENSE Initial commit based on original flower example 2021-10-25 09:01:10 -04:00
README.md Remove broken version warning for ntfy 1.17.0 2025-09-23 12:34:09 -04:00
settings.gradle Move repository definitions to settings.gradle 2025-12-18 01:12:54 +01:00
TESTING.md Testing 2021-11-29 15:36:41 -05:00

ntfy Android App

This is the Android app for ntfy (ntfy.sh). You can find the app in F-Droid or the Play Store, or as .apk files on the GitHub releases page.

If you're downloading the APKs from GitHub, they are signed with a certificate with the following SHA-256 fingerprint: 6e145d7ae685eff75468e5067e03a6c3645453343e4e181dac8b6b17ff67489d. You can also query the DNS TXT records for ntfy.sh to find this fingerprint.

Build

For up-to-date building instructions, please see the official docs.

Translations

We're using Weblate to translate the ntfy Android app. We'd love your participation.

Translation status

License

Made with ❤️ by Philipp C. Heckel, distributed under the Apache License 2.0.

Thank you to these fantastic resources: