Go to file
2022-03-16 22:41:27 -04:00
app WIP: JSON stream banner 2022-03-16 22:41:27 -04:00
assets WIP: JSON stream banner 2022-03-16 22:41:27 -04:00
fastlane/metadata/android/en-US Backup/restore settings 2022-03-14 17:10:44 -04:00
gradle/wrapper Initial commit based on original flower example 2021-10-25 09:01:10 -04:00
.gitignore Gitignore 2021-11-29 15:28:05 -05:00
build.gradle Move to SDK 31; upgrade libs 2022-01-21 14:15:53 -05:00
gradle.properties Initial commit based on original flower example 2021-10-25 09:01:10 -04:00
gradlew Initial commit based on original flower example 2021-10-25 09:01:10 -04:00
gradlew.bat Initial commit based on original flower example 2021-10-25 09:01:10 -04:00
LICENSE Initial commit based on original flower example 2021-10-25 09:01:10 -04:00
README.md Update README.md 2022-02-05 19:33:29 -05:00
settings.gradle Change name 2021-10-26 14:18:20 -04: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 releases page.

Build

Building without Firebase (F-Droid flavor)

Without Firebase, you may want to still change the default app_base_url in strings.xml if you're self-hosting the server. Then run:

# To build an unsigned .apk (app/build/outputs/apk/fdroid/*.apk)
./gradlew assembleFdroidRelease

# To build a bundle .aab (app/fdroid/release/*.aab)
./gradlew bundleFdroidRelease

Building with Firebase (FCM, Google Play flavor)

To build your own version with Firebase, you must:

  • Create a Firebase/FCM account
  • Place your account file at app/google-services.json
  • And change app_base_url in strings.xml
  • Then run:
# To build an unsigned .apk (app/build/outputs/apk/play/*.apk)
./gradlew assemblePlayRelease

# To build a bundle .aab (app/play/release/*.aab)
./gradlew bundlePlayRelease

License

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

Thank you to these fantastic resources: